IMP  2.1.1
The Integrative Modeling Platform
mover_macros.h
Go to the documentation of this file.
1 /**
2  * \file IMP/core/mover_macros.h \brief Backwards compatibility.
3  *
4  * Copyright 2007-2013 IMP Inventors. All rights reserved.
5  *
6  */
7 
8 #ifndef IMPCORE_MOVER_MACROS_H
9 #define IMPCORE_MOVER_MACROS_H
10 
12 #include <IMP/core/core_config.h>
13 #include "Mover.h"
14 
15 IMPCORE_DEPRECATED_HEADER(2.1, "Use MonteCarloMover")
16 
17 /** \deprecated_at{2.1} Use IMP::core::MonteCarloMover
18  */
19 #define IMP_MOVER(Name) \
20  IMP_DEPRECATED_MACRO(2.1, "You should move to IMP::core::MonteCarloMover") \
21  IMP_IMPLEMENT(virtual kernel::ParticlesTemp propose_move(Float size)); \
22  IMP_IMPLEMENT(virtual void reset_move()); \
23  IMP_IMPLEMENT(virtual kernel::ParticlesTemp get_output_particles() const); \
24  IMP_OBJECT_NO_WARNING(Name)
25 
26 #endif /* IMPCORE_MOVER_MACROS_H */
Backwards compatibility.
Control display of deprecation information.