Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
The geometry manager's plugin base class. More...
#include <bayeux/geomtools/manager.h>
Public Member Functions | |
base_plugin () | |
Constructor. More... | |
virtual | ~base_plugin () |
Destructor. More... | |
void | set_geo_manager (manager &geo_mgr_) |
Set the reference to the geometry manager. More... | |
const manager & | get_geo_manager () const |
Get a non-mutable reference to the geometry manager. More... | |
virtual int | initialize_standalone (const datatools::properties &config) |
Initialize the plugin using only a list of properties without the needs of other resources. More... | |
virtual int | initialize_simple (const datatools::properties &config_, const plugins_dict_type &plugins_) |
Initialize the plugin using a list of properties and a list of other plugins. More... | |
virtual int | initialize (const datatools::properties &config_, const plugins_dict_type &plugins_, const datatools::service_dict_type &services_)=0 |
Main initialization method from a list of properties, a list of other plugins and a list of services. More... | |
virtual int | reset ()=0 |
Main reset method. More... | |
virtual bool | is_initialized () const =0 |
Check if plugin is initialized. More... | |
datatools::logger::priority | get_logging_priority () const |
Get the logging priority threshold. More... | |
void | set_logging_priority (datatools::logger::priority) |
Set the logging priority threshold. More... | |
Protected Member Functions | |
void | _basic_initialize (const datatools::properties &config_) |
Basic initialization. More... | |
manager & | _grab_geo_manager () |
Get a mutable reference to the geometry manager. More... | |
bool | _has_geom_setup_requirement () const |
Check presence of geometry requirements. More... | |
void | _check_geom_setup_requirement () const |
Check geometry requirement. More... | |
Protected Attributes | |
datatools::logger::priority | _logging |
The geometry manager's plugin base class.
geomtools::manager::base_plugin::base_plugin | ( | ) |
Constructor.
|
virtual |
Destructor.
|
protected |
Basic initialization.
|
protected |
Check geometry requirement.
|
protected |
Get a mutable reference to the geometry manager.
|
protected |
Check presence of geometry requirements.
const manager& geomtools::manager::base_plugin::get_geo_manager | ( | ) | const |
Get a non-mutable reference to the geometry manager.
datatools::logger::priority geomtools::manager::base_plugin::get_logging_priority | ( | ) | const |
Get the logging priority threshold.
|
pure virtual |
Main initialization method from a list of properties, a list of other plugins and a list of services.
Implemented in geomtools::materials_plugin, emfield::emfield_geom_plugin, and geomtools::mapping_plugin.
|
virtual |
Initialize the plugin using a list of properties and a list of other plugins.
|
virtual |
Initialize the plugin using only a list of properties without the needs of other resources.
|
pure virtual |
Check if plugin is initialized.
Implemented in geomtools::materials_plugin, emfield::emfield_geom_plugin, and geomtools::mapping_plugin.
|
pure virtual |
Main reset method.
Implemented in geomtools::materials_plugin, emfield::emfield_geom_plugin, and geomtools::mapping_plugin.
void geomtools::manager::base_plugin::set_geo_manager | ( | manager & | geo_mgr_ | ) |
Set the reference to the geometry manager.
void geomtools::manager::base_plugin::set_logging_priority | ( | datatools::logger::priority | ) |
Set the logging priority threshold.
|
protected |