|
| void | add_module (const std::string &label_, const module_handle_type &handle_module_) |
| | Add a module in the processing chain. More...
|
| |
| bool | has_module (const std::string &label_) const |
| | Check if a module with a given name exists. More...
|
| |
| | chain_module (datatools::logger::priority=datatools::logger::PRIO_FATAL) |
| | Constructor. More...
|
| |
| virtual | ~chain_module () |
| | Destructor. More...
|
| |
| virtual void | initialize (const ::datatools::properties &, datatools::service_manager &, dpp::module_handle_dict_type &) |
| | Initialization. More...
|
| |
| virtual void | reset () |
| | Reset. More...
|
| |
| virtual process_status | process (::datatools::things &) |
| | Data record processing. More...
|
| |
| virtual void | tree_dump (std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const |
| | Smart print. More...
|
| |
| | base_module (datatools::logger::priority p_=datatools::logger::PRIO_FATAL) |
| | Default constructor : More...
|
| |
| virtual | ~base_module () |
| | Destructor : More...
|
| |
| bool | has_name () const |
| | Check the module name. More...
|
| |
| void | set_name (const std::string &) |
| | Set the module name. More...
|
| |
| const std::string & | get_name () const |
| | Return the module name. More...
|
| |
| bool | has_description () const |
| | Check the module description. More...
|
| |
| const std::string & | get_description () const |
| | Return the module description. More...
|
| |
| void | set_description (const std::string &description_) |
| | Set the module description. More...
|
| |
| bool | has_last_error_message () const |
| | Check the module last error message. More...
|
| |
| void | set_last_error_message (const std::string &) |
| | Set the module last error message. More...
|
| |
| void | append_last_error_message (const std::string &errmsg_) |
| | Append an error message. More...
|
| |
| void | reset_last_error_message () |
| | Reset the module last error message. More...
|
| |
| const std::string & | get_last_error_message () const |
| | Return the module last error message. More...
|
| |
| bool | is_initialized () const |
| | Check initialization flag. More...
|
| |
| virtual void | initialize_simple () |
| | Initialize the module without external resource. More...
|
| |
| virtual void | initialize_simple_with_service (datatools::service_manager &service_manager_) |
| | Initialize the module with a service manager only. More...
|
| |
| virtual void | initialize_standalone (const datatools::properties &config_) |
| | Initialize the module only using a set of parameters. More...
|
| |
| virtual void | initialize_with_service (const datatools::properties &config_, datatools::service_manager &service_manager_) |
| | Initialize the module using a set of parameters and a service manager. More...
|
| |
| virtual void | initialize_without_service (const datatools::properties &config, module_handle_dict_type &module_dictionnary_) |
| | Initialize the module using a set of parameters and a map of modules. More...
|
| |
| virtual void | initialize (const datatools::properties &config_, datatools::service_manager &service_manager_, module_handle_dict_type &module_dictionary_)=0 |
| |
| virtual process_status | process (datatools::things &data_model_)=0 |
| |
| void | print (std::ostream &out_=std::clog) const |
| | Default print. More...
|
| |
| void | set_logging_priority (datatools::logger::priority p_) |
| | Set logging priority. More...
|
| |
| datatools::logger::priority | get_logging_priority () const |
| | Returns logging priority. More...
|
| |
| | i_tree_dumpable () |
| | Constructor. More...
|
| |
| virtual | ~i_tree_dumpable () |
| | Destructor. More...
|
| |
| virtual void | print_tree (std::ostream &out_=std::clog, const boost::property_tree::ptree &options_=empty_options()) const |
| | Main new interface method for printing. 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 |
| |
A data processing module to chain children data processing modules.