Bayeux  3.4.1
Core Foundation library for SuperNEMO
Macros
manager_macros.h File Reference

Go to the source code of this file.

Macros

#define GEOMTOOLS_PLUGIN_CLASS_DECLARE(T)   class T : public ::geomtools::manager::base_plugin \
 
#define GEOMTOOLS_PLUGIN_CONSTRUCTOR_DECLARE(T)
 
#define GEOMTOOLS_PLUGIN_CONSTRUCTOR_IMPLEMENT_HEAD(T)   T::T() : ::geomtools::manager::base_plugin() \
 
#define GEOMTOOLS_PLUGIN_DESTRUCTOR_DECLARE(T)   virtual ~T(); \
 
#define GEOMTOOLS_PLUGIN_DESTRUCTOR_IMPLEMENT(T)
 
#define GEOMTOOLS_PLUGIN_IS_INITIALIZED_DECLARE()
 
#define GEOMTOOLS_PLUGIN_IS_INITIALIZED_IMPLEMENT_HEAD(T)   bool T::is_initialized() const \
 
#define GEOMTOOLS_PLUGIN_INITIALIZE_DECLARE()
 
#define GEOMTOOLS_PLUGIN_INITIALIZE_IMPLEMENT_HEAD(T, CONF, PLUGINS, SERVICES)
 
#define GEOMTOOLS_PLUGIN_RESET_DECLARE()
 
#define GEOMTOOLS_PLUGIN_RESET_IMPLEMENT_HEAD(T)   int T::reset() \
 
#define GEOMTOOLS_PLUGIN_INTERFACE(PLUGIN_CLASS_NAME)
 
#define GEOMTOOLS_PLUGIN_REGISTRATION_INTERFACE(PLUGIN_CLASS_NAME)
 
#define GEOMTOOLS_PLUGIN_REGISTRATION_IMPLEMENT(PLUGIN_CLASS_NAME, PLUGIN_ID)   DATATOOLS_FACTORY_SYSTEM_AUTO_REGISTRATION_IMPLEMENTATION (::geomtools::manager::base_plugin,PLUGIN_CLASS_NAME,PLUGIN_ID) \
 

Macro Definition Documentation

◆ GEOMTOOLS_PLUGIN_CLASS_DECLARE

#define GEOMTOOLS_PLUGIN_CLASS_DECLARE (   T)    class T : public ::geomtools::manager::base_plugin \

◆ GEOMTOOLS_PLUGIN_CONSTRUCTOR_DECLARE

#define GEOMTOOLS_PLUGIN_CONSTRUCTOR_DECLARE (   T)
Value:
public: \
T(); \

◆ GEOMTOOLS_PLUGIN_CONSTRUCTOR_IMPLEMENT_HEAD

#define GEOMTOOLS_PLUGIN_CONSTRUCTOR_IMPLEMENT_HEAD (   T)    T::T() : ::geomtools::manager::base_plugin() \

◆ GEOMTOOLS_PLUGIN_DESTRUCTOR_DECLARE

#define GEOMTOOLS_PLUGIN_DESTRUCTOR_DECLARE (   T)    virtual ~T(); \

◆ GEOMTOOLS_PLUGIN_DESTRUCTOR_IMPLEMENT

#define GEOMTOOLS_PLUGIN_DESTRUCTOR_IMPLEMENT (   T)
Value:
T::~T() { \
if (this->is_initialized()) this->reset(); \
} \
void reset(pg_entry_type &entry_)
bool is_initialized()
Check if Bayeux library core functionnalities are initialized.

◆ GEOMTOOLS_PLUGIN_INITIALIZE_DECLARE

