|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <ReadoutApplication.hpp>
Public Member Functions | |
| virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
| Print details of the ReadoutApplication 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. | |
| void | set_application_name (const std::string &value) |
| Set "application_name" attribute value. | |
| bool | get_tp_generation_enabled () const |
| Get "tp_generation_enabled" attribute value. | |
| void | set_tp_generation_enabled (bool value) |
| Set "tp_generation_enabled" attribute value. | |
| bool | get_ta_generation_enabled () const |
| Get "ta_generation_enabled" attribute value. | |
| void | set_ta_generation_enabled (bool value) |
| Set "ta_generation_enabled" attribute value. | |
| const std::vector< const dunedaq::appmodel::SourceIDConf * > & | get_tp_source_ids () const |
| Get "tp_source_ids" relationship value. | |
| void | set_tp_source_ids (const std::vector< const dunedaq::appmodel::SourceIDConf * > &value) |
| Set "tp_source_ids" relationship value. | |
| const dunedaq::appmodel::RoHwConfig * | get_uses () const |
| Get "uses" relationship value. Configuration of the host hardware resources used by this application. | |
| void | set_uses (const dunedaq::appmodel::RoHwConfig *value) |
| Set "uses" relationship value. Configuration of the host hardware resources used by this application. | |
| const dunedaq::appmodel::DataHandlerConf * | get_link_handler () const |
| Get "link_handler" relationship value. | |
| void | set_link_handler (const dunedaq::appmodel::DataHandlerConf *value) |
| Set "link_handler" relationship value. | |
| const dunedaq::appmodel::DataHandlerConf * | get_tp_handler () const |
| Get "tp_handler" relationship value. | |
| void | set_tp_handler (const dunedaq::appmodel::DataHandlerConf *value) |
| Set "tp_handler" relationship value. | |
| const dunedaq::appmodel::DataReaderConf * | get_data_reader () const |
| Get "data_reader" relationship value. | |
| void | set_data_reader (const dunedaq::appmodel::DataReaderConf *value) |
| Set "data_reader" relationship value. | |
| const dunedaq::appmodel::DataRecorderConf * | get_data_recorder () const |
| Get "data_recorder" relationship value. | |
| void | set_data_recorder (const dunedaq::appmodel::DataRecorderConf *value) |
| Set "data_recorder" relationship value. | |
| const dunedaq::appmodel::FragmentAggregatorConf * | get_fragment_aggregator () const |
| Get "fragment_aggregator" relationship value. | |
| void | set_fragment_aggregator (const dunedaq::appmodel::FragmentAggregatorConf *value) |
| Set "fragment_aggregator" relationship value. | |
| const std::vector< const dunedaq::confmodel::DetectorToDaqConnection * > & | get_detector_connections () const |
| Get "detector_connections" relationship value. The list of detector channels to be read out by this readout application. | |
| void | set_detector_connections (const std::vector< const dunedaq::confmodel::DetectorToDaqConnection * > &value) |
| Set "detector_connections" relationship value. The list of detector channels to be read out by this readout application. | |
| void | generate_modules (const confmodel::Session *) const override |
| virtual std::vector< const Resource * > | contained_resources () const override |
| virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
| Print details of the ReadoutApplication 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. | |
| void | set_application_name (const std::string &value) |
| Set "application_name" attribute value. | |
| bool | get_tp_generation_enabled () const |
| Get "tp_generation_enabled" attribute value. | |
| void | set_tp_generation_enabled (bool value) |
| Set "tp_generation_enabled" attribute value. | |
| bool | get_ta_generation_enabled () const |
| Get "ta_generation_enabled" attribute value. | |
| void | set_ta_generation_enabled (bool value) |
| Set "ta_generation_enabled" attribute value. | |
| const std::vector< const dunedaq::appmodel::SourceIDConf * > & | get_tp_source_ids () const |
| Get "tp_source_ids" relationship value. | |
| void | set_tp_source_ids (const std::vector< const dunedaq::appmodel::SourceIDConf * > &value) |
| Set "tp_source_ids" relationship value. | |
| const dunedaq::appmodel::RoHwConfig * | get_uses () const |
| Get "uses" relationship value. Configuration of the host hardware resources used by this application. | |
| void | set_uses (const dunedaq::appmodel::RoHwConfig *value) |
| Set "uses" relationship value. Configuration of the host hardware resources used by this application. | |
| const dunedaq::appmodel::DataHandlerConf * | get_link_handler () const |
| Get "link_handler" relationship value. | |
| void | set_link_handler (const dunedaq::appmodel::DataHandlerConf *value) |
| Set "link_handler" relationship value. | |
| const dunedaq::appmodel::DataHandlerConf * | get_tp_handler () const |
| Get "tp_handler" relationship value. | |
| void | set_tp_handler (const dunedaq::appmodel::DataHandlerConf *value) |
| Set "tp_handler" relationship value. | |
| const dunedaq::appmodel::DataReaderConf * | get_data_reader () const |
| Get "data_reader" relationship value. | |
| void | set_data_reader (const dunedaq::appmodel::DataReaderConf *value) |
| Set "data_reader" relationship value. | |
| const dunedaq::appmodel::DataRecorderConf * | get_data_recorder () const |
| Get "data_recorder" relationship value. | |
| void | set_data_recorder (const dunedaq::appmodel::DataRecorderConf *value) |
| Set "data_recorder" relationship value. | |
| const dunedaq::appmodel::FragmentAggregatorConf * | get_fragment_aggregator () const |
| Get "fragment_aggregator" relationship value. | |
| void | set_fragment_aggregator (const dunedaq::appmodel::FragmentAggregatorConf *value) |
| Set "fragment_aggregator" relationship value. | |
| const std::vector< const dunedaq::confmodel::DetectorToDaqConnection * > & | get_detector_connections () const |
| Get "detector_connections" relationship value. The list of detector channels to be read out by this readout application. | |
| void | set_detector_connections (const std::vector< const dunedaq::confmodel::DetectorToDaqConnection * > &value) |
| Set "detector_connections" relationship value. The list of detector channels to be read out by this readout application. | |
| void | generate_modules (const confmodel::Session *) const override |
| virtual std::vector< const Resource * > | contained_resources () const override |
Public Member Functions inherited from dunedaq::appmodel::SmartDaqApplication | |
| const dunedaq::appmodel::SourceIDConf * | get_source_id () const |
| Get "source_id" relationship value. | |
| void | set_source_id (const dunedaq::appmodel::SourceIDConf *value) |
| Set "source_id" relationship value. | |
| const std::vector< const dunedaq::appmodel::QueueConnectionRule * > & | get_queue_rules () const |
| Get "queue_rules" relationship value. | |
| void | set_queue_rules (const std::vector< const dunedaq::appmodel::QueueConnectionRule * > &value) |
| Set "queue_rules" relationship value. | |
| const std::vector< const dunedaq::appmodel::NetworkConnectionRule * > & | get_network_rules () const |
| Get "network_rules" relationship value. | |
| void | set_network_rules (const std::vector< const dunedaq::appmodel::NetworkConnectionRule * > &value) |
| Set "network_rules" relationship value. | |
| const dunedaq::appmodel::SourceIDConf * | get_source_id () const |
| Get "source_id" relationship value. | |
| void | set_source_id (const dunedaq::appmodel::SourceIDConf *value) |
| Set "source_id" relationship value. | |
| const std::vector< const dunedaq::appmodel::QueueConnectionRule * > & | get_queue_rules () const |
| Get "queue_rules" relationship value. | |
| void | set_queue_rules (const std::vector< const dunedaq::appmodel::QueueConnectionRule * > &value) |
| Set "queue_rules" relationship value. | |
| const std::vector< const dunedaq::appmodel::NetworkConnectionRule * > & | get_network_rules () const |
| Get "network_rules" relationship value. | |
| void | set_network_rules (const std::vector< const dunedaq::appmodel::NetworkConnectionRule * > &value) |
| Set "network_rules" relationship value. | |
Public Member Functions inherited from dunedaq::confmodel::DaqApplication | |
| 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< 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 |
Public Member Functions inherited from dunedaq::confmodel::Application | |
| 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 |
Public Member Functions inherited from dunedaq::conffwk::DalObject | |
| 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. | |
Public Member Functions inherited from dunedaq::confmodel::ResourceSetDisableAND | |
| bool | compute_disabled_state (const std::set< std::string > &disabled) const final |
| bool | compute_disabled_state (const std::set< std::string > &disabled) const final |
Public Member Functions inherited from dunedaq::confmodel::ResourceSet | |
Public Member Functions inherited from dunedaq::confmodel::Resource | |
| void | parents (const dunedaq::confmodel::Session &session, std::list< std::vector< const dunedaq::confmodel::Resource * > > &parents) const |
| bool | is_disabled (const dunedaq::confmodel::ResourceTree &session) const |
| void | parents (const dunedaq::confmodel::Session &session, std::list< std::vector< const dunedaq::confmodel::Resource * > > &parents) const |
| bool | is_disabled (const dunedaq::confmodel::ResourceTree &session) const |
Static Public Member Functions | |
| static const std::string & | __get_application_name_str () noexcept |
| static const std::string & | __get_tp_generation_enabled_str () noexcept |
| static const std::string & | __get_ta_generation_enabled_str () noexcept |
| static const std::string & | __get_tp_source_ids_str () noexcept |
| static const std::string & | __get_uses_str () noexcept |
| static const std::string & | __get_link_handler_str () noexcept |
| static const std::string & | __get_tp_handler_str () noexcept |
| static const std::string & | __get_data_reader_str () noexcept |
| static const std::string & | __get_data_recorder_str () noexcept |
| static const std::string & | __get_fragment_aggregator_str () noexcept |
| static const std::string & | __get_detector_connections_str () noexcept |
| static const std::string & | __get_application_name_str () noexcept |
| static const std::string & | __get_tp_generation_enabled_str () noexcept |
| static const std::string & | __get_ta_generation_enabled_str () noexcept |
| static const std::string & | __get_tp_source_ids_str () noexcept |
| static const std::string & | __get_uses_str () noexcept |
| static const std::string & | __get_link_handler_str () noexcept |
| static const std::string & | __get_tp_handler_str () noexcept |
| static const std::string & | __get_data_reader_str () noexcept |
| static const std::string & | __get_data_recorder_str () noexcept |
| static const std::string & | __get_fragment_aggregator_str () noexcept |
| static const std::string & | __get_detector_connections_str () noexcept |
Static Public Member Functions inherited from dunedaq::appmodel::SmartDaqApplication | |
| static const std::string & | __get_source_id_str () noexcept |
| static const std::string & | __get_queue_rules_str () noexcept |
| static const std::string & | __get_network_rules_str () noexcept |
| static const std::string & | __get_source_id_str () noexcept |
| static const std::string & | __get_queue_rules_str () noexcept |
| static const std::string & | __get_network_rules_str () noexcept |
Static Public Member Functions inherited from dunedaq::confmodel::DaqApplication | |
| static const std::string & | __get_application_name_str () noexcept |
| static const std::string & | __get_modules_str () noexcept |
| static const std::string & | __get_action_plans_str () noexcept |
| static const std::string & | __get_application_name_str () noexcept |
| static const std::string & | __get_modules_str () noexcept |
| static const std::string & | __get_action_plans_str () noexcept |
Static Public Member Functions inherited from dunedaq::confmodel::Application | |
| static const std::string & | __get_application_name_str () noexcept |
| static const std::string & | __get_commandline_parameters_str () noexcept |
| static const std::string & | __get_log_path_str () noexcept |
| static const std::string & | __get_application_environment_str () noexcept |
| static const std::string & | __get_runs_on_str () noexcept |
| static const std::string & | __get_exposes_service_str () noexcept |
| static const std::string & | __get_opmon_conf_str () noexcept |
| static const std::string & | __get_application_name_str () noexcept |
| static const std::string & | __get_commandline_parameters_str () noexcept |
| static const std::string & | __get_log_path_str () noexcept |
| static const std::string & | __get_application_environment_str () noexcept |
| static const std::string & | __get_runs_on_str () noexcept |
| static const std::string & | __get_exposes_service_str () noexcept |
| static const std::string & | __get_opmon_conf_str () noexcept |
Static Public Member Functions inherited from dunedaq::conffwk::DalObject | |
| static void | p_null (std::ostream &s) |
| print "(null)" | |
| static void | p_rm (std::ostream &s) |
| print "(deleted object)" | |
| static void | p_error (std::ostream &s, dunedaq::conffwk::Exception &ex) |
| print error text | |
| static void | throw_get_ex (const std::string &what, const std::string &class_name, const DalObject *obj) |
| throw exception in generated get method (i.e. | |
| static bool | is_null (const DalObject *ref) noexcept |
| check a pointer on DAL object is null | |
Static Public Attributes | |
| static const std::string & | s_class_name |
| static const std::string | s_application_name = "application_name" |
| static const std::string | s_tp_generation_enabled = "tp_generation_enabled" |
| static const std::string | s_ta_generation_enabled = "ta_generation_enabled" |
| static const std::string | s_tp_source_ids = "tp_source_ids" |
| static const std::string | s_uses = "uses" |
| static const std::string | s_link_handler = "link_handler" |
| static const std::string | s_tp_handler = "tp_handler" |
| static const std::string | s_data_reader = "data_reader" |
| static const std::string | s_data_recorder = "data_recorder" |
| static const std::string | s_fragment_aggregator = "fragment_aggregator" |
| static const std::string | s_detector_connections = "detector_connections" |
Static Public Attributes inherited from dunedaq::appmodel::SmartDaqApplication | |
| static const std::string & | s_class_name |
| static const std::string | s_source_id = "source_id" |
| static const std::string | s_queue_rules = "queue_rules" |
| static const std::string | s_network_rules = "network_rules" |
Static Public Attributes inherited from dunedaq::confmodel::DaqApplication | |
| static const std::string & | s_class_name |
| static const std::string | s_application_name = "application_name" |
| static const std::string | s_modules = "modules" |
| static const std::string | s_action_plans = "action_plans" |
Static Public Attributes inherited from dunedaq::confmodel::Application | |
| static const std::string & | s_class_name |
| static const std::string | s_application_name = "application_name" |
| static const std::string | s_commandline_parameters = "commandline_parameters" |
| static const std::string | s_log_path = "log_path" |
| static const std::string | s_application_environment = "application_environment" |
| static const std::string | s_runs_on = "runs_on" |
| static const std::string | s_exposes_service = "exposes_service" |
| static const std::string | s_opmon_conf = "opmon_conf" |
Static Public Attributes inherited from dunedaq::confmodel::ResourceSetDisableAND | |
| static const std::string & | s_class_name |
Static Public Attributes inherited from dunedaq::confmodel::ResourceSet | |
| static const std::string & | s_class_name |
Static Public Attributes inherited from dunedaq::confmodel::Resource | |
| static const std::string & | s_class_name |
Protected Member Functions | |
| ReadoutApplication (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~ReadoutApplication () 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 |
| ReadoutApplication (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~ReadoutApplication () 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 |
Protected Member Functions inherited from dunedaq::appmodel::SmartDaqApplication | |
| SmartDaqApplication (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~SmartDaqApplication () noexcept |
| bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
| SmartDaqApplication (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~SmartDaqApplication () noexcept |
| bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
Protected Member Functions inherited from dunedaq::confmodel::DaqApplication | |
| DaqApplication (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~DaqApplication () noexcept |
| 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 |
| bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
Protected Member Functions inherited from dunedaq::confmodel::Application | |
| 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 |
Protected Member Functions inherited from dunedaq::conffwk::DalObject | |
| 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. | |
Protected Member Functions inherited from dunedaq::confmodel::ResourceSetDisableAND | |
| ResourceSetDisableAND (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~ResourceSetDisableAND () noexcept |
| bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
| ResourceSetDisableAND (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~ResourceSetDisableAND () noexcept |
| bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
Protected Member Functions inherited from dunedaq::confmodel::ResourceSet | |
| ResourceSet (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~ResourceSet () noexcept |
| bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
| ResourceSet (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~ResourceSet () noexcept |
| bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
Protected Member Functions inherited from dunedaq::confmodel::Resource | |
| Resource (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~Resource () noexcept |
| bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
| Resource (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~Resource () noexcept |
| bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
Private Attributes | |
| std::string | m_application_name |
| bool | m_tp_generation_enabled |
| bool | m_ta_generation_enabled |
| std::vector< const dunedaq::appmodel::SourceIDConf * > | m_tp_source_ids |
| const dunedaq::appmodel::RoHwConfig * | m_uses |
| const dunedaq::appmodel::DataHandlerConf * | m_link_handler |
| const dunedaq::appmodel::DataHandlerConf * | m_tp_handler |
| const dunedaq::appmodel::DataReaderConf * | m_data_reader |
| const dunedaq::appmodel::DataRecorderConf * | m_data_recorder |
| const dunedaq::appmodel::FragmentAggregatorConf * | m_fragment_aggregator |
| std::vector< const dunedaq::confmodel::DetectorToDaqConnection * > | m_detector_connections |
Friends | |
| class | conffwk::Configuration |
| class | conffwk::DalObject |
| class | conffwk::DalFactory |
| class | conffwk::DalRegistry |
Additional Inherited Members | |
Protected Attributes inherited from dunedaq::conffwk::DalObject | |
| std::mutex | m_mutex |
| Used to protect changes of DAL object. | |
| bool | p_was_read |
| is true, if the object was read | |
| DalRegistry & | p_registry |
| Configuration object. | |
| ConfigObject | p_obj |
| Config object used by given template object. | |
| std::string | p_UID |
| Is used for template objects (see dqm_conffwk) | |
Definition at line 42 of file ReadoutApplication.hpp.
|
protectednoexcept |
Definition at line 37 of file ReadoutApplication.cpp.
|
protectedvirtualnoexcept |
Definition at line 119 of file ReadoutApplication.cpp.
|
protectednoexcept |
|
protectedvirtualnoexcept |
|
inlinestaticnoexcept |
Definition at line 114 of file ReadoutApplication.hpp.
|
inlinestaticnoexcept |
Definition at line 114 of file ReadoutApplication.hpp.
|
inlinestaticnoexcept |
Definition at line 227 of file ReadoutApplication.hpp.
|
inlinestaticnoexcept |
Definition at line 227 of file ReadoutApplication.hpp.
|
inlinestaticnoexcept |
Definition at line 228 of file ReadoutApplication.hpp.
|
inlinestaticnoexcept |
Definition at line 228 of file ReadoutApplication.hpp.
|
inlinestaticnoexcept |
Definition at line 230 of file ReadoutApplication.hpp.
|
inlinestaticnoexcept |
Definition at line 230 of file ReadoutApplication.hpp.
|
inlinestaticnoexcept |
Definition at line 229 of file ReadoutApplication.hpp.
|
inlinestaticnoexcept |
Definition at line 229 of file ReadoutApplication.hpp.
|
inlinestaticnoexcept |
Definition at line 225 of file ReadoutApplication.hpp.
|
inlinestaticnoexcept |
Definition at line 225 of file ReadoutApplication.hpp.
|
inlinestaticnoexcept |
Definition at line 116 of file ReadoutApplication.hpp.
|
inlinestaticnoexcept |
Definition at line 116 of file ReadoutApplication.hpp.
|
inlinestaticnoexcept |
Definition at line 115 of file ReadoutApplication.hpp.
|
inlinestaticnoexcept |
Definition at line 115 of file ReadoutApplication.hpp.
|
inlinestaticnoexcept |
Definition at line 226 of file ReadoutApplication.hpp.
|
inlinestaticnoexcept |
Definition at line 226 of file ReadoutApplication.hpp.
|
inlinestaticnoexcept |
Definition at line 223 of file ReadoutApplication.hpp.
|
inlinestaticnoexcept |
Definition at line 223 of file ReadoutApplication.hpp.
|
inlinestaticnoexcept |
Definition at line 224 of file ReadoutApplication.hpp.
|
inlinestaticnoexcept |
Definition at line 224 of file ReadoutApplication.hpp.
|
overridevirtual |
Virtual method to obtain the list of all contained Resources. Used internally by the core disabled logic. Not intended to be used in application code as that should be using individual relationships of the derived classes.
Implements dunedaq::confmodel::ResourceSet.
Definition at line 73 of file ReadoutApplication.cpp.
|
overridevirtual |
Virtual method to obtain the list of all contained Resources. Used internally by the core disabled logic. Not intended to be used in application code as that should be using individual relationships of the derived classes.
Implements dunedaq::confmodel::ResourceSet.
|
overridevirtual |
Generate daq module dal objects for streams of thie ReadoutApplication on the fly
Implements dunedaq::appmodel::SmartDaqApplication.
Definition at line 78 of file ReadoutApplication.cpp.
|
overridevirtual |
Generate daq module dal objects for streams of thie ReadoutApplication on the fly
Implements dunedaq::appmodel::SmartDaqApplication.
|
virtual |
Get values of relationships and results of some algorithms as a vector of dunedaq::conffwk::DalObject pointers.
Parameters are:
| name | name of the relationship or algorithm |
| std::exception | if there is no relationship or algorithm with such name in this and base classes |
Reimplemented from dunedaq::appmodel::SmartDaqApplication.
Reimplemented in dunedaq::appmodel::NP02ReadoutApplication, and dunedaq::appmodel::NP02ReadoutApplication.
Definition at line 123 of file ReadoutApplication.cpp.
|
virtual |
Get values of relationships and results of some algorithms as a vector of dunedaq::conffwk::DalObject pointers.
Parameters are:
| name | name of the relationship or algorithm |
| std::exception | if there is no relationship or algorithm with such name in this and base classes |
Reimplemented from dunedaq::appmodel::SmartDaqApplication.
Reimplemented in dunedaq::appmodel::NP02ReadoutApplication, and dunedaq::appmodel::NP02ReadoutApplication.
|
protected |
Definition at line 133 of file ReadoutApplication.cpp.
|
protected |
|
inline |
Get "application_name" attribute value.
Definition at line 126 of file ReadoutApplication.hpp.
|
inline |
Get "application_name" attribute value.
Definition at line 126 of file ReadoutApplication.hpp.
|
inline |
Get "data_reader" relationship value.
Definition at line 354 of file ReadoutApplication.hpp.
|
inline |
Get "data_reader" relationship value.
Definition at line 354 of file ReadoutApplication.hpp.
|
inline |
Get "data_recorder" relationship value.
Definition at line 385 of file ReadoutApplication.hpp.
|
inline |
Get "data_recorder" relationship value.
Definition at line 385 of file ReadoutApplication.hpp.
|
inline |
Get "detector_connections" relationship value. The list of detector channels to be read out by this readout application.
Definition at line 442 of file ReadoutApplication.hpp.
|
inline |
Get "detector_connections" relationship value. The list of detector channels to be read out by this readout application.
Definition at line 442 of file ReadoutApplication.hpp.
|
inline |
Get "fragment_aggregator" relationship value.
Definition at line 410 of file ReadoutApplication.hpp.
|
inline |
Get "fragment_aggregator" relationship value.
Definition at line 410 of file ReadoutApplication.hpp.
|
inline |
Get "link_handler" relationship value.
Definition at line 298 of file ReadoutApplication.hpp.
|
inline |
Get "link_handler" relationship value.
Definition at line 298 of file ReadoutApplication.hpp.
|
inline |
Get "ta_generation_enabled" attribute value.
Definition at line 188 of file ReadoutApplication.hpp.
|
inline |
Get "ta_generation_enabled" attribute value.
Definition at line 188 of file ReadoutApplication.hpp.
|
inline |
Get "tp_generation_enabled" attribute value.
Definition at line 157 of file ReadoutApplication.hpp.
|
inline |
Get "tp_generation_enabled" attribute value.
Definition at line 157 of file ReadoutApplication.hpp.
|
inline |
Get "tp_handler" relationship value.
Definition at line 329 of file ReadoutApplication.hpp.
|
inline |
Get "tp_handler" relationship value.
Definition at line 329 of file ReadoutApplication.hpp.
|
inline |
Get "tp_source_ids" relationship value.
Definition at line 240 of file ReadoutApplication.hpp.
|
inline |
Get "tp_source_ids" relationship value.
Definition at line 240 of file ReadoutApplication.hpp.
|
inline |
Get "uses" relationship value. Configuration of the host hardware resources used by this application.
Definition at line 266 of file ReadoutApplication.hpp.
|
inline |
Get "uses" relationship value. Configuration of the host hardware resources used by this application.
Definition at line 266 of file ReadoutApplication.hpp.
|
protectedvirtual |
Initialize object (method generated by genconffwk)
| init_children | if true, initialize referenced objects |
Reimplemented from dunedaq::appmodel::SmartDaqApplication.
Reimplemented in dunedaq::appmodel::NP02ReadoutApplication, and dunedaq::appmodel::NP02ReadoutApplication.
Definition at line 94 of file ReadoutApplication.cpp.
|
protectedvirtual |
Initialize object (method generated by genconffwk)
| init_children | if true, initialize referenced objects |
Reimplemented from dunedaq::appmodel::SmartDaqApplication.
Reimplemented in dunedaq::appmodel::NP02ReadoutApplication, and dunedaq::appmodel::NP02ReadoutApplication.
|
virtual |
Print details of the ReadoutApplication object.
Parameters are:
| offset | number of spaces to shift object right (useful to print nested objects) |
| print_header | if false, do not print object header (to print attributes of base classes) |
| s | output stream |
Reimplemented from dunedaq::appmodel::SmartDaqApplication.
Reimplemented in dunedaq::appmodel::NP02ReadoutApplication, and dunedaq::appmodel::NP02ReadoutApplication.
Definition at line 53 of file ReadoutApplication.cpp.
|
virtual |
Print details of the ReadoutApplication object.
Parameters are:
| offset | number of spaces to shift object right (useful to print nested objects) |
| print_header | if false, do not print object header (to print attributes of base classes) |
| s | output stream |
Reimplemented from dunedaq::appmodel::SmartDaqApplication.
Reimplemented in dunedaq::appmodel::NP02ReadoutApplication, and dunedaq::appmodel::NP02ReadoutApplication.
|
inline |
Set "application_name" attribute value.
| value | new attribute value |
Definition at line 141 of file ReadoutApplication.hpp.
|
inline |
Set "application_name" attribute value.
| value | new attribute value |
Definition at line 141 of file ReadoutApplication.hpp.
| void dunedaq::appmodel::ReadoutApplication::set_data_reader | ( | const dunedaq::appmodel::DataReaderConf * | value | ) |
Set "data_reader" relationship value.
| value | new relationship value |
Definition at line 175 of file ReadoutApplication.cpp.
| void dunedaq::appmodel::ReadoutApplication::set_data_reader | ( | const dunedaq::appmodel::DataReaderConf * | value | ) |
Set "data_reader" relationship value.
| value | new relationship value |
| void dunedaq::appmodel::ReadoutApplication::set_data_recorder | ( | const dunedaq::appmodel::DataRecorderConf * | value | ) |
Set "data_recorder" relationship value.
| value | new relationship value |
Definition at line 180 of file ReadoutApplication.cpp.
| void dunedaq::appmodel::ReadoutApplication::set_data_recorder | ( | const dunedaq::appmodel::DataRecorderConf * | value | ) |
Set "data_recorder" relationship value.
| value | new relationship value |
| void dunedaq::appmodel::ReadoutApplication::set_detector_connections | ( | const std::vector< const dunedaq::confmodel::DetectorToDaqConnection * > & | value | ) |
Set "detector_connections" relationship value. The list of detector channels to be read out by this readout application.
| value | new relationship value |
Definition at line 190 of file ReadoutApplication.cpp.
| void dunedaq::appmodel::ReadoutApplication::set_detector_connections | ( | const std::vector< const dunedaq::confmodel::DetectorToDaqConnection * > & | value | ) |
Set "detector_connections" relationship value. The list of detector channels to be read out by this readout application.
| value | new relationship value |
| void dunedaq::appmodel::ReadoutApplication::set_fragment_aggregator | ( | const dunedaq::appmodel::FragmentAggregatorConf * | value | ) |
Set "fragment_aggregator" relationship value.
| value | new relationship value |
Definition at line 185 of file ReadoutApplication.cpp.
| void dunedaq::appmodel::ReadoutApplication::set_fragment_aggregator | ( | const dunedaq::appmodel::FragmentAggregatorConf * | value | ) |
Set "fragment_aggregator" relationship value.
| value | new relationship value |
| void dunedaq::appmodel::ReadoutApplication::set_link_handler | ( | const dunedaq::appmodel::DataHandlerConf * | value | ) |
Set "link_handler" relationship value.
| value | new relationship value |
Definition at line 165 of file ReadoutApplication.cpp.
| void dunedaq::appmodel::ReadoutApplication::set_link_handler | ( | const dunedaq::appmodel::DataHandlerConf * | value | ) |
Set "link_handler" relationship value.
| value | new relationship value |
|
inline |
Set "ta_generation_enabled" attribute value.
| value | new attribute value |
Definition at line 203 of file ReadoutApplication.hpp.
|
inline |
Set "ta_generation_enabled" attribute value.
| value | new attribute value |
Definition at line 203 of file ReadoutApplication.hpp.
|
inline |
Set "tp_generation_enabled" attribute value.
| value | new attribute value |
Definition at line 172 of file ReadoutApplication.hpp.
|
inline |
Set "tp_generation_enabled" attribute value.
| value | new attribute value |
Definition at line 172 of file ReadoutApplication.hpp.
| void dunedaq::appmodel::ReadoutApplication::set_tp_handler | ( | const dunedaq::appmodel::DataHandlerConf * | value | ) |
Set "tp_handler" relationship value.
| value | new relationship value |
Definition at line 170 of file ReadoutApplication.cpp.
| void dunedaq::appmodel::ReadoutApplication::set_tp_handler | ( | const dunedaq::appmodel::DataHandlerConf * | value | ) |
Set "tp_handler" relationship value.
| value | new relationship value |
| void dunedaq::appmodel::ReadoutApplication::set_tp_source_ids | ( | const std::vector< const dunedaq::appmodel::SourceIDConf * > & | value | ) |
Set "tp_source_ids" relationship value.
| value | new relationship value |
Definition at line 155 of file ReadoutApplication.cpp.
| void dunedaq::appmodel::ReadoutApplication::set_tp_source_ids | ( | const std::vector< const dunedaq::appmodel::SourceIDConf * > & | value | ) |
Set "tp_source_ids" relationship value.
| value | new relationship value |
| void dunedaq::appmodel::ReadoutApplication::set_uses | ( | const dunedaq::appmodel::RoHwConfig * | value | ) |
Set "uses" relationship value. Configuration of the host hardware resources used by this application.
| value | new relationship value |
Definition at line 160 of file ReadoutApplication.cpp.
| void dunedaq::appmodel::ReadoutApplication::set_uses | ( | const dunedaq::appmodel::RoHwConfig * | value | ) |
Set "uses" relationship value. Configuration of the host hardware resources used by this application.
| value | new relationship value |
|
friend |
Definition at line 44 of file ReadoutApplication.hpp.
|
friend |
Definition at line 46 of file ReadoutApplication.hpp.
|
friend |
Definition at line 45 of file ReadoutApplication.hpp.
|
friend |
Definition at line 47 of file ReadoutApplication.hpp.
|
private |
Definition at line 93 of file ReadoutApplication.hpp.
|
private |
Definition at line 100 of file ReadoutApplication.hpp.
|
private |
Definition at line 101 of file ReadoutApplication.hpp.
|
private |
Definition at line 103 of file ReadoutApplication.hpp.
|
private |
Definition at line 102 of file ReadoutApplication.hpp.
|
private |
Definition at line 98 of file ReadoutApplication.hpp.
|
private |
Definition at line 95 of file ReadoutApplication.hpp.
|
private |
Definition at line 94 of file ReadoutApplication.hpp.
|
private |
Definition at line 99 of file ReadoutApplication.hpp.
|
private |
Definition at line 96 of file ReadoutApplication.hpp.
|
private |
Definition at line 97 of file ReadoutApplication.hpp.
|
inlinestatic |
Definition at line 110 of file ReadoutApplication.hpp.
|
static |
The name of the configuration class.
Definition at line 59 of file ReadoutApplication.hpp.
|
inlinestatic |
Definition at line 218 of file ReadoutApplication.hpp.
|
inlinestatic |
Definition at line 219 of file ReadoutApplication.hpp.
|
inlinestatic |
Definition at line 221 of file ReadoutApplication.hpp.
|
inlinestatic |
Definition at line 220 of file ReadoutApplication.hpp.
|
inlinestatic |
Definition at line 216 of file ReadoutApplication.hpp.
|
inlinestatic |
Definition at line 112 of file ReadoutApplication.hpp.
|
inlinestatic |
Definition at line 111 of file ReadoutApplication.hpp.
|
inlinestatic |
Definition at line 217 of file ReadoutApplication.hpp.
|
inlinestatic |
Definition at line 214 of file ReadoutApplication.hpp.
|
inlinestatic |
Definition at line 215 of file ReadoutApplication.hpp.