|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <TimingHardwareManagerConf.hpp>
Public Member Functions | |
| virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
| Print details of the TimingHardwareManagerConf 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. | |
| uint32_t | get_gather_interval () const |
| Get "gather_interval" attribute value. Hardware device data gather interval [us]. | |
| void | set_gather_interval (uint32_t value) |
| Set "gather_interval" attribute value. Hardware device data gather interval [us]. | |
| uint32_t | get_gather_interval_debug () const |
| Get "gather_interval_debug" attribute value. Hardware device data gather debug interval [us]. | |
| void | set_gather_interval_debug (uint32_t value) |
| Set "gather_interval_debug" attribute value. Hardware device data gather debug interval [us]. | |
| const std::string & | get_monitored_device_name_master () const |
| Get "monitored_device_name_master" attribute value. Name of timing master device to be monitored. | |
| void | set_monitored_device_name_master (const std::string &value) |
| Set "monitored_device_name_master" attribute value. Name of timing master device to be monitored. | |
| const std::string & | get_monitored_device_name_endpoint () const |
| Get "monitored_device_name_endpoint" attribute value. Name of timing endpoint device to be monitored. | |
| void | set_monitored_device_name_endpoint (const std::string &value) |
| Set "monitored_device_name_endpoint" attribute value. Name of timing endpoint device to be monitored. | |
| const std::string & | get_monitored_device_name_hsi () const |
| Get "monitored_device_name_hsi" attribute value. Name of hsi device to be monitored. | |
| void | set_monitored_device_name_hsi (const std::string &value) |
| Set "monitored_device_name_hsi" attribute value. Name of hsi device to be monitored. | |
| const std::vector< const dunedaq::timinglibs::dal::TimingFanoutDevice * > & | get_monitored_device_names_fanout () const |
| Get "monitored_device_names_fanout" relationship value. Timing fanout devices to be monitored. | |
| void | set_monitored_device_names_fanout (const std::vector< const dunedaq::timinglibs::dal::TimingFanoutDevice * > &value) |
| Set "monitored_device_names_fanout" relationship value. Timing fanout devices to be monitored. | |
| virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
| Print details of the TimingHardwareManagerConf 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. | |
| uint32_t | get_gather_interval () const |
| Get "gather_interval" attribute value. Hardware device data gather interval [us]. | |
| void | set_gather_interval (uint32_t value) |
| Set "gather_interval" attribute value. Hardware device data gather interval [us]. | |
| uint32_t | get_gather_interval_debug () const |
| Get "gather_interval_debug" attribute value. Hardware device data gather debug interval [us]. | |
| void | set_gather_interval_debug (uint32_t value) |
| Set "gather_interval_debug" attribute value. Hardware device data gather debug interval [us]. | |
| const std::string & | get_monitored_device_name_master () const |
| Get "monitored_device_name_master" attribute value. Name of timing master device to be monitored. | |
| void | set_monitored_device_name_master (const std::string &value) |
| Set "monitored_device_name_master" attribute value. Name of timing master device to be monitored. | |
| const std::string & | get_monitored_device_name_endpoint () const |
| Get "monitored_device_name_endpoint" attribute value. Name of timing endpoint device to be monitored. | |
| void | set_monitored_device_name_endpoint (const std::string &value) |
| Set "monitored_device_name_endpoint" attribute value. Name of timing endpoint device to be monitored. | |
| const std::string & | get_monitored_device_name_hsi () const |
| Get "monitored_device_name_hsi" attribute value. Name of hsi device to be monitored. | |
| void | set_monitored_device_name_hsi (const std::string &value) |
| Set "monitored_device_name_hsi" attribute value. Name of hsi device to be monitored. | |
| const std::vector< const dunedaq::timinglibs::dal::TimingFanoutDevice * > & | get_monitored_device_names_fanout () const |
| Get "monitored_device_names_fanout" relationship value. Timing fanout devices to be monitored. | |
| void | set_monitored_device_names_fanout (const std::vector< const dunedaq::timinglibs::dal::TimingFanoutDevice * > &value) |
| Set "monitored_device_names_fanout" relationship value. Timing fanout devices to be monitored. | |
Public Member Functions inherited from dunedaq::timinglibs::dal::TimingHardwareInterfaceConf | |
| const std::string & | get_uhal_log_level () const |
| Get "uhal_log_level" attribute value. Log level for uhal. | |
| void | set_uhal_log_level (const std::string &value) |
| Set "uhal_log_level" attribute value. Log level for uhal. | |
| const std::string & | get_connections_file () const |
| Get "connections_file" attribute value. device connections file. | |
| void | set_connections_file (const std::string &value) |
| Set "connections_file" attribute value. device connections file. | |
| const std::string & | get_uhal_log_level () const |
| Get "uhal_log_level" attribute value. Log level for uhal. | |
| void | set_uhal_log_level (const std::string &value) |
| Set "uhal_log_level" attribute value. Log level for uhal. | |
| const std::string & | get_connections_file () const |
| Get "connections_file" attribute value. device connections file. | |
| void | set_connections_file (const std::string &value) |
| Set "connections_file" attribute value. device connections file. | |
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_gather_interval_str () noexcept |
| static const std::string & | __get_gather_interval_debug_str () noexcept |
| static const std::string & | __get_monitored_device_name_master_str () noexcept |
| static const std::string & | __get_monitored_device_name_endpoint_str () noexcept |
| static const std::string & | __get_monitored_device_name_hsi_str () noexcept |
| static const std::string & | __get_monitored_device_names_fanout_str () noexcept |
| static const std::string & | __get_gather_interval_str () noexcept |
| static const std::string & | __get_gather_interval_debug_str () noexcept |
| static const std::string & | __get_monitored_device_name_master_str () noexcept |
| static const std::string & | __get_monitored_device_name_endpoint_str () noexcept |
| static const std::string & | __get_monitored_device_name_hsi_str () noexcept |
| static const std::string & | __get_monitored_device_names_fanout_str () noexcept |
Static Public Member Functions inherited from dunedaq::timinglibs::dal::TimingHardwareInterfaceConf | |
| static const std::string & | __get_uhal_log_level_str () noexcept |
| static const std::string & | __get_connections_file_str () noexcept |
| static const std::string & | __get_uhal_log_level_str () noexcept |
| static const std::string & | __get_connections_file_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_gather_interval = "gather_interval" |
| static const std::string | s_gather_interval_debug = "gather_interval_debug" |
| static const std::string | s_monitored_device_name_master = "monitored_device_name_master" |
| static const std::string | s_monitored_device_name_endpoint = "monitored_device_name_endpoint" |
| static const std::string | s_monitored_device_name_hsi = "monitored_device_name_hsi" |
| static const std::string | s_monitored_device_names_fanout = "monitored_device_names_fanout" |
Static Public Attributes inherited from dunedaq::timinglibs::dal::TimingHardwareInterfaceConf | |
| static const std::string & | s_class_name |
| static const std::string | s_uhal_log_level = "uhal_log_level" |
| static const std::string | s_connections_file = "connections_file" |
Protected Member Functions | |
| TimingHardwareManagerConf (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~TimingHardwareManagerConf () 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 |
| TimingHardwareManagerConf (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~TimingHardwareManagerConf () 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::timinglibs::dal::TimingHardwareInterfaceConf | |
| TimingHardwareInterfaceConf (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~TimingHardwareInterfaceConf () noexcept |
| bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
| TimingHardwareInterfaceConf (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~TimingHardwareInterfaceConf () 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 | |
| uint32_t | m_gather_interval |
| uint32_t | m_gather_interval_debug |
| std::string | m_monitored_device_name_master |
| std::string | m_monitored_device_name_endpoint |
| std::string | m_monitored_device_name_hsi |
| std::vector< const dunedaq::timinglibs::dal::TimingFanoutDevice * > | m_monitored_device_names_fanout |
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) | |
TimingHardwareManager configuration
Definition at line 39 of file TimingHardwareManagerConf.hpp.
|
protectednoexcept |
Definition at line 32 of file TimingHardwareManagerConf.cpp.
|
protectedvirtualnoexcept |
Definition at line 95 of file TimingHardwareManagerConf.cpp.
|
protectednoexcept |
|
protectedvirtualnoexcept |
|
inlinestaticnoexcept |
Definition at line 109 of file TimingHardwareManagerConf.hpp.
|
inlinestaticnoexcept |
Definition at line 109 of file TimingHardwareManagerConf.hpp.
|
inlinestaticnoexcept |
Definition at line 108 of file TimingHardwareManagerConf.hpp.
|
inlinestaticnoexcept |
Definition at line 108 of file TimingHardwareManagerConf.hpp.
|
inlinestaticnoexcept |
Definition at line 111 of file TimingHardwareManagerConf.hpp.
|
inlinestaticnoexcept |
Definition at line 111 of file TimingHardwareManagerConf.hpp.
|
inlinestaticnoexcept |
Definition at line 112 of file TimingHardwareManagerConf.hpp.
|
inlinestaticnoexcept |
Definition at line 112 of file TimingHardwareManagerConf.hpp.
|
inlinestaticnoexcept |
Definition at line 110 of file TimingHardwareManagerConf.hpp.
|
inlinestaticnoexcept |
Definition at line 110 of file TimingHardwareManagerConf.hpp.
|
inlinestaticnoexcept |
Definition at line 284 of file TimingHardwareManagerConf.hpp.
|
inlinestaticnoexcept |
Definition at line 284 of file TimingHardwareManagerConf.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::timinglibs::dal::TimingHardwareInterfaceConf.
Definition at line 99 of file TimingHardwareManagerConf.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::timinglibs::dal::TimingHardwareInterfaceConf.
|
protected |
Definition at line 109 of file TimingHardwareManagerConf.cpp.
|
protected |
|
inline |
Get "gather_interval" attribute value. Hardware device data gather interval [us].
Definition at line 123 of file TimingHardwareManagerConf.hpp.
|
inline |
Get "gather_interval" attribute value. Hardware device data gather interval [us].
Definition at line 123 of file TimingHardwareManagerConf.hpp.
|
inline |
Get "gather_interval_debug" attribute value. Hardware device data gather debug interval [us].
Definition at line 156 of file TimingHardwareManagerConf.hpp.
|
inline |
Get "gather_interval_debug" attribute value. Hardware device data gather debug interval [us].
Definition at line 156 of file TimingHardwareManagerConf.hpp.
|
inline |
Get "monitored_device_name_endpoint" attribute value. Name of timing endpoint device to be monitored.
Definition at line 222 of file TimingHardwareManagerConf.hpp.
|
inline |
Get "monitored_device_name_endpoint" attribute value. Name of timing endpoint device to be monitored.
Definition at line 222 of file TimingHardwareManagerConf.hpp.
|
inline |
Get "monitored_device_name_hsi" attribute value. Name of hsi device to be monitored.
Definition at line 255 of file TimingHardwareManagerConf.hpp.
|
inline |
Get "monitored_device_name_hsi" attribute value. Name of hsi device to be monitored.
Definition at line 255 of file TimingHardwareManagerConf.hpp.
|
inline |
Get "monitored_device_name_master" attribute value. Name of timing master device to be monitored.
Definition at line 189 of file TimingHardwareManagerConf.hpp.
|
inline |
Get "monitored_device_name_master" attribute value. Name of timing master device to be monitored.
Definition at line 189 of file TimingHardwareManagerConf.hpp.
|
inline |
Get "monitored_device_names_fanout" relationship value. Timing fanout devices to be monitored.
Definition at line 295 of file TimingHardwareManagerConf.hpp.
|
inline |
Get "monitored_device_names_fanout" relationship value. Timing fanout devices to be monitored.
Definition at line 295 of file TimingHardwareManagerConf.hpp.
|
protectedvirtual |
Initialize object (method generated by genconffwk)
| init_children | if true, initialize referenced objects |
Reimplemented from dunedaq::timinglibs::dal::TimingHardwareInterfaceConf.
Definition at line 76 of file TimingHardwareManagerConf.cpp.
|
protectedvirtual |
Initialize object (method generated by genconffwk)
| init_children | if true, initialize referenced objects |
Reimplemented from dunedaq::timinglibs::dal::TimingHardwareInterfaceConf.
|
virtual |
Print details of the TimingHardwareManagerConf 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::timinglibs::dal::TimingHardwareInterfaceConf.
Definition at line 41 of file TimingHardwareManagerConf.cpp.
|
virtual |
Print details of the TimingHardwareManagerConf 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::timinglibs::dal::TimingHardwareInterfaceConf.
|
inline |
Set "gather_interval" attribute value. Hardware device data gather interval [us].
| value | new attribute value |
Definition at line 139 of file TimingHardwareManagerConf.hpp.
|
inline |
Set "gather_interval" attribute value. Hardware device data gather interval [us].
| value | new attribute value |
Definition at line 139 of file TimingHardwareManagerConf.hpp.
|
inline |
Set "gather_interval_debug" attribute value. Hardware device data gather debug interval [us].
| value | new attribute value |
Definition at line 172 of file TimingHardwareManagerConf.hpp.
|
inline |
Set "gather_interval_debug" attribute value. Hardware device data gather debug interval [us].
| value | new attribute value |
Definition at line 172 of file TimingHardwareManagerConf.hpp.
|
inline |
Set "monitored_device_name_endpoint" attribute value. Name of timing endpoint device to be monitored.
| value | new attribute value |
Definition at line 238 of file TimingHardwareManagerConf.hpp.
|
inline |
Set "monitored_device_name_endpoint" attribute value. Name of timing endpoint device to be monitored.
| value | new attribute value |
Definition at line 238 of file TimingHardwareManagerConf.hpp.
|
inline |
Set "monitored_device_name_hsi" attribute value. Name of hsi device to be monitored.
| value | new attribute value |
Definition at line 271 of file TimingHardwareManagerConf.hpp.
|
inline |
Set "monitored_device_name_hsi" attribute value. Name of hsi device to be monitored.
| value | new attribute value |
Definition at line 271 of file TimingHardwareManagerConf.hpp.
|
inline |
Set "monitored_device_name_master" attribute value. Name of timing master device to be monitored.
| value | new attribute value |
Definition at line 205 of file TimingHardwareManagerConf.hpp.
|
inline |
Set "monitored_device_name_master" attribute value. Name of timing master device to be monitored.
| value | new attribute value |
Definition at line 205 of file TimingHardwareManagerConf.hpp.
| void dunedaq::timinglibs::dal::TimingHardwareManagerConf::set_monitored_device_names_fanout | ( | const std::vector< const dunedaq::timinglibs::dal::TimingFanoutDevice * > & | value | ) |
Set "monitored_device_names_fanout" relationship value. Timing fanout devices to be monitored.
| value | new relationship value |
Definition at line 130 of file TimingHardwareManagerConf.cpp.
| void dunedaq::timinglibs::dal::TimingHardwareManagerConf::set_monitored_device_names_fanout | ( | const std::vector< const dunedaq::timinglibs::dal::TimingFanoutDevice * > & | value | ) |
Set "monitored_device_names_fanout" relationship value. Timing fanout devices to be monitored.
| value | new relationship value |
|
friend |
Definition at line 41 of file TimingHardwareManagerConf.hpp.
|
friend |
Definition at line 43 of file TimingHardwareManagerConf.hpp.
|
friend |
Definition at line 42 of file TimingHardwareManagerConf.hpp.
|
friend |
Definition at line 44 of file TimingHardwareManagerConf.hpp.
|
private |
Definition at line 90 of file TimingHardwareManagerConf.hpp.
|
private |
Definition at line 91 of file TimingHardwareManagerConf.hpp.
|
private |
Definition at line 93 of file TimingHardwareManagerConf.hpp.
|
private |
Definition at line 94 of file TimingHardwareManagerConf.hpp.
|
private |
Definition at line 92 of file TimingHardwareManagerConf.hpp.
|
private |
Definition at line 95 of file TimingHardwareManagerConf.hpp.
|
static |
The name of the configuration class.
Definition at line 56 of file TimingHardwareManagerConf.hpp.
|
inlinestatic |
Definition at line 102 of file TimingHardwareManagerConf.hpp.
|
inlinestatic |
Definition at line 103 of file TimingHardwareManagerConf.hpp.
|
inlinestatic |
Definition at line 105 of file TimingHardwareManagerConf.hpp.
|
inlinestatic |
Definition at line 106 of file TimingHardwareManagerConf.hpp.
|
inlinestatic |
Definition at line 104 of file TimingHardwareManagerConf.hpp.
|
inlinestatic |
Definition at line 282 of file TimingHardwareManagerConf.hpp.