#define GEOMTOOLS_PLUGIN_INITIALIZE_DECLARE ( )
Value:
public: \
int initialize(const ::datatools::properties&, \
void initialize(int argc_=0, char *argv_[]=nullptr, uint32_t flags_=0)
Initialize the Bayeux library core functionnalities.
std::map< std::string, service_entry_ptr > service_dict_type
Type alias for a flat dictionary of service entries.
Definition: service_tools.h:196
std::map< std::string, plugin_entry > plugins_dict_type
Dictionary of plugin entries.
Definition: manager.h:75

◆ GEOMTOOLS_PLUGIN_INITIALIZE_IMPLEMENT_HEAD

#define GEOMTOOLS_PLUGIN_INITIALIZE_IMPLEMENT_HEAD (   T,
  CONF,
  PLUGINS,
  SERVICES 
)
Value:
int T::initialize(const ::datatools::properties & CONF, \
void initialize(int argc_=0, char *argv_[]=nullptr, uint32_t flags_=0)
Initialize the Bayeux library core functionnalities.
std::map< std::string, service_entry_ptr > service_dict_type
Type alias for a flat dictionary of service entries.
Definition: service_tools.h:196
std::map< std::string, plugin_entry > plugins_dict_type
Dictionary of plugin entries.
Definition: manager.h:75

◆ GEOMTOOLS_PLUGIN_INTERFACE

#define GEOMTOOLS_PLUGIN_INTERFACE (   PLUGIN_CLASS_NAME)
Value:
\
public: \
\
#define GEOMTOOLS_PLUGIN_DESTRUCTOR_DECLARE(T)
Definition: manager_macros.h:26
#define GEOMTOOLS_PLUGIN_IS_INITIALIZED_DECLARE()
Definition: manager_macros.h:38
#define GEOMTOOLS_PLUGIN_INITIALIZE_DECLARE()
Definition: manager_macros.h:49
#define GEOMTOOLS_PLUGIN_CONSTRUCTOR_DECLARE(T)
Definition: manager_macros.h:15
#define GEOMTOOLS_PLUGIN_RESET_DECLARE()
Definition: manager_macros.h:63

◆ GEOMTOOLS_PLUGIN_IS_INITIALIZED_DECLARE

#define GEOMTOOLS_PLUGIN_IS_INITIALIZED_DECLARE ( )
Value:
public: \
bool is_initialized() const; \
bool is_initialized()
Check if Bayeux library core functionnalities are initialized.

◆ GEOMTOOLS_PLUGIN_IS_INITIALIZED_IMPLEMENT_HEAD

#define GEOMTOOLS_PLUGIN_IS_INITIALIZED_IMPLEMENT_HEAD (   T)    bool T::is_initialized() const \

◆ GEOMTOOLS_PLUGIN_REGISTRATION_IMPLEMENT

#define GEOMTOOLS_PLUGIN_REGISTRATION_IMPLEMENT (   PLUGIN_CLASS_NAME,
  PLUGIN_ID 
)    DATATOOLS_FACTORY_SYSTEM_AUTO_REGISTRATION_IMPLEMENTATION (::geomtools::manager::base_plugin,PLUGIN_CLASS_NAME,PLUGIN_ID) \

◆ GEOMTOOLS_PLUGIN_REGISTRATION_INTERFACE

#define GEOMTOOLS_PLUGIN_REGISTRATION_INTERFACE (   PLUGIN_CLASS_NAME)
Value:
private: \
DATATOOLS_FACTORY_SYSTEM_AUTO_REGISTRATION_INTERFACE(::geomtools::manager::base_plugin,PLUGIN_CLASS_NAME) \
The geometry manager's plugin base class.
Definition: manager.h:81

◆ GEOMTOOLS_PLUGIN_RESET_DECLARE

#define GEOMTOOLS_PLUGIN_RESET_DECLARE ( )
Value:
public: \
int reset(); \
void reset(pg_entry_type &entry_)

◆ GEOMTOOLS_PLUGIN_RESET_IMPLEMENT_HEAD

#define GEOMTOOLS_PLUGIN_RESET_IMPLEMENT_HEAD (   T)    int T::reset() \