DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
sourcecode
dbe
include
dbe
config_direct_access.hpp
Go to the documentation of this file.
1
// DUNE DAQ modification notice:
2
// This file has been modified from the original ATLAS dbe source for the DUNE DAQ project.
3
// Fork baseline commit: dbe-02-12-17 (2022-05-12).
4
// Renamed since fork: yes (from dbe/config_direct_access.h to include/dbe/config_direct_access.hpp).
5
6
/************************************************************
7
* direct_access.h
8
*
9
* Created on: Feb 4, 2016
10
* Author: Leonidas Georgopoulos
11
************************************************************/
12
13
#ifndef DBE_CONFIG_DIRECT_ACCESS_H_
14
#define DBE_CONFIG_DIRECT_ACCESS_H_
15
16
#include "
dbe/dbcontroller.hpp
"
17
#include "
dbe/confobject_desc.hpp
"
18
19
#include "
conffwk/ConfigObject.hpp
"
20
21
#include <string>
22
23
namespace
dbe
24
{
25
26
namespace
config
27
{
28
29
namespace
api
30
{
31
35
class
rwdacc
36
{
44
static
std::vector<dunedaq::conffwk::ConfigObject>
query_class
( std::string
const
&
classname
,
45
std::string
const
& query );
46
58
static
dunedaq::conffwk::ConfigObject
create_object
( std::string
const
& fn, std::string
const
& cn,
59
std::string
const
& name );
60
68
static
dunedaq::conffwk::ConfigObject
get_object
( std::string
const
&, std::string
const
& );
69
78
static
tref
set_object
(
tref
newobj,
79
dbe::t_config_object_preimage::type_attrmap
const
& attributes,
80
dbe::t_config_object_preimage::type_relmap
const
& relations );
81
82
90
static
void
rename_object
(
dunedaq::conffwk::ConfigObject
&
object
, std::string
const
& newname );
91
97
static
void
destroy_object
(
dunedaq::conffwk::ConfigObject
& );
98
99
friend
class
inner::dbcontroller
;
100
};
101
102
}
// namespace api
103
104
}
// namespace config
105
106
}
// namespace dbe
107
108
#endif
/* DBE_CONFIG_DIRECT_ACCESS_H_ */
ConfigObject.hpp
dbe::config::api::rwdacc
Definition
config_direct_access.hpp:36
dbe::config::api::rwdacc::set_object
static tref set_object(tref newobj, dbe::t_config_object_preimage::type_attrmap const &attributes, dbe::t_config_object_preimage::type_relmap const &relations)
Definition
rwdacc.cpp:88
dbe::config::api::rwdacc::destroy_object
static void destroy_object(dunedaq::conffwk::ConfigObject &)
Definition
rwdacc.cpp:343
dbe::config::api::rwdacc::get_object
static dunedaq::conffwk::ConfigObject get_object(std::string const &, std::string const &)
Definition
rwdacc.cpp:360
dbe::config::api::rwdacc::query_class
static std::vector< dunedaq::conffwk::ConfigObject > query_class(std::string const &classname, std::string const &query)
Definition
rwdacc.cpp:392
dbe::config::api::rwdacc::create_object
static dunedaq::conffwk::ConfigObject create_object(std::string const &fn, std::string const &cn, std::string const &name)
Definition
rwdacc.cpp:47
dbe::config::api::rwdacc::rename_object
static void rename_object(dunedaq::conffwk::ConfigObject &object, std::string const &newname)
Definition
rwdacc.cpp:422
dbe::inner::dbcontroller
Definition
dbcontroller.hpp:30
dunedaq::conffwk::ConfigObject
Represents database objects.
Definition
ConfigObject.hpp:53
confobject_desc.hpp
dbcontroller.hpp
dbe::config::api
Definition
config_api.hpp:33
dbe::config
Definition
config_api.hpp:31
dbe
Include QT Headers.
Definition
BatchChangeWidget.hpp:18
dbe::tref
inner::configobject::tref tref
Definition
tref.hpp:35
dbe::config_object_image< S, config_object_key< S >, S >::type_relmap
std::map< type_str, type_images > type_relmap
Definition
confobject_desc.hpp:125
dbe::config_object_image< S, config_object_key< S >, S >::type_attrmap
std::map< type_str, type_attributes > type_attrmap
Definition
confobject_desc.hpp:124
tablepositions::classname
@ classname
Definition
ui_constants.hpp:11
Generated on
for DUNE-DAQ by
1.17.0