IMP
2.0.1
The Integrative Modeling Platform
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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>
12
#include <
IMP/base/doxygen_macros.h
>
13
#include <
IMP/base/object_macros.h
>
14
#include "
Sampler.h
"
15
16
17
//! Define the basic things you need for a Sampler.
18
/** In addition to the methods done by IMP_OBJECT, it declares
19
- IMP::Sampler::do_sample()
20
21
\relatesalso IMP::Sampler
22
*/
23
#define IMP_SAMPLER(Name) \
24
IMP_OBJECT(Name); \
25
protected: \
26
IMP_IMPLEMENT(ConfigurationSet* do_sample() const)
27
28
29
#endif
/* IMPKERNEL_SAMPLER_MACROS_H */