DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
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"
18
20
21#include <string>
22
23namespace dbe
24{
25
26namespace config
27{
28
29namespace api
30{
31
35class 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,
81
82
90 static void rename_object ( dunedaq::conffwk::ConfigObject & object, std::string const & newname );
91
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_ */
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
static void destroy_object(dunedaq::conffwk::ConfigObject &)
Definition rwdacc.cpp:343
static dunedaq::conffwk::ConfigObject get_object(std::string const &, std::string const &)
Definition rwdacc.cpp:360
static std::vector< dunedaq::conffwk::ConfigObject > query_class(std::string const &classname, std::string const &query)
Definition rwdacc.cpp:392
static dunedaq::conffwk::ConfigObject create_object(std::string const &fn, std::string const &cn, std::string const &name)
Definition rwdacc.cpp:47
static void rename_object(dunedaq::conffwk::ConfigObject &object, std::string const &newname)
Definition rwdacc.cpp:422
Represents database objects.
Include QT Headers.
inner::configobject::tref tref
Definition tref.hpp:35