Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
plugin.hpp File Reference
#include <boost/program_options.hpp>
#include <boost/preprocessor/seq/for_each.hpp>
#include <string>
#include <vector>
#include <map>
Include dependency graph for plugin.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  appbase::abstract_plugin
 

Namespaces

namespace  appbase
 

Macros

#define APPBASE_PLUGIN_REQUIRES_VISIT(r, visitor, elem)
 
#define APPBASE_PLUGIN_REQUIRES(PLUGINS)
 

Functions

applicationappbase::app ()
 

Macro Definition Documentation

◆ APPBASE_PLUGIN_REQUIRES

#define APPBASE_PLUGIN_REQUIRES ( PLUGINS)
Value:
template<typename Lambda> \
void plugin_requires( Lambda&& l ) { \
BOOST_PP_SEQ_FOR_EACH( APPBASE_PLUGIN_REQUIRES_VISIT, l, PLUGINS ) \
}
#define APPBASE_PLUGIN_REQUIRES_VISIT(r, visitor, elem)
Definition plugin.hpp:8
int l

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:
visitor( appbase::app().register_plugin<elem>() );
application & app()

Definition at line 8 of file plugin.hpp.

8#define APPBASE_PLUGIN_REQUIRES_VISIT( r, visitor, elem ) \
9 visitor( appbase::app().register_plugin<elem>() );