|
| | base_service () |
| | Default constructor. More...
|
| |
| | base_service (const std::string &name_, const std::string &display_name_="", const std::string &description_="", logger::priority lp_=logger::PRIO_FATAL) |
| | Constructor. More...
|
| |
| virtual | ~base_service () |
| | Destructor. More...
|
| |
| virtual void | fetch_dependencies (service_dependency_dict_type &) const |
| | Undocumented unused/unimplemented method. More...
|
| |
| virtual int | initialize_simple () |
| | Initialize the service without a list of properties nor other services. More...
|
| |
| virtual int | initialize_standalone (const datatools::properties &config_) |
| | Initialize the service using only a list of properties without the needs of other services. More...
|
| |
| virtual int | initialize_with_services (service_dict_type &service_dict_) |
| | Initialize the service using with access to a dictionary of other services. More...
|
| |
| virtual int | initialize (const datatools::properties &config_, service_dict_type &service_dict_)=0 |
| | Initialize the service using a list of properties with access to a dictionary of other services. More...
|
| |
| virtual int | reset ()=0 |
| | Reset the service. More...
|
| |
| virtual bool | is_initialized () const =0 |
| | Check if service is initialized. More...
|
| |
| virtual std::string | service_class_id () const =0 |
| | Return the service class. More...
|
| |
| void | print_tree (std::ostream &out_=std::clog, const boost::property_tree::ptree &options_=empty_options()) const override |
| | Smart print. More...
|
| |
| void | tree_dump (std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const override |
| |
| virtual bool | is_name_valid (const std::string &name_) const |
| | Check if a name is valid. More...
|
| |
| | enriched_base () |
| | Default constructor. More...
|
| |
| | enriched_base (const std::string &name_, const std::string &display_name_="", const std::string &terse_description_="", logger::priority lp_=logger::PRIO_FATAL) |
| | Constructor. More...
|
| |
| virtual | ~enriched_base () |
| | Destructor. More...
|
| |
| bool | has_name () const |
| | Check if the name is not empty. More...
|
| |
| void | set_name (const std::string &name_) |
| | Set the name. More...
|
| |
| enriched_base & | set_name_c (const std::string &name_) |
| | Set the name. More...
|
| |
| const std::string & | get_name () const |
| | Return the name. More...
|
| |
| void | reset_name () |
| | Reset the name. More...
|
| |
| bool | has_display_name () const |
| | Check if the display name is empty. More...
|
| |
| void | set_display_name (const std::string &display_name_) |
| | Set the display name. More...
|
| |
| enriched_base & | set_display_name_c (const std::string &display_name_) |
| | Set the display name. More...
|
| |
| const std::string & | get_display_name () const |
| | Return the display name. More...
|
| |
| bool | has_terse_description () const |
| | Check if the description is empty. More...
|
| |
| void | set_terse_description (const std::string &terse_description_) |
| | Set the description. More...
|
| |
| enriched_base & | set_terse_description_c (const std::string &terse_description_) |
| | Set the description. More...
|
| |
| const std::string & | get_terse_description () const |
| | Return the description. More...
|
| |
| bool | has_auxiliaries () const |
| | Check if the container of auxiliary properties is empty. More...
|
| |
| const datatools::properties & | get_auxiliaries () const |
| | Return a reference to the non mutable container of auxiliary properties. More...
|
| |
| datatools::properties & | grab_auxiliaries () |
| | Return a reference to the mutable container of auxiliary properties. More...
|
| |
| void | reset_auxiliaries () |
| | Remove all auxiliary properties. More...
|
| |
| bool | is_debug () const |
| | Check the debug status. More...
|
| |
| void | set_logging_priority (logger::priority lp_) |
| | Set the logging priority threshold. More...
|
| |
| enriched_base & | set_logging_priority_c (logger::priority lp_) |
| | Set the logging priority threshold. More...
|
| |
| void | set_logging (const std::string &label_) |
| | Set the logging priority threshold from a string. More...
|
| |
| logger::priority | get_logging_priority () const |
| | Return the logging priority threshold. More...
|
| |
| void | clear () |
| | Clear. More...
|
| |
| void | reset () |
| | Clear. More...
|
| |
| void | print_tree (std::ostream &out_=std::clog, const boost::property_tree::ptree &options_=empty_options()) const override |
| | Smart print. More...
|
| |
| void | tree_dump (std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const override |
| | Smart print. More...
|
| |
| void | initialize (const datatools::properties &config_, bool clear_=false) |
| | Initialization from a container of properties. More...
|
| |
| void | export_to_config (datatools::properties &config_, uint32_t flags_=EXPORT_CONFIG_DEFAULT, const std::string &prefix_="") const |
| | Export to a container of properties. More...
|
| |
| | i_serializable () |
| | Default constructor. More...
|
| |
| virtual | ~i_serializable () |
| | Destructor. More...
|
| |
| virtual const std::string & | get_serial_tag () const =0 |
| | Return the serialization string identifier of the class. More...
|
| |
| | i_tree_dumpable () |
| | Constructor. More...
|
| |
| virtual | ~i_tree_dumpable () |
| | Destructor. More...
|
| |
| void | print_tree_json (std::ostream &out_=std::clog, const std::string &json_options_="") const |
| | Printing with jsonized options. More...
|
| |
| void | print_tree_json (std::ostream &out_=std::clog, const char *json_options_=nullptr) const |
| | Printing with jsonized options. More...
|
| |
| 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 |
| |
The base service class.
The base_service class provides the interface of all datatools service objects.