DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <Session.hpp>
Classes | |
struct | Controller_log_level |
Public Member Functions | |
virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
Print details of the Session 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_description () const |
Get "description" attribute value. A description of the session. | |
void | set_description (const std::string &value) |
Set "description" attribute value. A description of the session. | |
uint32_t | get_data_request_timeout_ms () const |
Get "data_request_timeout_ms" attribute value. The baseline data request timeout that will be used by modules in the Readout and Trigger subsystems (i.e. any module that produces data fragments). Downstream timeouts, such as the trigger-record-building timeout, are derived from this. | |
void | set_data_request_timeout_ms (uint32_t value) |
Set "data_request_timeout_ms" attribute value. The baseline data request timeout that will be used by modules in the Readout and Trigger subsystems (i.e. any module that produces data fragments). Downstream timeouts, such as the trigger-record-building timeout, are derived from this. | |
uint32_t | get_data_rate_slowdown_factor () const |
Get "data_rate_slowdown_factor" attribute value. "Factor by which to suppress data generation. | |
void | set_data_rate_slowdown_factor (uint32_t value) |
Set "data_rate_slowdown_factor" attribute value. "Factor by which to suppress data generation. | |
const std::string & | get_rte_script () const |
Get "rte_script" attribute value. Path to a script for setting up the runtime environment for DAQ applications. | |
void | set_rte_script (const std::string &value) |
Set "rte_script" attribute value. Path to a script for setting up the runtime environment for DAQ applications. | |
const std::string & | get_controller_log_level () const |
Get "controller_log_level" attribute value. Log level to use for drunc controllers. | |
void | set_controller_log_level (const std::string &value) |
Set "controller_log_level" attribute value. Log level to use for drunc controllers. | |
const std::string & | get_log_path () const |
Get "log_path" attribute value. Where the applications, controllers and infrastructure applications stdout/err go. This is overwritten by the Application'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 is overwritten by the Application's log_path. If none of them is set, PWD is used. | |
const dunedaq::confmodel::ConnectivityService * | get_connectivity_service () const |
Get "connectivity_service" relationship value. Configuration for the Connectivity Service lookups. | |
void | set_connectivity_service (const dunedaq::confmodel::ConnectivityService *value) |
Set "connectivity_service" relationship value. Configuration for the Connectivity Service lookups. | |
const std::vector< const dunedaq::confmodel::VariableBase * > & | get_environment () const |
Get "environment" relationship value. Define process environment for any application run in given session. | |
void | set_environment (const std::vector< const dunedaq::confmodel::VariableBase * > &value) |
Set "environment" relationship value. Define process environment for any application run in given session. | |
const dunedaq::confmodel::Segment * | get_segment () const |
Get "segment" relationship value. List of configuration Segments that form this Session. | |
void | set_segment (const dunedaq::confmodel::Segment *value) |
Set "segment" relationship value. List of configuration Segments that form this Session. | |
const std::vector< const dunedaq::confmodel::Application * > & | get_infrastructure_applications () const |
Get "infrastructure_applications" relationship value. | |
void | set_infrastructure_applications (const std::vector< const dunedaq::confmodel::Application * > &value) |
Set "infrastructure_applications" relationship value. | |
const dunedaq::confmodel::DetectorConfig * | get_detector_configuration () const |
Get "detector_configuration" relationship value. | |
void | set_detector_configuration (const dunedaq::confmodel::DetectorConfig *value) |
Set "detector_configuration" relationship value. | |
const dunedaq::confmodel::OpMonURI * | get_opmon_uri () const |
Get "opmon_uri" relationship value. Configuration for the OpMon facilities used across the session. | |
void | set_opmon_uri (const dunedaq::confmodel::OpMonURI *value) |
Set "opmon_uri" relationship value. Configuration for the OpMon facilities used across the session. | |
std::vector< const dunedaq::confmodel::Application * > | all_applications () const |
std::vector< const dunedaq::confmodel::Application * > | enabled_applications () const |
const ResourceSet * | resource_root () const override |
virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
Print details of the Session 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_description () const |
Get "description" attribute value. A description of the session. | |
void | set_description (const std::string &value) |
Set "description" attribute value. A description of the session. | |
uint32_t | get_data_request_timeout_ms () const |
Get "data_request_timeout_ms" attribute value. The baseline data request timeout that will be used by modules in the Readout and Trigger subsystems (i.e. any module that produces data fragments). Downstream timeouts, such as the trigger-record-building timeout, are derived from this. | |
void | set_data_request_timeout_ms (uint32_t value) |
Set "data_request_timeout_ms" attribute value. The baseline data request timeout that will be used by modules in the Readout and Trigger subsystems (i.e. any module that produces data fragments). Downstream timeouts, such as the trigger-record-building timeout, are derived from this. | |
uint32_t | get_data_rate_slowdown_factor () const |
Get "data_rate_slowdown_factor" attribute value. "Factor by which to suppress data generation. | |
void | set_data_rate_slowdown_factor (uint32_t value) |
Set "data_rate_slowdown_factor" attribute value. "Factor by which to suppress data generation. | |
const std::string & | get_rte_script () const |
Get "rte_script" attribute value. Path to a script for setting up the runtime environment for DAQ applications. | |
void | set_rte_script (const std::string &value) |
Set "rte_script" attribute value. Path to a script for setting up the runtime environment for DAQ applications. | |
const std::string & | get_controller_log_level () const |
Get "controller_log_level" attribute value. Log level to use for drunc controllers. | |
void | set_controller_log_level (const std::string &value) |
Set "controller_log_level" attribute value. Log level to use for drunc controllers. | |
const std::string & | get_log_path () const |
Get "log_path" attribute value. Where the applications, controllers and infrastructure applications stdout/err go. This is overwritten by the Application'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 is overwritten by the Application's log_path. If none of them is set, PWD is used. | |
const dunedaq::confmodel::ConnectivityService * | get_connectivity_service () const |
Get "connectivity_service" relationship value. Configuration for the Connectivity Service lookups. | |
void | set_connectivity_service (const dunedaq::confmodel::ConnectivityService *value) |
Set "connectivity_service" relationship value. Configuration for the Connectivity Service lookups. | |
const std::vector< const dunedaq::confmodel::VariableBase * > & | get_environment () const |
Get "environment" relationship value. Define process environment for any application run in given session. | |
void | set_environment (const std::vector< const dunedaq::confmodel::VariableBase * > &value) |
Set "environment" relationship value. Define process environment for any application run in given session. | |
const dunedaq::confmodel::Segment * | get_segment () const |
Get "segment" relationship value. List of configuration Segments that form this Session. | |
void | set_segment (const dunedaq::confmodel::Segment *value) |
Set "segment" relationship value. List of configuration Segments that form this Session. | |
const std::vector< const dunedaq::confmodel::Application * > & | get_infrastructure_applications () const |
Get "infrastructure_applications" relationship value. | |
void | set_infrastructure_applications (const std::vector< const dunedaq::confmodel::Application * > &value) |
Set "infrastructure_applications" relationship value. | |
const dunedaq::confmodel::DetectorConfig * | get_detector_configuration () const |
Get "detector_configuration" relationship value. | |
void | set_detector_configuration (const dunedaq::confmodel::DetectorConfig *value) |
Set "detector_configuration" relationship value. | |
const dunedaq::confmodel::OpMonURI * | get_opmon_uri () const |
Get "opmon_uri" relationship value. Configuration for the OpMon facilities used across the session. | |
void | set_opmon_uri (const dunedaq::confmodel::OpMonURI *value) |
Set "opmon_uri" relationship value. Configuration for the OpMon facilities used across the session. | |
std::vector< const dunedaq::confmodel::Application * > | all_applications () const |
std::vector< const dunedaq::confmodel::Application * > | enabled_applications () const |
const ResourceSet * | resource_root () const override |
![]() | |
const std::vector< const dunedaq::confmodel::Resource * > & | get_disabled () const |
Get "disabled" relationship value. Resources that should not participate in the current run. | |
void | set_disabled (const std::vector< const dunedaq::confmodel::Resource * > &value) |
Set "disabled" relationship value. Resources that should not participate in the current run. | |
const dunedaq::confmodel::DisabledResources & | disabled_components () const |
const std::vector< const dunedaq::confmodel::Resource * > & | get_disabled () const |
Get "disabled" relationship value. Resources that should not participate in the current run. | |
void | set_disabled (const std::vector< const dunedaq::confmodel::Resource * > &value) |
Set "disabled" relationship value. Resources that should not participate in the current run. | |
const dunedaq::confmodel::DisabledResources & | disabled_components () 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. | |
Static Public Member Functions | |
static const std::string & | __get_description_str () noexcept |
static const std::string & | __get_data_request_timeout_ms_str () noexcept |
static const std::string & | __get_data_rate_slowdown_factor_str () noexcept |
static const std::string & | __get_rte_script_str () noexcept |
static const std::string & | __get_controller_log_level_str () noexcept |
static const std::string & | __get_log_path_str () noexcept |
static const std::string & | __get_connectivity_service_str () noexcept |
static const std::string & | __get_environment_str () noexcept |
static const std::string & | __get_segment_str () noexcept |
static const std::string & | __get_infrastructure_applications_str () noexcept |
static const std::string & | __get_detector_configuration_str () noexcept |
static const std::string & | __get_opmon_uri_str () noexcept |
static const std::string & | __get_description_str () noexcept |
static const std::string & | __get_data_request_timeout_ms_str () noexcept |
static const std::string & | __get_data_rate_slowdown_factor_str () noexcept |
static const std::string & | __get_rte_script_str () noexcept |
static const std::string & | __get_controller_log_level_str () noexcept |
static const std::string & | __get_log_path_str () noexcept |
static const std::string & | __get_connectivity_service_str () noexcept |
static const std::string & | __get_environment_str () noexcept |
static const std::string & | __get_segment_str () noexcept |
static const std::string & | __get_infrastructure_applications_str () noexcept |
static const std::string & | __get_detector_configuration_str () noexcept |
static const std::string & | __get_opmon_uri_str () noexcept |
![]() | |
static const std::string & | __get_disabled_str () noexcept |
static const std::string & | __get_disabled_str () noexcept |
![]() | |
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_description = "description" |
static const std::string | s_data_request_timeout_ms = "data_request_timeout_ms" |
static const std::string | s_data_rate_slowdown_factor = "data_rate_slowdown_factor" |
static const std::string | s_rte_script = "rte_script" |
static const std::string | s_controller_log_level = "controller_log_level" |
static const std::string | s_log_path = "log_path" |
static const std::string | s_connectivity_service = "connectivity_service" |
static const std::string | s_environment = "environment" |
static const std::string | s_segment = "segment" |
static const std::string | s_infrastructure_applications = "infrastructure_applications" |
static const std::string | s_detector_configuration = "detector_configuration" |
static const std::string | s_opmon_uri = "opmon_uri" |
![]() | |
static const std::string & | s_class_name |
static const std::string | s_disabled = "disabled" |
Protected Member Functions | |
Session (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
virtual | ~Session () 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 |
Session (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
virtual | ~Session () 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 |
![]() | |
ResourceTree (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
virtual | ~ResourceTree () noexcept |
bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
ResourceTree (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
virtual | ~ResourceTree () 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. | |
Private Member Functions | |
std::vector< const Application * > | getSegmentApps (const Segment *, bool) const |
std::vector< const Application * > | getSegmentApps (const Segment *, bool) const |
Private Attributes | |
std::string | m_description |
uint32_t | m_data_request_timeout_ms |
uint32_t | m_data_rate_slowdown_factor |
std::string | m_rte_script |
std::string | m_controller_log_level |
std::string | m_log_path |
const dunedaq::confmodel::ConnectivityService * | m_connectivity_service |
std::vector< const dunedaq::confmodel::VariableBase * > | m_environment |
const dunedaq::confmodel::Segment * | m_segment |
std::vector< const dunedaq::confmodel::Application * > | m_infrastructure_applications |
const dunedaq::confmodel::DetectorConfig * | m_detector_configuration |
const dunedaq::confmodel::OpMonURI * | m_opmon_uri |
Friends | |
class | conffwk::Configuration |
class | conffwk::DalObject |
class | conffwk::DalFactory |
class | conffwk::DalRegistry |
class | DisabledResources |
Additional Inherited Members | |
![]() | |
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 Session.hpp.
|
protectednoexcept |
Definition at line 36 of file Session.cpp.
|
protectedvirtualnoexcept |
Definition at line 115 of file Session.cpp.
|
protectednoexcept |
|
protectedvirtualnoexcept |
|
inlinestaticnoexcept |
Definition at line 349 of file Session.hpp.
|
inlinestaticnoexcept |
Definition at line 349 of file Session.hpp.
|
inlinestaticnoexcept |
Definition at line 126 of file Session.hpp.
|
inlinestaticnoexcept |
Definition at line 126 of file Session.hpp.
|
inlinestaticnoexcept |
Definition at line 124 of file Session.hpp.
|
inlinestaticnoexcept |
Definition at line 124 of file Session.hpp.
|
inlinestaticnoexcept |
Definition at line 123 of file Session.hpp.
|
inlinestaticnoexcept |
Definition at line 123 of file Session.hpp.
|
inlinestaticnoexcept |
Definition at line 122 of file Session.hpp.
|
inlinestaticnoexcept |
Definition at line 122 of file Session.hpp.
|
inlinestaticnoexcept |
Definition at line 353 of file Session.hpp.
|
inlinestaticnoexcept |
Definition at line 353 of file Session.hpp.
|
inlinestaticnoexcept |
Definition at line 350 of file Session.hpp.
|
inlinestaticnoexcept |
Definition at line 350 of file Session.hpp.
|
inlinestaticnoexcept |
Definition at line 352 of file Session.hpp.
|
inlinestaticnoexcept |
Definition at line 352 of file Session.hpp.
|
inlinestaticnoexcept |
Definition at line 127 of file Session.hpp.
|
inlinestaticnoexcept |
Definition at line 127 of file Session.hpp.
|
inlinestaticnoexcept |
Definition at line 354 of file Session.hpp.
|
inlinestaticnoexcept |
Definition at line 354 of file Session.hpp.
|
inlinestaticnoexcept |
Definition at line 125 of file Session.hpp.
|
inlinestaticnoexcept |
Definition at line 125 of file Session.hpp.
|
inlinestaticnoexcept |
Definition at line 351 of file Session.hpp.
|
inlinestaticnoexcept |
Definition at line 351 of file Session.hpp.
std::vector< const Application * > dunedaq::confmodel::Session::all_applications | ( | ) | const |
Returns applications defined in the Session and all of its Segments.
Definition at line 191 of file dalMethods.cpp.
std::vector< const dunedaq::confmodel::Application * > dunedaq::confmodel::Session::all_applications | ( | ) | const |
Returns applications defined in the Session and all of its Segments.
std::vector< const Application * > dunedaq::confmodel::Session::enabled_applications | ( | ) | const |
Returns all enabled applications defined in the Session and all of its Segments.
Definition at line 199 of file dalMethods.cpp.
std::vector< const dunedaq::confmodel::Application * > dunedaq::confmodel::Session::enabled_applications | ( | ) | const |
Returns all enabled applications defined in the Session and all of its Segments.
|
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::confmodel::ResourceTree.
Definition at line 119 of file Session.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::confmodel::ResourceTree.
|
protected |
Definition at line 129 of file Session.cpp.
|
protected |
|
inline |
Get "connectivity_service" relationship value. Configuration for the Connectivity Service lookups.
Definition at line 365 of file Session.hpp.
|
inline |
Get "connectivity_service" relationship value. Configuration for the Connectivity Service lookups.
Definition at line 365 of file Session.hpp.
|
inline |
Get "controller_log_level" attribute value. Log level to use for drunc controllers.
Definition at line 282 of file Session.hpp.
|
inline |
Get "controller_log_level" attribute value. Log level to use for drunc controllers.
Definition at line 282 of file Session.hpp.
|
inline |
Get "data_rate_slowdown_factor" attribute value. "Factor by which to suppress data generation.
Definition at line 204 of file Session.hpp.
|
inline |
Get "data_rate_slowdown_factor" attribute value. "Factor by which to suppress data generation.
Definition at line 204 of file Session.hpp.
|
inline |
Get "data_request_timeout_ms" attribute value. The baseline data request timeout that will be used by modules in the Readout and Trigger subsystems (i.e. any module that produces data fragments). Downstream timeouts, such as the trigger-record-building timeout, are derived from this.
Definition at line 171 of file Session.hpp.
|
inline |
Get "data_request_timeout_ms" attribute value. The baseline data request timeout that will be used by modules in the Readout and Trigger subsystems (i.e. any module that produces data fragments). Downstream timeouts, such as the trigger-record-building timeout, are derived from this.
Definition at line 171 of file Session.hpp.
|
inline |
Get "description" attribute value. A description of the session.
Definition at line 138 of file Session.hpp.
|
inline |
Get "description" attribute value. A description of the session.
Definition at line 138 of file Session.hpp.
|
inline |
Get "detector_configuration" relationship value.
Definition at line 476 of file Session.hpp.
|
inline |
Get "detector_configuration" relationship value.
Definition at line 476 of file Session.hpp.
|
inline |
Get "environment" relationship value. Define process environment for any application run in given session.
Definition at line 392 of file Session.hpp.
|
inline |
Get "environment" relationship value. Define process environment for any application run in given session.
Definition at line 392 of file Session.hpp.
|
inline |
Get "infrastructure_applications" relationship value.
Definition at line 451 of file Session.hpp.
|
inline |
Get "infrastructure_applications" relationship value.
Definition at line 451 of file Session.hpp.
|
inline |
Get "log_path" attribute value. Where the applications, controllers and infrastructure applications stdout/err go. This is overwritten by the Application's log_path. If none of them is set, PWD is used.
Definition at line 315 of file Session.hpp.
|
inline |
Get "log_path" attribute value. Where the applications, controllers and infrastructure applications stdout/err go. This is overwritten by the Application's log_path. If none of them is set, PWD is used.
Definition at line 315 of file Session.hpp.
|
inline |
Get "opmon_uri" relationship value. Configuration for the OpMon facilities used across the session.
Definition at line 508 of file Session.hpp.
|
inline |
Get "opmon_uri" relationship value. Configuration for the OpMon facilities used across the session.
Definition at line 508 of file Session.hpp.
|
inline |
Get "rte_script" attribute value. Path to a script for setting up the runtime environment for DAQ applications.
Definition at line 237 of file Session.hpp.
|
inline |
Get "rte_script" attribute value. Path to a script for setting up the runtime environment for DAQ applications.
Definition at line 237 of file Session.hpp.
|
inline |
Get "segment" relationship value. List of configuration Segments that form this Session.
Definition at line 419 of file Session.hpp.
|
inline |
Get "segment" relationship value. List of configuration Segments that form this Session.
Definition at line 419 of file Session.hpp.
|
private |
Definition at line 166 of file dalMethods.cpp.
|
private |
|
protectedvirtual |
Initialize object (method generated by genconffwk)
init_children | if true, initialize referenced objects |
Reimplemented from dunedaq::confmodel::ResourceTree.
Definition at line 90 of file Session.cpp.
|
protectedvirtual |
Initialize object (method generated by genconffwk)
init_children | if true, initialize referenced objects |
Reimplemented from dunedaq::confmodel::ResourceTree.
|
virtual |
Print details of the Session 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::confmodel::ResourceTree.
Definition at line 49 of file Session.cpp.
|
virtual |
Print details of the Session 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::confmodel::ResourceTree.
|
overridevirtual |
Implements dunedaq::confmodel::ResourceTree.
Definition at line 182 of file Session.cpp.
|
overridevirtual |
Implements dunedaq::confmodel::ResourceTree.
void dunedaq::confmodel::Session::set_connectivity_service | ( | const dunedaq::confmodel::ConnectivityService * | value | ) |
Set "connectivity_service" relationship value. Configuration for the Connectivity Service lookups.
value | new relationship value |
Definition at line 150 of file Session.cpp.
void dunedaq::confmodel::Session::set_connectivity_service | ( | const dunedaq::confmodel::ConnectivityService * | value | ) |
Set "connectivity_service" relationship value. Configuration for the Connectivity Service lookups.
value | new relationship value |
|
inline |
Set "controller_log_level" attribute value. Log level to use for drunc controllers.
value | new attribute value |
Definition at line 298 of file Session.hpp.
|
inline |
Set "controller_log_level" attribute value. Log level to use for drunc controllers.
value | new attribute value |
Definition at line 298 of file Session.hpp.
|
inline |
Set "data_rate_slowdown_factor" attribute value. "Factor by which to suppress data generation.
value | new attribute value |
Definition at line 220 of file Session.hpp.
|
inline |
Set "data_rate_slowdown_factor" attribute value. "Factor by which to suppress data generation.
value | new attribute value |
Definition at line 220 of file Session.hpp.
|
inline |
Set "data_request_timeout_ms" attribute value. The baseline data request timeout that will be used by modules in the Readout and Trigger subsystems (i.e. any module that produces data fragments). Downstream timeouts, such as the trigger-record-building timeout, are derived from this.
value | new attribute value |
Definition at line 187 of file Session.hpp.
|
inline |
Set "data_request_timeout_ms" attribute value. The baseline data request timeout that will be used by modules in the Readout and Trigger subsystems (i.e. any module that produces data fragments). Downstream timeouts, such as the trigger-record-building timeout, are derived from this.
value | new attribute value |
Definition at line 187 of file Session.hpp.
|
inline |
Set "description" attribute value. A description of the session.
value | new attribute value |
Definition at line 154 of file Session.hpp.
|
inline |
Set "description" attribute value. A description of the session.
value | new attribute value |
Definition at line 154 of file Session.hpp.
void dunedaq::confmodel::Session::set_detector_configuration | ( | const dunedaq::confmodel::DetectorConfig * | value | ) |
Set "detector_configuration" relationship value.
value | new relationship value |
Definition at line 170 of file Session.cpp.
void dunedaq::confmodel::Session::set_detector_configuration | ( | const dunedaq::confmodel::DetectorConfig * | value | ) |
Set "detector_configuration" relationship value.
value | new relationship value |
void dunedaq::confmodel::Session::set_environment | ( | const std::vector< const dunedaq::confmodel::VariableBase * > & | value | ) |
Set "environment" relationship value. Define process environment for any application run in given session.
value | new relationship value |
Definition at line 155 of file Session.cpp.
void dunedaq::confmodel::Session::set_environment | ( | const std::vector< const dunedaq::confmodel::VariableBase * > & | value | ) |
Set "environment" relationship value. Define process environment for any application run in given session.
value | new relationship value |
void dunedaq::confmodel::Session::set_infrastructure_applications | ( | const std::vector< const dunedaq::confmodel::Application * > & | value | ) |
Set "infrastructure_applications" relationship value.
value | new relationship value |
Definition at line 165 of file Session.cpp.
void dunedaq::confmodel::Session::set_infrastructure_applications | ( | const std::vector< const dunedaq::confmodel::Application * > & | value | ) |
Set "infrastructure_applications" relationship value.
value | new relationship value |
|
inline |
Set "log_path" attribute value. Where the applications, controllers and infrastructure applications stdout/err go. This is overwritten by the Application's log_path. If none of them is set, PWD is used.
value | new attribute value |
Definition at line 331 of file Session.hpp.
|
inline |
Set "log_path" attribute value. Where the applications, controllers and infrastructure applications stdout/err go. This is overwritten by the Application's log_path. If none of them is set, PWD is used.
value | new attribute value |
Definition at line 331 of file Session.hpp.
void dunedaq::confmodel::Session::set_opmon_uri | ( | const dunedaq::confmodel::OpMonURI * | value | ) |
Set "opmon_uri" relationship value. Configuration for the OpMon facilities used across the session.
value | new relationship value |
Definition at line 175 of file Session.cpp.
void dunedaq::confmodel::Session::set_opmon_uri | ( | const dunedaq::confmodel::OpMonURI * | value | ) |
Set "opmon_uri" relationship value. Configuration for the OpMon facilities used across the session.
value | new relationship value |
|
inline |
Set "rte_script" attribute value. Path to a script for setting up the runtime environment for DAQ applications.
value | new attribute value |
Definition at line 253 of file Session.hpp.
|
inline |
Set "rte_script" attribute value. Path to a script for setting up the runtime environment for DAQ applications.
value | new attribute value |
Definition at line 253 of file Session.hpp.
void dunedaq::confmodel::Session::set_segment | ( | const dunedaq::confmodel::Segment * | value | ) |
Set "segment" relationship value. List of configuration Segments that form this Session.
value | new relationship value |
Definition at line 160 of file Session.cpp.
void dunedaq::confmodel::Session::set_segment | ( | const dunedaq::confmodel::Segment * | value | ) |
Set "segment" relationship value. List of configuration Segments that form this Session.
value | new relationship value |
|
friend |
Definition at line 44 of file Session.hpp.
|
friend |
Definition at line 46 of file Session.hpp.
|
friend |
Definition at line 45 of file Session.hpp.
|
friend |
Definition at line 47 of file Session.hpp.
|
friend |
Definition at line 107 of file Session.hpp.
|
private |
Definition at line 99 of file Session.hpp.
|
private |
Definition at line 97 of file Session.hpp.
|
private |
Definition at line 95 of file Session.hpp.
|
private |
Definition at line 94 of file Session.hpp.
|
private |
Definition at line 93 of file Session.hpp.
|
private |
Definition at line 103 of file Session.hpp.
|
private |
Definition at line 100 of file Session.hpp.
|
private |
Definition at line 102 of file Session.hpp.
|
private |
Definition at line 98 of file Session.hpp.
|
private |
Definition at line 104 of file Session.hpp.
|
private |
Definition at line 96 of file Session.hpp.
|
private |
Definition at line 101 of file Session.hpp.
|
static |
The name of the configuration class.
Definition at line 59 of file Session.hpp.
|
inlinestatic |
Definition at line 342 of file Session.hpp.
|
inlinestatic |
Definition at line 119 of file Session.hpp.
|
inlinestatic |
Definition at line 117 of file Session.hpp.
|
inlinestatic |
Definition at line 116 of file Session.hpp.
|
inlinestatic |
Definition at line 115 of file Session.hpp.
|
inlinestatic |
Definition at line 346 of file Session.hpp.
|
inlinestatic |
Definition at line 343 of file Session.hpp.
|
inlinestatic |
Definition at line 345 of file Session.hpp.
|
inlinestatic |
Definition at line 120 of file Session.hpp.
|
inlinestatic |
Definition at line 347 of file Session.hpp.
|
inlinestatic |
Definition at line 118 of file Session.hpp.
|
inlinestatic |
Definition at line 344 of file Session.hpp.