/** * \file IMP/core/mover_macros.h \brief Backwards compatibility. * * Copyright 2007-2013 IMP Inventors. All rights reserved. * */ #ifndef IMPCORE_MOVER_MACROS_H #define IMPCORE_MOVER_MACROS_H #include #include "Mover.h" #if defined(IMP_DOXYGEN) || IMP_HAS_DEPRECATED /** Helper macro for implementing IMP::core::Mover. In addition to the IMP_OBJECT methods, it declares - IMP::core::Mover::propose_move() - IMP::core::Mover::reset_move() */ #define IMP_MOVER(Name) \ IMP_PRAGMA(message("You should move to IMP::core::MonteCarloMover")) \ IMP_IMPLEMENT(virtual ParticlesTemp propose_move(Float size)); \ IMP_IMPLEMENT(virtual void reset_move()); \ IMP_IMPLEMENT(virtual ParticlesTemp get_output_particles() const); \ IMP_OBJECT(Name) #endif #endif /* IMPCORE_MOVER_MACROS_H */