|
virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
| Print details of the CTBMisc 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.
|
|
bool | get_ch_status () const |
| Get "ch_status" attribute value.
|
|
void | set_ch_status (bool value) |
| Set "ch_status" attribute value.
|
|
const dunedaq::appmodel::CTBPulser * | get_pulser () const |
| Get "pulser" relationship value.
|
|
void | set_pulser (const dunedaq::appmodel::CTBPulser *value) |
| Set "pulser" relationship value.
|
|
const dunedaq::appmodel::CTBTiming * | get_timing () const |
| Get "timing" relationship value.
|
|
void | set_timing (const dunedaq::appmodel::CTBTiming *value) |
| Set "timing" relationship value.
|
|
nlohmann::json | get_ctb_json (const dunedaq::confmodel::Session &session) const |
|
const CTBRandomTrigger & | get_randomtrigger_1 () const |
|
const CTBRandomTrigger & | get_randomtrigger_2 () const |
|
virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
| Print details of the CTBMisc 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.
|
|
bool | get_ch_status () const |
| Get "ch_status" attribute value.
|
|
void | set_ch_status (bool value) |
| Set "ch_status" attribute value.
|
|
const dunedaq::appmodel::CTBPulser * | get_pulser () const |
| Get "pulser" relationship value.
|
|
void | set_pulser (const dunedaq::appmodel::CTBPulser *value) |
| Set "pulser" relationship value.
|
|
const dunedaq::appmodel::CTBTiming * | get_timing () const |
| Get "timing" relationship value.
|
|
void | set_timing (const dunedaq::appmodel::CTBTiming *value) |
| Set "timing" relationship value.
|
|
nlohmann::json | get_ctb_json (const dunedaq::confmodel::Session &session) const |
|
const CTBRandomTrigger & | get_randomtrigger_1 () const |
|
const CTBRandomTrigger & | get_randomtrigger_2 () const |
|
Public Member Functions inherited from dunedaq::confmodel::ResourceSetAND |
const std::vector< const dunedaq::confmodel::ResourceBase * > & | get_contains () const |
| Get "contains" relationship value. A resource set is a container of resources to easily implement group operations (add/remove, enable/disable).
|
|
void | set_contains (const std::vector< const dunedaq::confmodel::ResourceBase * > &value) |
| Set "contains" relationship value. A resource set is a container of resources to easily implement group operations (add/remove, enable/disable).
|
|
const std::vector< const dunedaq::confmodel::ResourceBase * > & | get_contains () const |
| Get "contains" relationship value. A resource set is a container of resources to easily implement group operations (add/remove, enable/disable).
|
|
void | set_contains (const std::vector< const dunedaq::confmodel::ResourceBase * > &value) |
| Set "contains" relationship value. A resource set is a container of resources to easily implement group operations (add/remove, enable/disable).
|
|
void | get_parents (const dunedaq::confmodel::Session &session, std::list< std::vector< const dunedaq::confmodel::Component * > > &parents) const |
|
bool | disabled (const dunedaq::confmodel::Session &session) const |
|
void | get_parents (const dunedaq::confmodel::Session &session, std::list< std::vector< const dunedaq::confmodel::Component * > > &parents) const |
|
bool | disabled (const dunedaq::confmodel::Session &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.
|
|
|
| CTBMisc (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
|
virtual | ~CTBMisc () 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 |
|
| CTBMisc (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
|
virtual | ~CTBMisc () 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::ResourceSetAND |
| ResourceSetAND (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
|
virtual | ~ResourceSetAND () noexcept |
|
bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
|
| ResourceSetAND (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
|
virtual | ~ResourceSetAND () 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 |
|
| ResourceBase (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
|
virtual | ~ResourceBase () noexcept |
|
bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
|
| ResourceBase (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
|
virtual | ~ResourceBase () noexcept |
|
bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
|
| Component (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
|
virtual | ~Component () noexcept |
|
bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
|
| Component (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
|
virtual | ~Component () 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 41 of file CTBMisc.hpp.