|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <CIBConf.hpp>
Public Member Functions | |
| virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
| Print details of the CIBConf 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_cib_host () const |
| Get "cib_host" attribute value. IP address of the board. | |
| void | set_cib_host (const std::string &value) |
| Set "cib_host" attribute value. IP address of the board. | |
| uint16_t | get_cib_port () const |
| Get "cib_port" attribute value. Port where the CIB is listening to. | |
| void | set_cib_port (uint16_t value) |
| Set "cib_port" attribute value. Port where the CIB is listening to. | |
| uint16_t | get_connection_timeout_ms () const |
| Get "connection_timeout_ms" attribute value. Connection timeout. | |
| void | set_connection_timeout_ms (uint16_t value) |
| Set "connection_timeout_ms" attribute value. Connection timeout. | |
| uint32_t | get_trigger_bit () const |
| Get "trigger_bit" attribute value. Trigger bit that this particular instance is associated with. | |
| void | set_trigger_bit (uint32_t value) |
| Set "trigger_bit" attribute value. Trigger bit that this particular instance is associated with. | |
| const dunedaq::appmodel::CIBCalibrationStream * | get_calibration_stream () const |
| Get "calibration_stream" relationship value. | |
| void | set_calibration_stream (const dunedaq::appmodel::CIBCalibrationStream *value) |
| Set "calibration_stream" relationship value. | |
| const dunedaq::appmodel::CIBTrigger * | get_cib_trigger () const |
| Get "cib_trigger" relationship value. | |
| void | set_cib_trigger (const dunedaq::appmodel::CIBTrigger *value) |
| Set "cib_trigger" relationship value. | |
| const dunedaq::appmodel::CIBTriggerReport * | get_trigger_report () const |
| Get "trigger_report" relationship value. | |
| void | set_trigger_report (const dunedaq::appmodel::CIBTriggerReport *value) |
| Set "trigger_report" relationship value. | |
| virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
| Print details of the CIBConf 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_cib_host () const |
| Get "cib_host" attribute value. IP address of the board. | |
| void | set_cib_host (const std::string &value) |
| Set "cib_host" attribute value. IP address of the board. | |
| uint16_t | get_cib_port () const |
| Get "cib_port" attribute value. Port where the CIB is listening to. | |
| void | set_cib_port (uint16_t value) |
| Set "cib_port" attribute value. Port where the CIB is listening to. | |
| uint16_t | get_connection_timeout_ms () const |
| Get "connection_timeout_ms" attribute value. Connection timeout. | |
| void | set_connection_timeout_ms (uint16_t value) |
| Set "connection_timeout_ms" attribute value. Connection timeout. | |
| uint32_t | get_trigger_bit () const |
| Get "trigger_bit" attribute value. Trigger bit that this particular instance is associated with. | |
| void | set_trigger_bit (uint32_t value) |
| Set "trigger_bit" attribute value. Trigger bit that this particular instance is associated with. | |
| const dunedaq::appmodel::CIBCalibrationStream * | get_calibration_stream () const |
| Get "calibration_stream" relationship value. | |
| void | set_calibration_stream (const dunedaq::appmodel::CIBCalibrationStream *value) |
| Set "calibration_stream" relationship value. | |
| const dunedaq::appmodel::CIBTrigger * | get_cib_trigger () const |
| Get "cib_trigger" relationship value. | |
| void | set_cib_trigger (const dunedaq::appmodel::CIBTrigger *value) |
| Set "cib_trigger" relationship value. | |
| const dunedaq::appmodel::CIBTriggerReport * | get_trigger_report () const |
| Get "trigger_report" relationship value. | |
| void | set_trigger_report (const dunedaq::appmodel::CIBTriggerReport *value) |
| Set "trigger_report" relationship value. | |
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_cib_host_str () noexcept |
| static const std::string & | __get_cib_port_str () noexcept |
| static const std::string & | __get_connection_timeout_ms_str () noexcept |
| static const std::string & | __get_trigger_bit_str () noexcept |
| static const std::string & | __get_calibration_stream_str () noexcept |
| static const std::string & | __get_cib_trigger_str () noexcept |
| static const std::string & | __get_trigger_report_str () noexcept |
| static const std::string & | __get_cib_host_str () noexcept |
| static const std::string & | __get_cib_port_str () noexcept |
| static const std::string & | __get_connection_timeout_ms_str () noexcept |
| static const std::string & | __get_trigger_bit_str () noexcept |
| static const std::string & | __get_calibration_stream_str () noexcept |
| static const std::string & | __get_cib_trigger_str () noexcept |
| static const std::string & | __get_trigger_report_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_cib_host = "cib_host" |
| static const std::string | s_cib_port = "cib_port" |
| static const std::string | s_connection_timeout_ms = "connection_timeout_ms" |
| static const std::string | s_trigger_bit = "trigger_bit" |
| static const std::string | s_calibration_stream = "calibration_stream" |
| static const std::string | s_cib_trigger = "cib_trigger" |
| static const std::string | s_trigger_report = "trigger_report" |
Protected Member Functions | |
| CIBConf (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~CIBConf () 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 |
| CIBConf (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~CIBConf () 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::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 | |
| std::string | m_cib_host |
| uint16_t | m_cib_port |
| uint16_t | m_connection_timeout_ms |
| uint32_t | m_trigger_bit |
| const dunedaq::appmodel::CIBCalibrationStream * | m_calibration_stream |
| const dunedaq::appmodel::CIBTrigger * | m_cib_trigger |
| const dunedaq::appmodel::CIBTriggerReport * | m_trigger_report |
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) | |
Configuration of the connection to the CIB
Definition at line 35 of file CIBConf.hpp.
|
protectednoexcept |
Definition at line 33 of file CIBConf.cpp.
|
protectedvirtualnoexcept |
Definition at line 95 of file CIBConf.cpp.
|
protectednoexcept |
|
protectedvirtualnoexcept |
|
inlinestaticnoexcept |
Definition at line 248 of file CIBConf.hpp.
|
inlinestaticnoexcept |
Definition at line 248 of file CIBConf.hpp.
|
inlinestaticnoexcept |
Definition at line 104 of file CIBConf.hpp.
|
inlinestaticnoexcept |
Definition at line 104 of file CIBConf.hpp.
|
inlinestaticnoexcept |
Definition at line 105 of file CIBConf.hpp.
|
inlinestaticnoexcept |
Definition at line 105 of file CIBConf.hpp.
|
inlinestaticnoexcept |
Definition at line 249 of file CIBConf.hpp.
|
inlinestaticnoexcept |
Definition at line 249 of file CIBConf.hpp.
|
inlinestaticnoexcept |
Definition at line 106 of file CIBConf.hpp.
|
inlinestaticnoexcept |
Definition at line 106 of file CIBConf.hpp.
|
inlinestaticnoexcept |
Definition at line 107 of file CIBConf.hpp.
|
inlinestaticnoexcept |
Definition at line 107 of file CIBConf.hpp.
|
inlinestaticnoexcept |
Definition at line 250 of file CIBConf.hpp.
|
inlinestaticnoexcept |
Definition at line 250 of file CIBConf.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 |
Implements dunedaq::conffwk::DalObject.
Definition at line 99 of file CIBConf.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 |
Implements dunedaq::conffwk::DalObject.
|
protected |
Definition at line 109 of file CIBConf.cpp.
|
protected |
|
inline |
Get "calibration_stream" relationship value.
Definition at line 260 of file CIBConf.hpp.
|
inline |
Get "calibration_stream" relationship value.
Definition at line 260 of file CIBConf.hpp.
|
inline |
Get "cib_host" attribute value. IP address of the board.
Definition at line 118 of file CIBConf.hpp.
|
inline |
Get "cib_host" attribute value. IP address of the board.
Definition at line 118 of file CIBConf.hpp.
|
inline |
Get "cib_port" attribute value. Port where the CIB is listening to.
Definition at line 151 of file CIBConf.hpp.
|
inline |
Get "cib_port" attribute value. Port where the CIB is listening to.
Definition at line 151 of file CIBConf.hpp.
|
inline |
Get "cib_trigger" relationship value.
Definition at line 285 of file CIBConf.hpp.
|
inline |
Get "cib_trigger" relationship value.
Definition at line 285 of file CIBConf.hpp.
|
inline |
Get "connection_timeout_ms" attribute value. Connection timeout.
Definition at line 184 of file CIBConf.hpp.
|
inline |
Get "connection_timeout_ms" attribute value. Connection timeout.
Definition at line 184 of file CIBConf.hpp.
|
inline |
Get "trigger_bit" attribute value. Trigger bit that this particular instance is associated with.
Definition at line 217 of file CIBConf.hpp.
|
inline |
Get "trigger_bit" attribute value. Trigger bit that this particular instance is associated with.
Definition at line 217 of file CIBConf.hpp.
|
inline |
Get "trigger_report" relationship value.
Definition at line 316 of file CIBConf.hpp.
|
inline |
Get "trigger_report" relationship value.
Definition at line 316 of file CIBConf.hpp.
|
protectedvirtual |
Initialize object (method generated by genconffwk)
| init_children | if true, initialize referenced objects |
Implements dunedaq::conffwk::DalObject.
Definition at line 75 of file CIBConf.cpp.
|
protectedvirtual |
Initialize object (method generated by genconffwk)
| init_children | if true, initialize referenced objects |
Implements dunedaq::conffwk::DalObject.
|
virtual |
Print details of the CIBConf 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 |
Implements dunedaq::conffwk::DalObject.
Definition at line 44 of file CIBConf.cpp.
|
virtual |
Print details of the CIBConf 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 |
Implements dunedaq::conffwk::DalObject.
| void dunedaq::appmodel::CIBConf::set_calibration_stream | ( | const dunedaq::appmodel::CIBCalibrationStream * | value | ) |
Set "calibration_stream" relationship value.
| value | new relationship value |
Definition at line 128 of file CIBConf.cpp.
| void dunedaq::appmodel::CIBConf::set_calibration_stream | ( | const dunedaq::appmodel::CIBCalibrationStream * | value | ) |
Set "calibration_stream" relationship value.
| value | new relationship value |
|
inline |
Set "cib_host" attribute value. IP address of the board.
| value | new attribute value |
Definition at line 134 of file CIBConf.hpp.
|
inline |
Set "cib_host" attribute value. IP address of the board.
| value | new attribute value |
Definition at line 134 of file CIBConf.hpp.
|
inline |
Set "cib_port" attribute value. Port where the CIB is listening to.
| value | new attribute value |
Definition at line 167 of file CIBConf.hpp.
|
inline |
Set "cib_port" attribute value. Port where the CIB is listening to.
| value | new attribute value |
Definition at line 167 of file CIBConf.hpp.
| void dunedaq::appmodel::CIBConf::set_cib_trigger | ( | const dunedaq::appmodel::CIBTrigger * | value | ) |
Set "cib_trigger" relationship value.
| value | new relationship value |
Definition at line 133 of file CIBConf.cpp.
| void dunedaq::appmodel::CIBConf::set_cib_trigger | ( | const dunedaq::appmodel::CIBTrigger * | value | ) |
Set "cib_trigger" relationship value.
| value | new relationship value |
|
inline |
Set "connection_timeout_ms" attribute value. Connection timeout.
| value | new attribute value |
Definition at line 200 of file CIBConf.hpp.
|
inline |
Set "connection_timeout_ms" attribute value. Connection timeout.
| value | new attribute value |
Definition at line 200 of file CIBConf.hpp.
|
inline |
Set "trigger_bit" attribute value. Trigger bit that this particular instance is associated with.
| value | new attribute value |
Definition at line 233 of file CIBConf.hpp.
|
inline |
Set "trigger_bit" attribute value. Trigger bit that this particular instance is associated with.
| value | new attribute value |
Definition at line 233 of file CIBConf.hpp.
| void dunedaq::appmodel::CIBConf::set_trigger_report | ( | const dunedaq::appmodel::CIBTriggerReport * | value | ) |
Set "trigger_report" relationship value.
| value | new relationship value |
Definition at line 138 of file CIBConf.cpp.
| void dunedaq::appmodel::CIBConf::set_trigger_report | ( | const dunedaq::appmodel::CIBTriggerReport * | value | ) |
Set "trigger_report" relationship value.
| value | new relationship value |
|
friend |
Definition at line 37 of file CIBConf.hpp.
|
friend |
Definition at line 39 of file CIBConf.hpp.
|
friend |
Definition at line 38 of file CIBConf.hpp.
|
friend |
Definition at line 40 of file CIBConf.hpp.
|
private |
Definition at line 90 of file CIBConf.hpp.
|
private |
Definition at line 86 of file CIBConf.hpp.
|
private |
Definition at line 87 of file CIBConf.hpp.
|
private |
Definition at line 91 of file CIBConf.hpp.
|
private |
Definition at line 88 of file CIBConf.hpp.
|
private |
Definition at line 89 of file CIBConf.hpp.
|
private |
Definition at line 92 of file CIBConf.hpp.
|
inlinestatic |
Definition at line 244 of file CIBConf.hpp.
|
inlinestatic |
Definition at line 99 of file CIBConf.hpp.
|
inlinestatic |
Definition at line 100 of file CIBConf.hpp.
|
inlinestatic |
Definition at line 245 of file CIBConf.hpp.
|
static |
The name of the configuration class.
Definition at line 52 of file CIBConf.hpp.
|
inlinestatic |
Definition at line 101 of file CIBConf.hpp.
|
inlinestatic |
Definition at line 102 of file CIBConf.hpp.
|
inlinestatic |
Definition at line 246 of file CIBConf.hpp.