Falaise  4.0.1
SuperNEMO Software Toolkit
Public Member Functions | Static Public Member Functions | List of all members
falaise::detail::falaise_sys Class Reference

Falaise system singleton. More...

#include <falaise/detail/falaise_sys.h>

Inheritance diagram for falaise::detail::falaise_sys:

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_managergrab_services ()
 Return a mutable reference to the embedded service manager. More...
 
const datatools::service_managerget_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_sysinstance ()
 Return a mutable reference to the Falaise system singleton instance. More...
 
static const falaise_sysconst_instance ()
 Return a non-mutable reference to the Falaise system singleton instance. More...
 
static falaise_sysinstantiate ()
 Instantiate the Falaise system singleton. More...
 

Detailed Description

Falaise system singleton.

Constructor & Destructor Documentation

◆ falaise_sys()

falaise::detail::falaise_sys::falaise_sys ( )

Default constructor.

◆ ~falaise_sys()

virtual falaise::detail::falaise_sys::~falaise_sys ( )
virtual

Destructor.

Member Function Documentation

◆ const_instance()

static const falaise_sys& falaise::detail::falaise_sys::const_instance ( )
static

Return a non-mutable reference to the Falaise system singleton instance.

◆ fl_resource_resolver_name()

static const std::string& falaise::detail::falaise_sys::fl_resource_resolver_name ( )
static

Return the name of the Falaise library URN to resource path resolver service.

◆ fl_setup_db_name()

static const std::string& falaise::detail::falaise_sys::fl_setup_db_name ( )
static

Return the name of the Falaise library URN database service for supported setups (geometry, simulation...)

◆ get_logging()

datatools::logger::priority falaise::detail::falaise_sys::get_logging ( ) const

Return the logging priority.

◆ get_services()

const datatools::service_manager& falaise::detail::falaise_sys::get_services ( ) const

Return a non mutable reference to the embedded service manager.

◆ grab_services()

datatools::service_manager& falaise::detail::falaise_sys::grab_services ( )

Return a mutable reference to the embedded service manager.

◆ initialize()

void falaise::detail::falaise_sys::initialize ( )

Initialize.

◆ instance()

static falaise_sys& falaise::detail::falaise_sys::instance ( )
static

Return a mutable reference to the Falaise system singleton instance.

◆ instantiate()

static falaise_sys& falaise::detail::falaise_sys::instantiate ( )
static

Instantiate the Falaise system singleton.

◆ is_initialized()

bool falaise::detail::falaise_sys::is_initialized ( ) const

Check initialization flag.

◆ is_instantiated()

static bool falaise::detail::falaise_sys::is_instantiated ( )
static

Check if the Falaise system singleton is instantiated.

◆ process_logging_env()

static datatools::logger::priority falaise::detail::falaise_sys::process_logging_env ( )
static

Extract the verbosity from the FALAISE_SYS_LOGGING environment variable (if any)

◆ shutdown()

void falaise::detail::falaise_sys::shutdown ( )

Shutdown.


The documentation for this class was generated from the following file: