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
17#include "dbe/dbcontroller.hpp"
18
20
21#include <string>
22
23namespace dbe {
24
25namespace config {
26
27namespace api {
28
32class 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,
79
87 static void rename_object(dunedaq::conffwk::ConfigObject& object, std::string const& newname);
88
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_ */
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
static void destroy_object(dunedaq::conffwk::ConfigObject &)
Definition rwdacc.cpp:285
static dunedaq::conffwk::ConfigObject get_object(std::string const &, std::string const &)
Definition rwdacc.cpp:299
static std::vector< dunedaq::conffwk::ConfigObject > query_class(std::string const &classname, std::string const &query)
Definition rwdacc.cpp:322
static dunedaq::conffwk::ConfigObject create_object(std::string const &fn, std::string const &cn, std::string const &name)
Definition rwdacc.cpp:45
static void rename_object(dunedaq::conffwk::ConfigObject &object, std::string const &newname)
Definition rwdacc.cpp:344
Represents database objects.
Include QT Headers.
inner::configobject::tref tref
Definition tref.hpp:36