|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <FixedTimeTCMakerModuleConf.hpp>
Public Member Functions | |
| virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
| Print details of the FixedTimeTCMakerModuleConf 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. | |
| uint64_t | get_wait_time_ms () const |
| Get "wait_time_ms" attribute value. Time to wait between TriggerCandidates. | |
| void | set_wait_time_ms (uint64_t value) |
| Set "wait_time_ms" attribute value. Time to wait between TriggerCandidates. | |
| const std::string & | get_tc_type_name () const |
| Get "tc_type_name" attribute value. Enumerator name of the TC type, e.g. kTiming. | |
| void | set_tc_type_name (const std::string &value) |
| Set "tc_type_name" attribute value. Enumerator name of the TC type, e.g. kTiming. | |
| const std::vector< const dunedaq::appmodel::FixedTimeTCConf * > & | get_triggers () const |
| Get "triggers" relationship value. Timestamps for the TCs to generate. | |
| void | set_triggers (const std::vector< const dunedaq::appmodel::FixedTimeTCConf * > &value) |
| Set "triggers" relationship value. Timestamps for the TCs to generate. | |
| virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
| Print details of the FixedTimeTCMakerModuleConf 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. | |
| uint64_t | get_wait_time_ms () const |
| Get "wait_time_ms" attribute value. Time to wait between TriggerCandidates. | |
| void | set_wait_time_ms (uint64_t value) |
| Set "wait_time_ms" attribute value. Time to wait between TriggerCandidates. | |
| const std::string & | get_tc_type_name () const |
| Get "tc_type_name" attribute value. Enumerator name of the TC type, e.g. kTiming. | |
| void | set_tc_type_name (const std::string &value) |
| Set "tc_type_name" attribute value. Enumerator name of the TC type, e.g. kTiming. | |
| const std::vector< const dunedaq::appmodel::FixedTimeTCConf * > & | get_triggers () const |
| Get "triggers" relationship value. Timestamps for the TCs to generate. | |
| void | set_triggers (const std::vector< const dunedaq::appmodel::FixedTimeTCConf * > &value) |
| Set "triggers" relationship value. Timestamps for the TCs to generate. | |
Public Member Functions inherited from dunedaq::appmodel::StandaloneTCMakerConf | |
| const std::string & | get_template_for () const |
| Get "template_for" attribute value. | |
| void | set_template_for (const std::string &value) |
| Set "template_for" attribute value. | |
| const std::string & | get_timestamp_method () const |
| Get "timestamp_method" attribute value. Option to pick source for timing (system / timesync) | |
| void | set_timestamp_method (const std::string &value) |
| Set "timestamp_method" attribute value. Option to pick source for timing (system / timesync) | |
| bool | get_latency_monitoring () const |
| Get "latency_monitoring" attribute value. Should we monitor latency in Grafana? | |
| void | set_latency_monitoring (bool value) |
| Set "latency_monitoring" attribute value. Should we monitor latency in Grafana? | |
| const std::string & | get_template_for () const |
| Get "template_for" attribute value. | |
| void | set_template_for (const std::string &value) |
| Set "template_for" attribute value. | |
| const std::string & | get_timestamp_method () const |
| Get "timestamp_method" attribute value. Option to pick source for timing (system / timesync) | |
| void | set_timestamp_method (const std::string &value) |
| Set "timestamp_method" attribute value. Option to pick source for timing (system / timesync) | |
| bool | get_latency_monitoring () const |
| Get "latency_monitoring" attribute value. Should we monitor latency in Grafana? | |
| void | set_latency_monitoring (bool value) |
| Set "latency_monitoring" attribute value. Should we monitor latency in Grafana? | |
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. | |
Static Public Member Functions | |
| static const std::string & | __get_wait_time_ms_str () noexcept |
| static const std::string & | __get_tc_type_name_str () noexcept |
| static const std::string & | __get_triggers_str () noexcept |
| static const std::string & | __get_wait_time_ms_str () noexcept |
| static const std::string & | __get_tc_type_name_str () noexcept |
| static const std::string & | __get_triggers_str () noexcept |
Static Public Member Functions inherited from dunedaq::appmodel::StandaloneTCMakerConf | |
| static const std::string & | __get_template_for_str () noexcept |
| static const std::string & | __get_timestamp_method_str () noexcept |
| static const std::string & | __get_latency_monitoring_str () noexcept |
| static const std::string & | __get_template_for_str () noexcept |
| static const std::string & | __get_timestamp_method_str () noexcept |
| static const std::string & | __get_latency_monitoring_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_wait_time_ms = "wait_time_ms" |
| static const std::string | s_tc_type_name = "tc_type_name" |
| static const std::string | s_triggers = "triggers" |
Static Public Attributes inherited from dunedaq::appmodel::StandaloneTCMakerConf | |
| static const std::string & | s_class_name |
| static const std::string | s_template_for = "template_for" |
| static const std::string | s_timestamp_method = "timestamp_method" |
| static const std::string | s_latency_monitoring = "latency_monitoring" |
Protected Member Functions | |
| FixedTimeTCMakerModuleConf (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~FixedTimeTCMakerModuleConf () 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 |
| FixedTimeTCMakerModuleConf (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~FixedTimeTCMakerModuleConf () 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::StandaloneTCMakerConf | |
| StandaloneTCMakerConf (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~StandaloneTCMakerConf () noexcept |
| bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
| StandaloneTCMakerConf (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~StandaloneTCMakerConf () 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. | |
Private Attributes | |
| uint64_t | m_wait_time_ms |
| std::string | m_tc_type_name |
| std::vector< const dunedaq::appmodel::FixedTimeTCConf * > | m_triggers |
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 32 of file FixedTimeTCMakerModuleConf.hpp.
|
protectednoexcept |
Definition at line 31 of file FixedTimeTCMakerModuleConf.cpp.
|
protectedvirtualnoexcept |
Definition at line 88 of file FixedTimeTCMakerModuleConf.cpp.
|
protectednoexcept |
|
protectedvirtualnoexcept |
|
inlinestaticnoexcept |
Definition at line 96 of file FixedTimeTCMakerModuleConf.hpp.
|
inlinestaticnoexcept |
Definition at line 96 of file FixedTimeTCMakerModuleConf.hpp.
|
inlinestaticnoexcept |
Definition at line 169 of file FixedTimeTCMakerModuleConf.hpp.
|
inlinestaticnoexcept |
Definition at line 169 of file FixedTimeTCMakerModuleConf.hpp.
|
inlinestaticnoexcept |
Definition at line 95 of file FixedTimeTCMakerModuleConf.hpp.
|
inlinestaticnoexcept |
Definition at line 95 of file FixedTimeTCMakerModuleConf.hpp.
|
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::StandaloneTCMakerConf.
Definition at line 92 of file FixedTimeTCMakerModuleConf.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::StandaloneTCMakerConf.
|
protected |
Definition at line 102 of file FixedTimeTCMakerModuleConf.cpp.
|
protected |
|
inline |
Get "tc_type_name" attribute value. Enumerator name of the TC type, e.g. kTiming.
Definition at line 140 of file FixedTimeTCMakerModuleConf.hpp.
|
inline |
Get "tc_type_name" attribute value. Enumerator name of the TC type, e.g. kTiming.
Definition at line 140 of file FixedTimeTCMakerModuleConf.hpp.
|
inline |
Get "triggers" relationship value. Timestamps for the TCs to generate.
Definition at line 180 of file FixedTimeTCMakerModuleConf.hpp.
|
inline |
Get "triggers" relationship value. Timestamps for the TCs to generate.
Definition at line 180 of file FixedTimeTCMakerModuleConf.hpp.
|
inline |
Get "wait_time_ms" attribute value. Time to wait between TriggerCandidates.
Definition at line 107 of file FixedTimeTCMakerModuleConf.hpp.
|
inline |
Get "wait_time_ms" attribute value. Time to wait between TriggerCandidates.
Definition at line 107 of file FixedTimeTCMakerModuleConf.hpp.
|
protectedvirtual |
Initialize object (method generated by genconffwk)
| init_children | if true, initialize referenced objects |
Reimplemented from dunedaq::appmodel::StandaloneTCMakerConf.
Definition at line 72 of file FixedTimeTCMakerModuleConf.cpp.
|
protectedvirtual |
Initialize object (method generated by genconffwk)
| init_children | if true, initialize referenced objects |
Reimplemented from dunedaq::appmodel::StandaloneTCMakerConf.
|
virtual |
Print details of the FixedTimeTCMakerModuleConf 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::StandaloneTCMakerConf.
Definition at line 40 of file FixedTimeTCMakerModuleConf.cpp.
|
virtual |
Print details of the FixedTimeTCMakerModuleConf 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::StandaloneTCMakerConf.
|
inline |
Set "tc_type_name" attribute value. Enumerator name of the TC type, e.g. kTiming.
| value | new attribute value |
Definition at line 156 of file FixedTimeTCMakerModuleConf.hpp.
|
inline |
Set "tc_type_name" attribute value. Enumerator name of the TC type, e.g. kTiming.
| value | new attribute value |
Definition at line 156 of file FixedTimeTCMakerModuleConf.hpp.
| void dunedaq::appmodel::FixedTimeTCMakerModuleConf::set_triggers | ( | const std::vector< const dunedaq::appmodel::FixedTimeTCConf * > & | value | ) |
Set "triggers" relationship value. Timestamps for the TCs to generate.
| value | new relationship value |
Definition at line 123 of file FixedTimeTCMakerModuleConf.cpp.
| void dunedaq::appmodel::FixedTimeTCMakerModuleConf::set_triggers | ( | const std::vector< const dunedaq::appmodel::FixedTimeTCConf * > & | value | ) |
Set "triggers" relationship value. Timestamps for the TCs to generate.
| value | new relationship value |
|
inline |
Set "wait_time_ms" attribute value. Time to wait between TriggerCandidates.
| value | new attribute value |
Definition at line 123 of file FixedTimeTCMakerModuleConf.hpp.
|
inline |
Set "wait_time_ms" attribute value. Time to wait between TriggerCandidates.
| value | new attribute value |
Definition at line 123 of file FixedTimeTCMakerModuleConf.hpp.
|
friend |
Definition at line 34 of file FixedTimeTCMakerModuleConf.hpp.
|
friend |
Definition at line 36 of file FixedTimeTCMakerModuleConf.hpp.
|
friend |
Definition at line 35 of file FixedTimeTCMakerModuleConf.hpp.
|
friend |
Definition at line 37 of file FixedTimeTCMakerModuleConf.hpp.
|
private |
Definition at line 84 of file FixedTimeTCMakerModuleConf.hpp.
|
private |
Definition at line 85 of file FixedTimeTCMakerModuleConf.hpp.
|
private |
Definition at line 83 of file FixedTimeTCMakerModuleConf.hpp.
|
static |
The name of the configuration class.
Definition at line 49 of file FixedTimeTCMakerModuleConf.hpp.
|
inlinestatic |
Definition at line 93 of file FixedTimeTCMakerModuleConf.hpp.
|
inlinestatic |
Definition at line 167 of file FixedTimeTCMakerModuleConf.hpp.
|
inlinestatic |
Definition at line 92 of file FixedTimeTCMakerModuleConf.hpp.