IMP  2.1.1
The Integrative Modeling Platform
monte_carlo_macros.h
Go to the documentation of this file.
1 /**
2  * \file IMP/core/monte_carlo_macros.h \brief Various important macros
3  * for implementing decorators.
4  *
5  * Copyright 2007-2013 IMP Inventors. All rights reserved.
6  *
7  */
8 
9 #ifndef IMPCORE_MONTE_CARLO_MACROS_H
10 #define IMPCORE_MONTE_CARLO_MACROS_H
11 
13 #include <IMP/base/object_macros.h>
14 
15 /** You should just declare the needed functions yourself.
16  */
17 #define IMP_MONTE_CARLO(Name) \
18  IMP_DEPRECATED_MACRO(2.0, "Define do_step yourself") \
19  IMP_IMPLEMENT(virtual void do_step()); \
20  IMP_OBJECT_NO_WARNING(Name)
21 
22 #endif /* IMPCORE_MONTE_CARLO_MACROS_H */
Various general useful macros for IMP.
Various general useful macros for IMP.