IMP  2.1.0
The Integrative Modeling Platform
kernel/sampler_macros.h
Go to the documentation of this file.
1 /**
2  * \file IMP/kernel/sampler_macros.h
3  * \brief Various general useful macros for IMP.
4  *
5  * Copyright 2007-2013 IMP Inventors. All rights reserved.
6  *
7  */
8 
9 #ifndef IMPKERNEL_SAMPLER_MACROS_H
10 #define IMPKERNEL_SAMPLER_MACROS_H
11 #include <IMP/kernel/kernel_config.h>
13 #include <IMP/base/object_macros.h>
14 #include "Sampler.h"
15 
16 /** \deprecated_at{2.1} Declare the needed methods directly.
17 */
18 #define IMP_SAMPLER(Name) \
19  IMPKERNEL_DEPRECATED_MACRO(2.1, "Declare the needed functions directly."); \
20  IMP_OBJECT_NO_WARNING(Name); \
21  \
22  protected: \
23  IMP_IMPLEMENT(ConfigurationSet* do_sample() const)
24 
25 #endif /* IMPKERNEL_SAMPLER_MACROS_H */
Various general useful macros for IMP.
Base class for all samplers.
Various general useful macros for IMP.