|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <TdeAmcDetDataSender.hpp>
Public Member Functions | |
| virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
| Print details of the TdeAmcDetDataSender 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_port () const |
| Get "port" attribute value. | |
| void | set_port (uint32_t value) |
| Set "port" attribute value. | |
| const std::string & | get_control_host () const |
| Get "control_host" attribute value. | |
| void | set_control_host (const std::string &value) |
| Set "control_host" attribute value. | |
| const dunedaq::confmodel::NetworkInterface * | get_control_endpoint () const |
| Get "control_endpoint" relationship value. | |
| void | set_control_endpoint (const dunedaq::confmodel::NetworkInterface *value) |
| Set "control_endpoint" relationship value. | |
| virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
| Print details of the TdeAmcDetDataSender 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_port () const |
| Get "port" attribute value. | |
| void | set_port (uint32_t value) |
| Set "port" attribute value. | |
| const std::string & | get_control_host () const |
| Get "control_host" attribute value. | |
| void | set_control_host (const std::string &value) |
| Set "control_host" attribute value. | |
| const dunedaq::confmodel::NetworkInterface * | get_control_endpoint () const |
| Get "control_endpoint" relationship value. | |
| void | set_control_endpoint (const dunedaq::confmodel::NetworkInterface *value) |
| Set "control_endpoint" relationship value. | |
Public Member Functions inherited from dunedaq::appmodel::NWDetDataSender | |
| const dunedaq::confmodel::NetworkInterface * | get_uses () const |
| Get "uses" relationship value. | |
| void | set_uses (const dunedaq::confmodel::NetworkInterface *value) |
| Set "uses" relationship value. | |
| const dunedaq::confmodel::NetworkInterface * | get_uses () const |
| Get "uses" relationship value. | |
| void | set_uses (const dunedaq::confmodel::NetworkInterface *value) |
| Set "uses" relationship value. | |
Public Member Functions inherited from dunedaq::confmodel::DetDataSender | |
| const std::vector< const dunedaq::confmodel::DetectorStream * > & | get_streams () const |
| Get "streams" relationship value. | |
| void | set_streams (const std::vector< const dunedaq::confmodel::DetectorStream * > &value) |
| Set "streams" relationship value. | |
| virtual std::vector< const Resource * > | contained_resources () const override |
| const std::vector< const dunedaq::confmodel::DetectorStream * > & | get_streams () const |
| Get "streams" relationship value. | |
| void | set_streams (const std::vector< const dunedaq::confmodel::DetectorStream * > &value) |
| Set "streams" relationship value. | |
| virtual std::vector< const Resource * > | contained_resources () const override |
Public Member Functions inherited from dunedaq::confmodel::ResourceSetDisableAND | |
| bool | compute_disabled_state (const std::set< std::string > &disabled) const final |
| bool | compute_disabled_state (const std::set< std::string > &disabled) const final |
Public Member Functions inherited from dunedaq::confmodel::ResourceSet | |
Public Member Functions inherited from dunedaq::confmodel::Resource | |
| void | parents (const dunedaq::confmodel::Session &session, std::list< std::vector< const dunedaq::confmodel::Resource * > > &parents) const |
| bool | is_disabled (const dunedaq::confmodel::ResourceTree &session) const |
| void | parents (const dunedaq::confmodel::Session &session, std::list< std::vector< const dunedaq::confmodel::Resource * > > &parents) const |
| bool | is_disabled (const dunedaq::confmodel::ResourceTree &session) const |
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_port_str () noexcept |
| static const std::string & | __get_control_host_str () noexcept |
| static const std::string & | __get_control_endpoint_str () noexcept |
| static const std::string & | __get_port_str () noexcept |
| static const std::string & | __get_control_host_str () noexcept |
| static const std::string & | __get_control_endpoint_str () noexcept |
Static Public Member Functions inherited from dunedaq::appmodel::NWDetDataSender | |
| static const std::string & | __get_uses_str () noexcept |
| static const std::string & | __get_uses_str () noexcept |
Static Public Member Functions inherited from dunedaq::confmodel::DetDataSender | |
| static const std::string & | __get_streams_str () noexcept |
| static const std::string & | __get_streams_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_port = "port" |
| static const std::string | s_control_host = "control_host" |
| static const std::string | s_control_endpoint = "control_endpoint" |
Static Public Attributes inherited from dunedaq::appmodel::NWDetDataSender | |
| static const std::string & | s_class_name |
| static const std::string | s_uses = "uses" |
Static Public Attributes inherited from dunedaq::confmodel::DetDataSender | |
| static const std::string & | s_class_name |
| static const std::string | s_streams = "streams" |
Static Public Attributes inherited from dunedaq::confmodel::ResourceSetDisableAND | |
| static const std::string & | s_class_name |
Static Public Attributes inherited from dunedaq::confmodel::ResourceSet | |
| static const std::string & | s_class_name |
Static Public Attributes inherited from dunedaq::confmodel::Resource | |
| static const std::string & | s_class_name |
Protected Member Functions | |
| TdeAmcDetDataSender (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~TdeAmcDetDataSender () 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 |
| TdeAmcDetDataSender (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~TdeAmcDetDataSender () 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::NWDetDataSender | |
| NWDetDataSender (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~NWDetDataSender () noexcept |
| bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
| NWDetDataSender (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~NWDetDataSender () 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::confmodel::DetDataSender | |
| DetDataSender (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~DetDataSender () noexcept |
| bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
| DetDataSender (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~DetDataSender () 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::confmodel::ResourceSetDisableAND | |
| ResourceSetDisableAND (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~ResourceSetDisableAND () noexcept |
| bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
| ResourceSetDisableAND (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~ResourceSetDisableAND () 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::confmodel::ResourceSet | |
| ResourceSet (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~ResourceSet () noexcept |
| bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
| ResourceSet (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~ResourceSet () 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::confmodel::Resource | |
| Resource (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~Resource () noexcept |
| bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
| Resource (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~Resource () 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_port |
| std::string | m_control_host |
| const dunedaq::confmodel::NetworkInterface * | m_control_endpoint |
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 TdeAmcDetDataSender.hpp.
|
protectednoexcept |
Definition at line 31 of file TdeAmcDetDataSender.cpp.
|
protectedvirtualnoexcept |
Definition at line 89 of file TdeAmcDetDataSender.cpp.
|
protectednoexcept |
|
protectedvirtualnoexcept |
|
inlinestaticnoexcept |
Definition at line 165 of file TdeAmcDetDataSender.hpp.
|
inlinestaticnoexcept |
Definition at line 165 of file TdeAmcDetDataSender.hpp.
|
inlinestaticnoexcept |
Definition at line 96 of file TdeAmcDetDataSender.hpp.
|
inlinestaticnoexcept |
Definition at line 96 of file TdeAmcDetDataSender.hpp.
|
inlinestaticnoexcept |
Definition at line 95 of file TdeAmcDetDataSender.hpp.
|
inlinestaticnoexcept |
Definition at line 95 of file TdeAmcDetDataSender.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::NWDetDataSender.
Definition at line 93 of file TdeAmcDetDataSender.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::NWDetDataSender.
|
protected |
Definition at line 103 of file TdeAmcDetDataSender.cpp.
|
protected |
|
inline |
Get "control_endpoint" relationship value.
Definition at line 175 of file TdeAmcDetDataSender.hpp.
|
inline |
Get "control_endpoint" relationship value.
Definition at line 175 of file TdeAmcDetDataSender.hpp.
|
inline |
Get "control_host" attribute value.
Definition at line 137 of file TdeAmcDetDataSender.hpp.
|
inline |
Get "control_host" attribute value.
Definition at line 137 of file TdeAmcDetDataSender.hpp.
|
inline |
Get "port" attribute value.
Definition at line 106 of file TdeAmcDetDataSender.hpp.
|
inline |
Get "port" attribute value.
Definition at line 106 of file TdeAmcDetDataSender.hpp.
|
protectedvirtual |
Initialize object (method generated by genconffwk)
| init_children | if true, initialize referenced objects |
Reimplemented from dunedaq::appmodel::NWDetDataSender.
Definition at line 73 of file TdeAmcDetDataSender.cpp.
|
protectedvirtual |
Initialize object (method generated by genconffwk)
| init_children | if true, initialize referenced objects |
Reimplemented from dunedaq::appmodel::NWDetDataSender.
|
virtual |
Print details of the TdeAmcDetDataSender 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::NWDetDataSender.
Definition at line 41 of file TdeAmcDetDataSender.cpp.
|
virtual |
Print details of the TdeAmcDetDataSender 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::NWDetDataSender.
| void dunedaq::appmodel::TdeAmcDetDataSender::set_control_endpoint | ( | const dunedaq::confmodel::NetworkInterface * | value | ) |
Set "control_endpoint" relationship value.
| value | new relationship value |
Definition at line 124 of file TdeAmcDetDataSender.cpp.
| void dunedaq::appmodel::TdeAmcDetDataSender::set_control_endpoint | ( | const dunedaq::confmodel::NetworkInterface * | value | ) |
Set "control_endpoint" relationship value.
| value | new relationship value |
|
inline |
Set "control_host" attribute value.
| value | new attribute value |
Definition at line 152 of file TdeAmcDetDataSender.hpp.
|
inline |
Set "control_host" attribute value.
| value | new attribute value |
Definition at line 152 of file TdeAmcDetDataSender.hpp.
|
inline |
Set "port" attribute value.
| value | new attribute value |
Definition at line 121 of file TdeAmcDetDataSender.hpp.
|
inline |
Set "port" attribute value.
| value | new attribute value |
Definition at line 121 of file TdeAmcDetDataSender.hpp.
|
friend |
Definition at line 34 of file TdeAmcDetDataSender.hpp.
|
friend |
Definition at line 36 of file TdeAmcDetDataSender.hpp.
|
friend |
Definition at line 35 of file TdeAmcDetDataSender.hpp.
|
friend |
Definition at line 37 of file TdeAmcDetDataSender.hpp.
|
private |
Definition at line 85 of file TdeAmcDetDataSender.hpp.
|
private |
Definition at line 84 of file TdeAmcDetDataSender.hpp.
|
private |
Definition at line 83 of file TdeAmcDetDataSender.hpp.
|
static |
The name of the configuration class.
Definition at line 49 of file TdeAmcDetDataSender.hpp.
|
inlinestatic |
Definition at line 163 of file TdeAmcDetDataSender.hpp.
|
inlinestatic |
Definition at line 93 of file TdeAmcDetDataSender.hpp.
|
inlinestatic |
Definition at line 92 of file TdeAmcDetDataSender.hpp.