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/confobject_desc.hpp
"
17
#include "
dbe/dbcontroller.hpp
"
18
19
#include "
conffwk/ConfigObject.hpp
"
20
21
#include <string>
22
23
namespace
dbe
{
24
25
namespace
config
{
26
27
namespace
api
{
28
32
class
rwdacc
33
{
41
static
std::vector<dunedaq::conffwk::ConfigObject>
query_class
(std::string
const
&
classname
,
42
std::string
const
& query);
43
55
static
dunedaq::conffwk::ConfigObject
create_object
(std::string
const
& fn,
56
std::string
const
& cn,
57
std::string
const
& name);
58
66
static
dunedaq::conffwk::ConfigObject
get_object
(std::string
const
&, std::string
const
&);
67
76
static
tref
set_object
(
tref
newobj,
77
dbe::t_config_object_preimage::type_attrmap
const
& attributes,
78
dbe::t_config_object_preimage::type_relmap
const
& relations);
79
87
static
void
rename_object
(
dunedaq::conffwk::ConfigObject
&
object
, std::string
const
& newname);
88
94
static
void
destroy_object
(
dunedaq::conffwk::ConfigObject
&);
95
96
friend
class
inner::dbcontroller
;
97
};
98
99
}
// namespace api
100
101
}
// namespace config
102
103
}
// namespace dbe
104
105
#endif
/* DBE_CONFIG_DIRECT_ACCESS_H_ */
ConfigObject.hpp
dbe::config::api::rwdacc
Definition
config_direct_access.hpp:33
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:83
dbe::config::api::rwdacc::destroy_object
static void destroy_object(dunedaq::conffwk::ConfigObject &)
Definition
rwdacc.cpp:285
dbe::config::api::rwdacc::get_object
static dunedaq::conffwk::ConfigObject get_object(std::string const &, std::string const &)
Definition
rwdacc.cpp:299
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:322
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:45
dbe::config::api::rwdacc::rename_object
static void rename_object(dunedaq::conffwk::ConfigObject &object, std::string const &newname)
Definition
rwdacc.cpp:344
dbe::inner::dbcontroller
Definition
dbcontroller.hpp:28
dunedaq::conffwk::ConfigObject
Represents database objects.
Definition
ConfigObject.hpp:54
confobject_desc.hpp
dbcontroller.hpp
dbe::config::api
Definition
config_api.hpp:30
dbe::config
Definition
config_api.hpp:29
dbe
Include QT Headers.
Definition
BatchChangeWidget.hpp:16
dbe::tref
inner::configobject::tref tref
Definition
tref.hpp:36
dbe::config_object_image< S, config_object_key< S >, S >::type_relmap
std::map< type_str, type_images > type_relmap
Definition
confobject_desc.hpp:109
dbe::config_object_image< S, config_object_key< S >, S >::type_attrmap
std::map< type_str, type_attributes > type_attrmap
Definition
confobject_desc.hpp:108
tablepositions::classname
@ classname
Definition
ui_constants.hpp:11
Generated on
for DUNE-DAQ by
1.18.0