|
virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
| Print details of the DaqApplication object.
|
|
virtual std::vector< const dunedaq::conffwk::DalObject * > | get (const std::string &name, bool upcast_unregistered=true) const |
| Get values of relationships and results of some algorithms as a vector of dunedaq::conffwk::DalObject pointers.
|
|
const std::string & | get_application_name () const |
| Get "application_name" attribute value. Name of the application binary to run.
|
|
void | set_application_name (const std::string &value) |
| Set "application_name" attribute value. Name of the application binary to run.
|
|
const std::vector< const dunedaq::confmodel::DaqModule * > & | get_modules () const |
| Get "modules" relationship value.
|
|
void | set_modules (const std::vector< const dunedaq::confmodel::DaqModule * > &value) |
| Set "modules" relationship value.
|
|
const std::vector< const dunedaq::confmodel::ActionPlan * > & | get_action_plans () const |
| Get "action_plans" relationship value.
|
|
void | set_action_plans (const std::vector< const dunedaq::confmodel::ActionPlan * > &value) |
| Set "action_plans" relationship value.
|
|
std::set< const dunedaq::confmodel::HostComponent * > | get_used_hostresources () const |
|
const std::vector< std::string > | construct_commandline_parameters (const conffwk::Configuration &confdb, const dunedaq::confmodel::Session *session) const |
|
virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
| Print details of the DaqApplication object.
|
|
virtual std::vector< const dunedaq::conffwk::DalObject * > | get (const std::string &name, bool upcast_unregistered=true) const |
| Get values of relationships and results of some algorithms as a vector of dunedaq::conffwk::DalObject pointers.
|
|
const std::string & | get_application_name () const |
| Get "application_name" attribute value. Name of the application binary to run.
|
|
void | set_application_name (const std::string &value) |
| Set "application_name" attribute value. Name of the application binary to run.
|
|
const std::vector< const dunedaq::confmodel::DaqModule * > & | get_modules () const |
| Get "modules" relationship value.
|
|
void | set_modules (const std::vector< const dunedaq::confmodel::DaqModule * > &value) |
| Set "modules" relationship value.
|
|
const std::vector< const dunedaq::confmodel::ActionPlan * > & | get_action_plans () const |
| Get "action_plans" relationship value.
|
|
void | set_action_plans (const std::vector< const dunedaq::confmodel::ActionPlan * > &value) |
| Set "action_plans" relationship value.
|
|
std::set< const dunedaq::confmodel::HostComponent * > | get_used_hostresources () const |
|
const std::vector< std::string > | construct_commandline_parameters (const conffwk::Configuration &confdb, const dunedaq::confmodel::Session *session) const |
|
const std::string & | get_application_name () const |
| Get "application_name" attribute value. Name of the application binary to run.
|
|
void | set_application_name (const std::string &value) |
| Set "application_name" attribute value. Name of the application binary to run.
|
|
const std::vector< std::string > & | get_commandline_parameters () const |
| Get "commandline_parameters" attribute value. command line parameters to add when starting the application.
|
|
void | set_commandline_parameters (const std::vector< std::string > &value) |
| Set "commandline_parameters" attribute value. command line parameters to add when starting the application.
|
|
const std::string & | get_log_path () const |
| Get "log_path" attribute value. Where the applications, controllers and infrastructure applications stdout/err go. This take precedence over the Session's log_path. If none of them is set, PWD is used.
|
|
void | set_log_path (const std::string &value) |
| Set "log_path" attribute value. Where the applications, controllers and infrastructure applications stdout/err go. This take precedence over the Session's log_path. If none of them is set, PWD is used.
|
|
const std::vector< const dunedaq::confmodel::VariableBase * > & | get_application_environment () const |
| Get "application_environment" relationship value. Define process environment for this application.
|
|
void | set_application_environment (const std::vector< const dunedaq::confmodel::VariableBase * > &value) |
| Set "application_environment" relationship value. Define process environment for this application.
|
|
const dunedaq::confmodel::VirtualHost * | get_runs_on () const |
| Get "runs_on" relationship value. VirtualHost to run this application on.
|
|
void | set_runs_on (const dunedaq::confmodel::VirtualHost *value) |
| Set "runs_on" relationship value. VirtualHost to run this application on.
|
|
const std::vector< const dunedaq::confmodel::Service * > & | get_exposes_service () const |
| Get "exposes_service" relationship value. Services exposed i.e. provided by this application.
|
|
void | set_exposes_service (const std::vector< const dunedaq::confmodel::Service * > &value) |
| Set "exposes_service" relationship value. Services exposed i.e. provided by this application.
|
|
const dunedaq::confmodel::OpMonConf * | get_opmon_conf () const |
| Get "opmon_conf" relationship value. description of the monitoring behaviour in the application.
|
|
void | set_opmon_conf (const dunedaq::confmodel::OpMonConf *value) |
| Set "opmon_conf" relationship value. description of the monitoring behaviour in the application.
|
|
const std::vector< std::string > | parse_commandline_parameters () const |
|
const std::string & | get_application_name () const |
| Get "application_name" attribute value. Name of the application binary to run.
|
|
void | set_application_name (const std::string &value) |
| Set "application_name" attribute value. Name of the application binary to run.
|
|
const std::vector< std::string > & | get_commandline_parameters () const |
| Get "commandline_parameters" attribute value. command line parameters to add when starting the application.
|
|
void | set_commandline_parameters (const std::vector< std::string > &value) |
| Set "commandline_parameters" attribute value. command line parameters to add when starting the application.
|
|
const std::string & | get_log_path () const |
| Get "log_path" attribute value. Where the applications, controllers and infrastructure applications stdout/err go. This take precedence over the Session's log_path. If none of them is set, PWD is used.
|
|
void | set_log_path (const std::string &value) |
| Set "log_path" attribute value. Where the applications, controllers and infrastructure applications stdout/err go. This take precedence over the Session's log_path. If none of them is set, PWD is used.
|
|
const std::vector< const dunedaq::confmodel::VariableBase * > & | get_application_environment () const |
| Get "application_environment" relationship value. Define process environment for this application.
|
|
void | set_application_environment (const std::vector< const dunedaq::confmodel::VariableBase * > &value) |
| Set "application_environment" relationship value. Define process environment for this application.
|
|
const dunedaq::confmodel::VirtualHost * | get_runs_on () const |
| Get "runs_on" relationship value. VirtualHost to run this application on.
|
|
void | set_runs_on (const dunedaq::confmodel::VirtualHost *value) |
| Set "runs_on" relationship value. VirtualHost to run this application on.
|
|
const std::vector< const dunedaq::confmodel::Service * > & | get_exposes_service () const |
| Get "exposes_service" relationship value. Services exposed i.e. provided by this application.
|
|
void | set_exposes_service (const std::vector< const dunedaq::confmodel::Service * > &value) |
| Set "exposes_service" relationship value. Services exposed i.e. provided by this application.
|
|
const dunedaq::confmodel::OpMonConf * | get_opmon_conf () const |
| Get "opmon_conf" relationship value. description of the monitoring behaviour in the application.
|
|
void | set_opmon_conf (const dunedaq::confmodel::OpMonConf *value) |
| Set "opmon_conf" relationship value. description of the monitoring behaviour in the application.
|
|
const std::vector< std::string > | parse_commandline_parameters () const |
|
const std::string & | UID () const noexcept |
|
const std::string & | class_name () const noexcept |
|
bool | castable (const std::string &target) const noexcept |
|
bool | castable (const std::string *target) const noexcept |
|
template<class TARGET > |
const TARGET * | cast () const noexcept |
| Casts object to different class.
|
|
std::string | full_name () const noexcept |
|
const ConfigObject & | config_object () const |
|
DalRegistry & | registry () const noexcept |
|
Configuration & | configuration () const noexcept |
|
void | unread () |
|
void | set (const ConfigObject &o) noexcept |
|
void | move (const std::string &at) |
|
void | rename (const std::string &new_id) |
|
void | p_hdr (std::ostream &s, unsigned int indent, const std::string &cl, const char *nm=nullptr) const |
| print object headers
|
|
std::ostream & | print_object (std::ostream &s) const |
| print object details
|
|
void | throw_init_ex (dunedaq::conffwk::Exception &ex) |
| throw object initialisation exception (i.e.
|
|
|
| DaqApplication (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
|
virtual | ~DaqApplication () noexcept |
|
virtual void | init (bool init_children) |
|
bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
|
| DaqApplication (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
|
virtual | ~DaqApplication () noexcept |
|
virtual void | init (bool init_children) |
|
bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
|
| Application (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
|
virtual | ~Application () noexcept |
|
bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
|
| Application (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
|
virtual | ~Application () noexcept |
|
bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
|
| DalObject (DalRegistry &db, const ConfigObject &o) noexcept |
|
virtual | ~DalObject () |
|
void | clear () noexcept |
|
void | check () const |
|
bool | is_deleted () const |
|
void | increment_created () noexcept |
|
void | increment_read () noexcept |
|
void | check_init () const |
| Check and initialize object if necessary.
|
|
template<typename T > |
void | _set_object (const std::string &name, const T *value) |
| Helper method for generated set single-value relationship methods.
|
|
template<typename T > |
void | _set_objects (const std::string &name, const std::vector< const T * > &value) |
| Helper method for generated set multi-value relationship methods.
|
|
bool | get_rel_objects (const std::string &name, bool upcast_unregistered, std::vector< const DalObject * > &objs) const |
| Read relationship values as DAL objects using DAL factory.
|
|
bool | get_algo_objects (const std::string &name, std::vector< const DalObject * > &objs) const |
| Run algorithm and return result as DAL objects using DAL factory.
|
|