Falaise
4.0.1
SuperNEMO Software Toolkit
|
Falaise system singleton. More...
#include <falaise/detail/falaise_sys.h>
Public Member Functions | |
falaise_sys () | |
Default constructor. More... | |
virtual | ~falaise_sys () |
Destructor. More... | |
datatools::logger::priority | get_logging () const |
Return the logging priority. More... | |
bool | is_initialized () const |
Check initialization flag. More... | |
void | initialize () |
Initialize. More... | |
void | shutdown () |
Shutdown. More... | |
datatools::service_manager & | grab_services () |
Return a mutable reference to the embedded service manager. More... | |
const datatools::service_manager & | get_services () const |
Return a non mutable reference to the embedded service manager. More... | |
Static Public Member Functions | |
static const std::string & | fl_setup_db_name () |
static const std::string & | fl_resource_resolver_name () |
Return the name of the Falaise library URN to resource path resolver service. More... | |
static datatools::logger::priority | process_logging_env () |
Extract the verbosity from the FALAISE_SYS_LOGGING environment variable (if any) More... | |
static bool | is_instantiated () |
Check if the Falaise system singleton is instantiated. More... | |
static falaise_sys & | instance () |
Return a mutable reference to the Falaise system singleton instance. More... | |
static const falaise_sys & | const_instance () |
Return a non-mutable reference to the Falaise system singleton instance. More... | |
static falaise_sys & | instantiate () |
Instantiate the Falaise system singleton. More... | |
Falaise system singleton.
falaise::detail::falaise_sys::falaise_sys | ( | ) |
Default constructor.
|
virtual |
Destructor.
|
static |
Return a non-mutable reference to the Falaise system singleton instance.
|
static |
Return the name of the Falaise library URN to resource path resolver service.
|
static |
Return the name of the Falaise library URN database service for supported setups (geometry, simulation...)
datatools::logger::priority falaise::detail::falaise_sys::get_logging | ( | ) | const |
Return the logging priority.
const datatools::service_manager& falaise::detail::falaise_sys::get_services | ( | ) | const |
Return a non mutable reference to the embedded service manager.
datatools::service_manager& falaise::detail::falaise_sys::grab_services | ( | ) |
Return a mutable reference to the embedded service manager.
void falaise::detail::falaise_sys::initialize | ( | ) |
Initialize.
|
static |
Return a mutable reference to the Falaise system singleton instance.
|
static |
Instantiate the Falaise system singleton.
bool falaise::detail::falaise_sys::is_initialized | ( | ) | const |
Check initialization flag.
|
static |
Check if the Falaise system singleton is instantiated.
|
static |
Extract the verbosity from the FALAISE_SYS_LOGGING environment variable (if any)
void falaise::detail::falaise_sys::shutdown | ( | ) |
Shutdown.