|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Namespaces | |
| namespace | file |
Functions | |
| template<class T > | |
| void | modobj (tref Object, dunedaq::conffwk::attribute_t const &AttributeData, T Value) |
| template<> | |
| void | modobj< std::vector< std::string > > (tref Object, dunedaq::conffwk::attribute_t const &AttributeData, std::vector< std::string > Value) |
| void | newobj (std::string const &fn, std::string const &class_name, std::string const &UID, dbe::t_config_object_preimage::type_attrmap const &attributes, dbe::t_config_object_preimage::type_relmap const &relations, QUuid const &src) |
| bool | delobj (inner::configobject::tref obj, QUuid const &src) |
| bool | renobj (inner::configobject::tref obj, std::string const &newuuid, QUuid const &src) |
| bool | movobj (inner::configobject::tref obj, std::string const &destination, QUuid const &src) |
| void | modobj (inner::configobject::tref obj, dunedaq::conffwk::relationship_t const &link, std::vector< std::string > const &others) |
| template<> | |
| void | modobj< std::string > (tref Object, const dunedaq::conffwk::attribute_t &AttributeData, std::string Value) |
| template<> | |
| void | modobj< std::vector< std::string > > (tref Object, const dunedaq::conffwk::attribute_t &AttributeData, std::vector< std::string > Value) |
| bool dbe::config::api::commands::delobj | ( | inner::configobject::tref | obj, |
| QUuid const & | src ) |
Create a command that once activated it will delete an object and when undone will recreate the object from the database
emits an object_deleted signal
| obj | an object copy shadowing the one to be removed from the database |
| src | is the internal uuid of the object reqesting the change |
Definition at line 74 of file config_api_commands.cpp.
| void dbe::config::api::commands::modobj | ( | inner::configobject::tref | obj, |
| dunedaq::conffwk::relationship_t const & | link, | ||
| std::vector< std::string > const & | others ) |
Set a RELATION to new values , causes the Object and the objects designated by the new values to become linked
object -> others[x]
| object | that holds the outgoing link [ -> ] |
| link | to set between object that others |
| others | are the objects to be connected to object |
Definition at line 155 of file config_api_commands.cpp.
| void dbe::config::api::commands::modobj | ( | inner::configobject::tref | obj, |
| dunedaq::conffwk::attribute_t const & | attr, | ||
| T | value ) |
Set an ATTRIBUTE to a specific value by generating appropriately modification commands
| obj | to be modified |
| attr | provides information about the attribute to be modified |
| value | to be assigned to the new object |
Definition at line 110 of file config_api.hpp.
| void dbe::config::api::commands::modobj< std::string > | ( | tref | Object, |
| const dunedaq::conffwk::attribute_t & | AttributeData, | ||
| std::string | Value ) |
Definition at line 183 of file config_api_commands.cpp.
| void dbe::config::api::commands::modobj< std::vector< std::string > > | ( | tref | Object, |
| const dunedaq::conffwk::attribute_t & | AttributeData, | ||
| std::vector< std::string > | Value ) |
Definition at line 233 of file config_api_commands.cpp.
| void dbe::config::api::commands::modobj< std::vector< std::string > > | ( | tref | Object, |
| dunedaq::conffwk::attribute_t const & | AttributeData, | ||
| std::vector< std::string > | Value ) |
Definition at line 233 of file config_api_commands.cpp.
| bool dbe::config::api::commands::movobj | ( | inner::configobject::tref | obj, |
| std::string const & | destination, | ||
| QUuid const & | src ) |
Creates a command object holding move from current file to new file and undoing capabilities
| obj | an object copy shadowing the one to be moved |
| destination | that the object is going to be moved to |
Definition at line 127 of file config_api_commands.cpp.
| void dbe::config::api::commands::newobj | ( | std::string const & | fn, |
| std::string const & | class_name, | ||
| std::string const & | UID, | ||
| dbe::t_config_object_preimage::type_attrmap const & | attributes, | ||
| dbe::t_config_object_preimage::type_relmap const & | relations, | ||
| QUuid const & | src ) |
Create a command that once activated will create an object and when undone it will remove the object from the database
emits an object_created signal
| fn | is the file where it should be created |
| class_name | is the class it belongs to |
| UID | of the new UID of the object to be created |
| attributes | is the attribute map |
| relations | is the relational map |
Definition at line 56 of file config_api_commands.cpp.
| bool dbe::config::api::commands::renobj | ( | inner::configobject::tref | obj, |
| std::string const & | newuuid, | ||
| QUuid const & | src ) |
Create a command that once activated will rename an object and when undone the object will be renamed to its old name.
emits an object_deleted signal
| obj | an object copy shadowing the one to be removed from the database |
| newuuid | is the unique name assigned to the object |
Definition at line 97 of file config_api_commands.cpp.