|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <WIBModule.hpp>
Public Member Functions | |
| virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
| Print details of the WIBModule 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_wib_addr () const |
| Get "wib_addr" attribute value. | |
| void | set_wib_addr (const std::string &value) |
| Set "wib_addr" attribute value. | |
| bool | get_enabled_femb0 () const |
| Get "enabled_femb0" attribute value. Enable FEMB 0. | |
| void | set_enabled_femb0 (bool value) |
| Set "enabled_femb0" attribute value. Enable FEMB 0. | |
| bool | get_enabled_femb1 () const |
| Get "enabled_femb1" attribute value. Enable FEMB 1. | |
| void | set_enabled_femb1 (bool value) |
| Set "enabled_femb1" attribute value. Enable FEMB 1. | |
| bool | get_enabled_femb2 () const |
| Get "enabled_femb2" attribute value. Enable FEMB 2. | |
| void | set_enabled_femb2 (bool value) |
| Set "enabled_femb2" attribute value. Enable FEMB 2. | |
| bool | get_enabled_femb3 () const |
| Get "enabled_femb3" attribute value. Enable FEMB 3. | |
| void | set_enabled_femb3 (bool value) |
| Set "enabled_femb3" attribute value. Enable FEMB 3. | |
| const dunedaq::appmodel::WIBSettings * | get_conf () const |
| Get "conf" relationship value. | |
| void | set_conf (const dunedaq::appmodel::WIBSettings *value) |
| Set "conf" relationship value. | |
| virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
| Print details of the WIBModule 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_wib_addr () const |
| Get "wib_addr" attribute value. | |
| void | set_wib_addr (const std::string &value) |
| Set "wib_addr" attribute value. | |
| bool | get_enabled_femb0 () const |
| Get "enabled_femb0" attribute value. Enable FEMB 0. | |
| void | set_enabled_femb0 (bool value) |
| Set "enabled_femb0" attribute value. Enable FEMB 0. | |
| bool | get_enabled_femb1 () const |
| Get "enabled_femb1" attribute value. Enable FEMB 1. | |
| void | set_enabled_femb1 (bool value) |
| Set "enabled_femb1" attribute value. Enable FEMB 1. | |
| bool | get_enabled_femb2 () const |
| Get "enabled_femb2" attribute value. Enable FEMB 2. | |
| void | set_enabled_femb2 (bool value) |
| Set "enabled_femb2" attribute value. Enable FEMB 2. | |
| bool | get_enabled_femb3 () const |
| Get "enabled_femb3" attribute value. Enable FEMB 3. | |
| void | set_enabled_femb3 (bool value) |
| Set "enabled_femb3" attribute value. Enable FEMB 3. | |
| const dunedaq::appmodel::WIBSettings * | get_conf () const |
| Get "conf" relationship value. | |
| void | set_conf (const dunedaq::appmodel::WIBSettings *value) |
| Set "conf" relationship value. | |
Public Member Functions inherited from dunedaq::confmodel::DaqModule | |
| const std::vector< const dunedaq::confmodel::Connection * > & | get_inputs () const |
| Get "inputs" relationship value. List of connections to/from this module. | |
| void | set_inputs (const std::vector< const dunedaq::confmodel::Connection * > &value) |
| Set "inputs" relationship value. List of connections to/from this module. | |
| const std::vector< const dunedaq::confmodel::Connection * > & | get_outputs () const |
| Get "outputs" relationship value. Output connections from this module. | |
| void | set_outputs (const std::vector< const dunedaq::confmodel::Connection * > &value) |
| Set "outputs" relationship value. Output connections from this module. | |
| const std::vector< const dunedaq::confmodel::HostComponent * > & | get_used_resources () const |
| Get "used_resources" relationship value. | |
| void | set_used_resources (const std::vector< const dunedaq::confmodel::HostComponent * > &value) |
| Set "used_resources" relationship value. | |
| const std::vector< const dunedaq::confmodel::Connection * > & | get_inputs () const |
| Get "inputs" relationship value. List of connections to/from this module. | |
| void | set_inputs (const std::vector< const dunedaq::confmodel::Connection * > &value) |
| Set "inputs" relationship value. List of connections to/from this module. | |
| const std::vector< const dunedaq::confmodel::Connection * > & | get_outputs () const |
| Get "outputs" relationship value. Output connections from this module. | |
| void | set_outputs (const std::vector< const dunedaq::confmodel::Connection * > &value) |
| Set "outputs" relationship value. Output connections from this module. | |
| const std::vector< const dunedaq::confmodel::HostComponent * > & | get_used_resources () const |
| Get "used_resources" relationship value. | |
| void | set_used_resources (const std::vector< const dunedaq::confmodel::HostComponent * > &value) |
| Set "used_resources" 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_wib_addr_str () noexcept |
| static const std::string & | __get_enabled_femb0_str () noexcept |
| static const std::string & | __get_enabled_femb1_str () noexcept |
| static const std::string & | __get_enabled_femb2_str () noexcept |
| static const std::string & | __get_enabled_femb3_str () noexcept |
| static const std::string & | __get_conf_str () noexcept |
| static const std::string & | __get_wib_addr_str () noexcept |
| static const std::string & | __get_enabled_femb0_str () noexcept |
| static const std::string & | __get_enabled_femb1_str () noexcept |
| static const std::string & | __get_enabled_femb2_str () noexcept |
| static const std::string & | __get_enabled_femb3_str () noexcept |
| static const std::string & | __get_conf_str () noexcept |
Static Public Member Functions inherited from dunedaq::confmodel::DaqModule | |
| static const std::string & | __get_inputs_str () noexcept |
| static const std::string & | __get_outputs_str () noexcept |
| static const std::string & | __get_used_resources_str () noexcept |
| static const std::string & | __get_inputs_str () noexcept |
| static const std::string & | __get_outputs_str () noexcept |
| static const std::string & | __get_used_resources_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_wib_addr = "wib_addr" |
| static const std::string | s_enabled_femb0 = "enabled_femb0" |
| static const std::string | s_enabled_femb1 = "enabled_femb1" |
| static const std::string | s_enabled_femb2 = "enabled_femb2" |
| static const std::string | s_enabled_femb3 = "enabled_femb3" |
| static const std::string | s_conf = "conf" |
Static Public Attributes inherited from dunedaq::confmodel::DaqModule | |
| static const std::string & | s_class_name |
| static const std::string | s_inputs = "inputs" |
| static const std::string | s_outputs = "outputs" |
| static const std::string | s_used_resources = "used_resources" |
Protected Member Functions | |
| WIBModule (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~WIBModule () 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 |
| WIBModule (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~WIBModule () 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::confmodel::DaqModule | |
| DaqModule (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~DaqModule () noexcept |
| bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
| DaqModule (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~DaqModule () 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 | |
| std::string | m_wib_addr |
| bool | m_enabled_femb0 |
| bool | m_enabled_femb1 |
| bool | m_enabled_femb2 |
| bool | m_enabled_femb3 |
| const dunedaq::appmodel::WIBSettings * | m_conf |
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 WIBModule.hpp.
|
protectednoexcept |
Definition at line 31 of file WIBModule.cpp.
|
protectedvirtualnoexcept |
Definition at line 95 of file WIBModule.cpp.
|
protectednoexcept |
|
protectedvirtualnoexcept |
|
inlinestaticnoexcept |
Definition at line 275 of file WIBModule.hpp.
|
inlinestaticnoexcept |
Definition at line 275 of file WIBModule.hpp.
|
inlinestaticnoexcept |
Definition at line 102 of file WIBModule.hpp.
|
inlinestaticnoexcept |
Definition at line 102 of file WIBModule.hpp.
|
inlinestaticnoexcept |
Definition at line 103 of file WIBModule.hpp.
|
inlinestaticnoexcept |
Definition at line 103 of file WIBModule.hpp.
|
inlinestaticnoexcept |
Definition at line 104 of file WIBModule.hpp.
|
inlinestaticnoexcept |
Definition at line 104 of file WIBModule.hpp.
|
inlinestaticnoexcept |
Definition at line 105 of file WIBModule.hpp.
|
inlinestaticnoexcept |
Definition at line 105 of file WIBModule.hpp.
|
inlinestaticnoexcept |
Definition at line 101 of file WIBModule.hpp.
|
inlinestaticnoexcept |
Definition at line 101 of file WIBModule.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::confmodel::DaqModule.
Definition at line 99 of file WIBModule.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::DaqModule.
|
protected |
Definition at line 109 of file WIBModule.cpp.
|
protected |
|
inline |
Get "conf" relationship value.
Definition at line 285 of file WIBModule.hpp.
|
inline |
Get "conf" relationship value.
Definition at line 285 of file WIBModule.hpp.
|
inline |
Get "enabled_femb0" attribute value. Enable FEMB 0.
Definition at line 147 of file WIBModule.hpp.
|
inline |
Get "enabled_femb0" attribute value. Enable FEMB 0.
Definition at line 147 of file WIBModule.hpp.
|
inline |
Get "enabled_femb1" attribute value. Enable FEMB 1.
Definition at line 180 of file WIBModule.hpp.
|
inline |
Get "enabled_femb1" attribute value. Enable FEMB 1.
Definition at line 180 of file WIBModule.hpp.
|
inline |
Get "enabled_femb2" attribute value. Enable FEMB 2.
Definition at line 213 of file WIBModule.hpp.
|
inline |
Get "enabled_femb2" attribute value. Enable FEMB 2.
Definition at line 213 of file WIBModule.hpp.
|
inline |
Get "enabled_femb3" attribute value. Enable FEMB 3.
Definition at line 246 of file WIBModule.hpp.
|
inline |
Get "enabled_femb3" attribute value. Enable FEMB 3.
Definition at line 246 of file WIBModule.hpp.
|
inline |
Get "wib_addr" attribute value.
Definition at line 115 of file WIBModule.hpp.
|
inline |
Get "wib_addr" attribute value.
Definition at line 115 of file WIBModule.hpp.
|
protectedvirtual |
Initialize object (method generated by genconffwk)
| init_children | if true, initialize referenced objects |
Reimplemented from dunedaq::confmodel::DaqModule.
Definition at line 76 of file WIBModule.cpp.
|
protectedvirtual |
Initialize object (method generated by genconffwk)
| init_children | if true, initialize referenced objects |
Reimplemented from dunedaq::confmodel::DaqModule.
|
virtual |
Print details of the WIBModule 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::DaqModule.
Definition at line 41 of file WIBModule.cpp.
|
virtual |
Print details of the WIBModule 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::DaqModule.
| void dunedaq::appmodel::WIBModule::set_conf | ( | const dunedaq::appmodel::WIBSettings * | value | ) |
Set "conf" relationship value.
| value | new relationship value |
Definition at line 130 of file WIBModule.cpp.
| void dunedaq::appmodel::WIBModule::set_conf | ( | const dunedaq::appmodel::WIBSettings * | value | ) |
Set "conf" relationship value.
| value | new relationship value |
|
inline |
Set "enabled_femb0" attribute value. Enable FEMB 0.
| value | new attribute value |
Definition at line 163 of file WIBModule.hpp.
|
inline |
Set "enabled_femb0" attribute value. Enable FEMB 0.
| value | new attribute value |
Definition at line 163 of file WIBModule.hpp.
|
inline |
Set "enabled_femb1" attribute value. Enable FEMB 1.
| value | new attribute value |
Definition at line 196 of file WIBModule.hpp.
|
inline |
Set "enabled_femb1" attribute value. Enable FEMB 1.
| value | new attribute value |
Definition at line 196 of file WIBModule.hpp.
|
inline |
Set "enabled_femb2" attribute value. Enable FEMB 2.
| value | new attribute value |
Definition at line 229 of file WIBModule.hpp.
|
inline |
Set "enabled_femb2" attribute value. Enable FEMB 2.
| value | new attribute value |
Definition at line 229 of file WIBModule.hpp.
|
inline |
Set "enabled_femb3" attribute value. Enable FEMB 3.
| value | new attribute value |
Definition at line 262 of file WIBModule.hpp.
|
inline |
Set "enabled_femb3" attribute value. Enable FEMB 3.
| value | new attribute value |
Definition at line 262 of file WIBModule.hpp.
|
inline |
Set "wib_addr" attribute value.
| value | new attribute value |
Definition at line 130 of file WIBModule.hpp.
|
inline |
Set "wib_addr" attribute value.
| value | new attribute value |
Definition at line 130 of file WIBModule.hpp.
|
friend |
Definition at line 34 of file WIBModule.hpp.
|
friend |
Definition at line 36 of file WIBModule.hpp.
|
friend |
Definition at line 35 of file WIBModule.hpp.
|
friend |
Definition at line 37 of file WIBModule.hpp.
|
private |
Definition at line 88 of file WIBModule.hpp.
|
private |
Definition at line 84 of file WIBModule.hpp.
|
private |
Definition at line 85 of file WIBModule.hpp.
|
private |
Definition at line 86 of file WIBModule.hpp.
|
private |
Definition at line 87 of file WIBModule.hpp.
|
private |
Definition at line 83 of file WIBModule.hpp.
|
static |
The name of the configuration class.
Definition at line 49 of file WIBModule.hpp.
|
inlinestatic |
Definition at line 273 of file WIBModule.hpp.
|
inlinestatic |
Definition at line 96 of file WIBModule.hpp.
|
inlinestatic |
Definition at line 97 of file WIBModule.hpp.
|
inlinestatic |
Definition at line 98 of file WIBModule.hpp.
|
inlinestatic |
Definition at line 99 of file WIBModule.hpp.
|
inlinestatic |
Definition at line 95 of file WIBModule.hpp.