|
| virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
| | Print details of the DetDataSender 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::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 |
| |
| virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
| | Print details of the DetDataSender 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::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 |
| |
| 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 |
| |
| 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 const std::string & | __get_streams_str () noexcept |
| |
| static const std::string & | __get_streams_str () noexcept |
| |
| 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
|
| |
|
| | DetDataSender (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
| |
| virtual | ~DetDataSender () 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 |
| |
| | DetDataSender (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
| |
| virtual | ~DetDataSender () 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::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 |
| |
| | 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 |
| |
| | 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 |
| |
| | 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.
|
| |
Definition at line 32 of file DetDataSender.hpp.
| std::vector< const dunedaq::conffwk::DalObject * > dunedaq::confmodel::DetDataSender::get |
( |
const std::string & | name, |
|
|
bool | upcast_unregistered = true ) const |
|
virtual |
Get values of relationships and results of some algorithms as a vector of dunedaq::conffwk::DalObject pointers.
Parameters are:
- Parameters
-
| name | name of the relationship or algorithm |
- Returns
- value of relationship or result of algorithm
- Exceptions
-
| std::exception | if there is no relationship or algorithm with such name in this and base classes |
Reimplemented from dunedaq::confmodel::ResourceSetDisableAND.
Reimplemented in dunedaq::appmodel::FakeDataSender, dunedaq::appmodel::FakeDataSender, dunedaq::appmodel::FelixDataSender, dunedaq::appmodel::FelixDataSender, dunedaq::appmodel::HermesDataSender, dunedaq::appmodel::HermesDataSender, dunedaq::appmodel::NWDetDataSender, dunedaq::appmodel::NWDetDataSender, dunedaq::appmodel::SocketDataSender, dunedaq::appmodel::SocketDataSender, dunedaq::appmodel::TdeAmcDetDataSender, dunedaq::appmodel::TdeAmcDetDataSender, dunedaq::confmodel::DummySender, and dunedaq::confmodel::DummySender.
Definition at line 73 of file DetDataSender.cpp.
74 {
75 std::vector<const dunedaq::conffwk::DalObject *> vec;
76
77 if (!
get(name, vec, upcast_unregistered,
true))
79
80 return vec;
81 }
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.
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...
static const std::string & s_class_name