Falaise  4.0.1
SuperNEMO Software Toolkit
List of all members
snemo::geometry_svc Class Reference

Locate, track, and trace elements of the SuperNEMO detector geometry. More...

#include <falaise/snemo/services/geometry.h>

Inheritance diagram for snemo::geometry_svc:
geomtools::manager datatools::i_tree_dumpable

Additional Inherited Members

- Public Types inherited from geomtools::manager
typedef std::map< std::string, plugin_entryplugins_dict_type
 
typedef datatools::handle< base_plugin > plugin_handle_type
 
- Public Types inherited from datatools::i_tree_dumpable
enum  ostream_type
 
- Public Member Functions inherited from geomtools::manager
bool is_debug () const
 
bool is_verbose () const
 
bool is_initialized () const
 
bool has_services () const
 
void set_services (datatools::service_dict_type &services_)
 
void reset_services ()
 
void set_setup_label (const std::string &)
 
const std::string & get_setup_label () const
 
void set_setup_version (const std::string &)
 
const std::string & get_setup_version () const
 
void set_setup_description (const std::string &)
 
const std::string & get_setup_description () const
 
void fetch_setup_version_id (datatools::version_id &vid_) const
 
void set_mapping_requested (bool)
 
bool is_mapping_requested () const
 
bool is_mapping_available () const
 
void set_world_name (const std::string &)
 
const std::string & get_world_name () const
 
void build_mapping (const datatools::properties &config_)
 
const geomtools::shape_factoryget_shape_factory () const
 
geomtools::shape_factorygrab_shape_factory ()
 
const geomtools::model_factoryget_factory () const
 
geomtools::model_factorygrab_factory ()
 
const geomtools::id_mgrget_id_mgr () const
 
geomtools::id_mgrgrab_id_mgr ()
 
const geomtools::mappingget_mapping (const std::string &mapping_name_="") const
 
bool can_drop_plugin (const std::string &plugin_name_)
 
void drop_plugin (const std::string &plugin_name_)
 
void load_plugin (const std::string &plugin_name_, const std::string &plugin_id_, const datatools::properties &plugin_config_, bool only_lock_=false)
 
void load_plugins (const datatools::multi_properties &plugin_config_, bool only_lock_=false)
 
const plugins_dict_typeget_plugins () const
 
plugins_dict_typegrab_plugins ()
 
bool is_plugin_a (const std::string &a_plugin_name) const
 
T & grab_plugin (const std::string &a_plugin_name)
 
const T & get_plugin (const std::string &a_plugin_name) const
 
bool has_plugin (const std::string &a_plugin_name) const
 
void print_plugins (std::ostream &out=std::clog, const std::string &title="", const std::string &indent="") const
 
void clear_plugins ()
 
bool has_plugin_type (const std::string &plugin_id) const
 
void register_plugin_type (const std::string &plugin_id)
 
void unregister_plugin_type (const std::string &plugin_id)
 
 manager ()
 
virtual ~manager ()
 
void init (const datatools::properties &config_)
 
void initialize (const datatools::properties &config_)
 
void reset ()
 
virtual void tree_dump (std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const
 
const base_plugin::factory_register_type & get_plugins_factory_register ()
 
void set_logging_priority (datatools::logger::priority a_logging_priority)
 
datatools::logger::priority get_logging_priority () const
 
- Public Member Functions inherited from datatools::i_tree_dumpable
 i_tree_dumpable ()
 
virtual ~i_tree_dumpable ()
 
virtual void print_tree (std::ostream &out_=std::clog, const boost::property_tree::ptree &options_=empty_options()) const
 
void print_tree_json (std::ostream &out_=std::clog, const std::string &json_options_="") const
 
void print_tree_json (std::ostream &out_=std::clog, const char *json_options_=nullptr) const
 
void tree_dump_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="", const bool inherit_=false) const
 
void tree_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="") const
 
void smart_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="") const
 
- Static Public Member Functions inherited from geomtools::manager
static int print_list_of_gids (const geomtools::manager &mgr_, const std::string &command_, const std::string &rules_="", std::ostream &out_=std::clog)
 
- Static Public Member Functions inherited from datatools::i_tree_dumpable
static const boost::property_tree::ptree & empty_options ()
 
static boost::property_tree::ptree make_base_print_options (const std::string &title_, const std::string &indent_="", const bool inherit_=false)
 
static std::ostream & last_skip_tag (std::ostream &out_)
 
static std::ostream & skip_tag (std::ostream &out_)
 
static std::ostream & last_tag (std::ostream &out_)
 
static std::ostream & tag (std::ostream &out_)
 
- Public Attributes inherited from datatools::i_tree_dumpable
 OSTREAM_COUT
 
 OSTREAM_CERR
 
 OSTREAM_CLOG
 
- Protected Member Functions inherited from geomtools::manager
virtual void _pre_init (const datatools::properties &config_)
 
virtual void _post_init (const datatools::properties &config_)
 
void _load_plugin (const std::string &name, const std::string &id, const datatools::properties &config)
 
void _preload_plugins_global_dict ()
 
void _create_plugin (plugin_entry &entry)
 
void _initialize_plugin (plugin_entry &entry)
 
void _reset_plugin (plugin_entry &entry)
 
- Protected Attributes inherited from geomtools::manager
datatools::logger::priority _logging
 

Detailed Description

Locate, track, and trace elements of the SuperNEMO detector geometry.

It provides an implementation of the const parts of the geomtools::manager interface, and you should consult documentation for that class for full details.

The class should only be created through obtaining a snemo::service_handle using a datatools::service_manager, e.g.

Direct construction is not supported and cannot be guaranteed to work.

See also
geomtools::manager

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