IMP  2.0.0
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_PRAGMA(message("Do not use this macro")) \
19  IMP_IMPLEMENT(virtual void do_step()); \
20  IMP_OBJECT(Name)
21 
22 
23 #endif /* IMPCORE_MONTE_CARLO_MACROS_H */