#include <boost/program_options.hpp>
#include <boost/preprocessor/seq/for_each.hpp>
#include <string>
#include <vector>
#include <map>
Go to the source code of this file.
◆ APPBASE_PLUGIN_REQUIRES
#define APPBASE_PLUGIN_REQUIRES |
( |
| PLUGINS | ) |
|
Value: template<typename Lambda> \
void plugin_requires( Lambda&&
l ) { \
}
#define APPBASE_PLUGIN_REQUIRES_VISIT(r, visitor, elem)
Definition at line 11 of file plugin.hpp.
11#define APPBASE_PLUGIN_REQUIRES( PLUGINS ) \
12 template<typename Lambda> \
13 void plugin_requires( Lambda&& l ) { \
14 BOOST_PP_SEQ_FOR_EACH( APPBASE_PLUGIN_REQUIRES_VISIT, l, PLUGINS ) \
15 }
◆ APPBASE_PLUGIN_REQUIRES_VISIT
#define APPBASE_PLUGIN_REQUIRES_VISIT |
( |
| r, |
|
|
| visitor, |
|
|
| elem ) |
Value:
Definition at line 8 of file plugin.hpp.
8#define APPBASE_PLUGIN_REQUIRES_VISIT( r, visitor, elem ) \
9 visitor( appbase::app().register_plugin<elem>() );