DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Public Member Functions | |
ConfigObjectDefault () noexcept | |
virtual | ~ConfigObjectDefault () noexcept |
virtual const std::string | contained_in () const |
Virtual method to get object's database file name. | |
virtual void | get (const std::string &, bool &) |
Virtual method to read boolean attribute value. | |
virtual void | get (const std::string &, uint8_t &) |
Virtual method to read unsigned char attribute value. | |
virtual void | get (const std::string &, int8_t &) |
Virtual method to read signed char attribute value. | |
virtual void | get (const std::string &, uint16_t &) |
Virtual method to read unsigned short attribute value. | |
virtual void | get (const std::string &, int16_t &) |
Virtual method to read signed short attribute value. | |
virtual void | get (const std::string &, uint32_t &) |
Virtual method to read unsigned long attribute value. | |
virtual void | get (const std::string &, int32_t &) |
Virtual method to read signed long attribute value. | |
virtual void | get (const std::string &, uint64_t &) |
Virtual method to read unsigned 64 bits integer attribute value. | |
virtual void | get (const std::string &, int64_t &) |
Virtual method to read signed 64 bits integer attribute value. | |
virtual void | get (const std::string &, float &) |
Virtual method to read float attribute value. | |
virtual void | get (const std::string &, double &) |
Virtual method to read double attribute value. | |
virtual void | get (const std::string &, std::string &) |
Virtual method to read string attribute value. | |
virtual void | get (const std::string &, ConfigObject &) |
Virtual method to read relationship single-value. | |
virtual void | get (const std::string &, std::vector< bool > &) |
Virtual method to read vector-of-booleans attribute value. | |
virtual void | get (const std::string &, std::vector< uint8_t > &) |
Virtual method to read vector-of-unsigned-chars attribute value. | |
virtual void | get (const std::string &, std::vector< int8_t > &) |
Virtual method to read vector-of-signed-chars attribute value. | |
virtual void | get (const std::string &, std::vector< uint16_t > &) |
Virtual method to read vector-of-unsigned-shorts attribute value. | |
virtual void | get (const std::string &, std::vector< int16_t > &) |
Virtual method to read vector-of-signed-shorts attribute value. | |
virtual void | get (const std::string &, std::vector< uint32_t > &) |
Virtual method to read vector-of-unsigned-longs attribute value. | |
virtual void | get (const std::string &, std::vector< int32_t > &) |
Virtual method to read vector-of-signed-longs attribute value. | |
virtual void | get (const std::string &, std::vector< uint64_t > &) |
Virtual method to read vector-of-unsigned-64-bits-integers attribute value. | |
virtual void | get (const std::string &, std::vector< int64_t > &) |
Virtual method to read vector-of-signed-64-bits-integers attribute value. | |
virtual void | get (const std::string &, std::vector< float > &) |
Virtual method to read vector-of-floats attribute value. | |
virtual void | get (const std::string &, std::vector< double > &) |
Virtual method to read vector-of-doubles attribute value. | |
virtual void | get (const std::string &, std::vector< std::string > &) |
Virtual method to read vector-of-strings attribute value. | |
virtual void | get (const std::string &, std::vector< ConfigObject > &) |
Virtual method to read vector-of-conffwk-objects relationship value. | |
virtual bool | rel (const std::string &, std::vector< ConfigObject > &) |
Virtual method to read any relationship value without throwing an exception if there is no such relationship (return false) | |
virtual void | referenced_by (std::vector< ConfigObject > &, const std::string &, bool, unsigned long, const std::vector< std::string > *) const |
Virtual method to read vector-of-conffwk-object referencing this object. | |
virtual void | set (const std::string &, bool) |
Virtual method to set boolean attribute value. | |
virtual void | set (const std::string &, uint8_t) |
Virtual method to set unsigned char attribute value. | |
virtual void | set (const std::string &, int8_t) |
Virtual method to set signed char attribute value. | |
virtual void | set (const std::string &, uint16_t) |
Virtual method to set unsigned short attribute value. | |
virtual void | set (const std::string &, int16_t) |
Virtual method to set signed short attribute value. | |
virtual void | set (const std::string &, uint32_t) |
Virtual method to set unsigned long attribute value. | |
virtual void | set (const std::string &, int32_t) |
Virtual method to set signed long attribute value. | |
virtual void | set (const std::string &, uint64_t) |
Virtual method to set unsigned 64 bits integer attribute value. | |
virtual void | set (const std::string &, int64_t) |
Virtual method to set signed 64 bits integer attribute value. | |
virtual void | set (const std::string &, float) |
Virtual method to set float attribute value. | |
virtual void | set (const std::string &, double) |
Virtual method to set double attribute value. | |
virtual void | set (const std::string &, const std::string &) |
Virtual method to set string attribute value. | |
virtual void | set_enum (const std::string &, const std::string &) |
Virtual method to set enumeration attribute value. | |
virtual void | set_date (const std::string &, const std::string &) |
Virtual method to set date attribute value. | |
virtual void | set_time (const std::string &, const std::string &) |
Virtual method to set time attribute value. | |
virtual void | set_class (const std::string &, const std::string &) |
Virtual method to set enumeration attribute value. | |
virtual void | set (const std::string &, const std::vector< bool > &) |
Virtual method to read vector-of-booleans attribute value. | |
virtual void | set (const std::string &, const std::vector< uint8_t > &) |
Virtual method to read vector-of-unsigned-chars attribute value. | |
virtual void | set (const std::string &, const std::vector< int8_t > &) |
Virtual method to read vector-of-signed-chars attribute value. | |
virtual void | set (const std::string &, const std::vector< uint16_t > &) |
Virtual method to read vector-of-unsigned-shorts attribute value. | |
virtual void | set (const std::string &, const std::vector< int16_t > &) |
Virtual method to read vector-of-signed-shorts attribute value. | |
virtual void | set (const std::string &, const std::vector< uint32_t > &) |
Virtual method to read vector-of-unsigned-longs attribute value. | |
virtual void | set (const std::string &, const std::vector< int32_t > &) |
Virtual method to read vector-of-signed-longs attribute value. | |
virtual void | set (const std::string &, const std::vector< uint64_t > &) |
Virtual method to read vector-of-unsigned-64-bits-integers attribute value. | |
virtual void | set (const std::string &, const std::vector< int64_t > &) |
Virtual method to read vector-of-signed-64-bits-integers attribute value. | |
virtual void | set (const std::string &, const std::vector< float > &) |
Virtual method to read vector-of-floats attribute value. | |
virtual void | set (const std::string &, const std::vector< double > &) |
Virtual method to read vector-of-doubles attribute value. | |
virtual void | set (const std::string &, const std::vector< std::string > &) |
Virtual method to read vector-of-strings attribute value. | |
virtual void | set_enum (const std::string &, const std::vector< std::string > &) |
Virtual method to read vector-of-enumerations attribute value. | |
virtual void | set_date (const std::string &, const std::vector< std::string > &) |
Virtual method to read vector-of-dates attribute value. | |
virtual void | set_time (const std::string &, const std::vector< std::string > &) |
Virtual method to read vector-of-times attribute value. | |
virtual void | set_class (const std::string &, const std::vector< std::string > &) |
Virtual method to read vector-of-enumerations attribute value. | |
virtual void | set (const std::string &, const ConfigObject *, bool) |
Virtual method to read conffwk-object relationship value. | |
virtual void | set (const std::string &, const std::vector< const ConfigObject * > &, bool) |
Virtual method to read vector-of-conffwk-objects relationship value. | |
virtual void | move (const std::string &) |
Virtual method to move object to a file. | |
virtual void | rename (const std::string &) |
Virtual method to change object ID. | |
virtual void | reset () |
Virtual method to reset the implementation object from unknown state. | |
![]() | |
ConfigObjectImpl (ConfigurationImpl *impl, const std::string &id, dunedaq::conffwk::ObjectState state=dunedaq::conffwk::Valid) noexcept | |
The constructor stores configuration implementation pointer. | |
virtual | ~ConfigObjectImpl () noexcept |
The virtual destructor. | |
const std::string & | UID () const noexcept |
Method to get database object's unique ID. | |
const std::string & | class_name () const noexcept |
Virtual method to get object's class name. | |
virtual void | clear () noexcept |
Virtual method to clean resources used by the implementation object. | |
bool | is_deleted () const |
Check object and return true if the object has been deleted. | |
Static Private Member Functions | |
static void | bad () |
Static Private Attributes | |
static const std::string | s_invalid = "*INVALID*" |
Additional Inherited Members | |
![]() | |
static ConfigObjectImpl * | default_impl () noexcept |
Returns default implementation. | |
![]() | |
void | throw_if_deleted () const |
![]() | |
ConfigurationImpl * | m_impl |
dunedaq::conffwk::ObjectState | m_state |
std::string | m_id |
const std::string * | m_class_name |
std::mutex | m_mutex |
Definition at line 7 of file ConfigObjectImpl.cpp.
|
inlinenoexcept |
Definition at line 17 of file ConfigObjectImpl.cpp.
|
inlinevirtualnoexcept |
Definition at line 18 of file ConfigObjectImpl.cpp.
|
staticprivate |
dunedaq::conffwk::Generic |
Definition at line 119 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to get object's database file name.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 23 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read boolean attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 25 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read relationship single-value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 37 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read double attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 35 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read float attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 34 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read signed short attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 29 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read signed long attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 31 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read signed 64 bits integer attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 33 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read signed char attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 27 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read string attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 36 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-booleans attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 39 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-conffwk-objects relationship value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 51 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-doubles attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 49 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-floats attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 48 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-signed-shorts attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 43 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-signed-longs attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 45 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-signed-64-bits-integers attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 47 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-signed-chars attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 41 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-strings attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 50 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-unsigned-shorts attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 42 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-unsigned-longs attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 44 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-unsigned-64-bits-integers attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 46 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-unsigned-chars attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 40 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read unsigned short attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 28 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read unsigned long attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 30 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read unsigned 64 bits integer attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 32 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read unsigned char attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 26 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to move object to a file.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 97 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-conffwk-object referencing this object.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 54 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read any relationship value without throwing an exception if there is no such relationship (return false)
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 53 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to change object ID.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 98 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to reset the implementation object from unknown state.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 100 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to set boolean attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 56 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read conffwk-object relationship value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 94 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to set string attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 67 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-booleans attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 75 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-conffwk-objects relationship value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 95 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-doubles attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 85 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-floats attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 84 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-signed-shorts attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 79 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-signed-longs attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 81 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-signed-64-bits-integers attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 83 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-signed-chars attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 77 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-strings attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 86 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-unsigned-shorts attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 78 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-unsigned-longs attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 80 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-unsigned-64-bits-integers attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 82 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-unsigned-chars attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 76 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to set double attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 66 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to set float attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 65 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to set signed short attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 60 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to set signed long attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 62 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to set signed 64 bits integer attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 64 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to set signed char attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 58 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to set unsigned short attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 59 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to set unsigned long attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 61 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to set unsigned 64 bits integer attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 63 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to set unsigned char attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 57 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to set enumeration attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 73 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-enumerations attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 92 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to set date attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 70 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-dates attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 89 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to set enumeration attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 69 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-enumerations attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 88 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to set time attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 71 of file ConfigObjectImpl.cpp.
|
inlinevirtual |
Virtual method to read vector-of-times attribute value.
Implements dunedaq::conffwk::ConfigObjectImpl.
Definition at line 90 of file ConfigObjectImpl.cpp.
|
staticprivate |
Definition at line 13 of file ConfigObjectImpl.cpp.