DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dbaccessor.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/dbaccessor.h to include/dbe/dbaccessor.hpp).
5
6/*
7 * dbaccessor.h
8 *
9 * Created on: Feb 10, 2016
10 * Author: Leonidas Georgopoulos
11 */
12
13#ifndef DBE_DBACCESSOR_H_
14#define DBE_DBACCESSOR_H_
15
16#include "dbe/cptr.hpp"
17#include "dbe/types.hpp"
18
20#include <string>
21
22namespace dbe {
23
24namespace config {
25namespace api {
26struct rwdacc;
27
28namespace info {
29class onclass;
30}
31
32namespace get {
33class file;
34}
35
36}
37} // namespace config
38
39//------------------------------------------------------------------------------------------
40
53
55{
58
64
65 static bool is_loaded();
66
67 friend class confaccessor;
68
70
72
74};
75//------------------------------------------------------------------------------------------
76} // end namespace dbe
77#endif /* DBE_DBACCESSOR_H_ */
Definition cptr.hpp:56
friend class confaccessor
dbholder::t_lock t_lock
dbholder::t_mutex t_mutex
static cptr< dunedaq::conffwk::Configuration > dbptr()
static bool is_loaded()
static cptr< dunedaq::conffwk::Configuration > database_concurrent_ptr
friend class confaccessor
dbe::types::common::type_mutex t_mutex
dbe::types::common::type_lock t_lock
friend class dbaccessor
static dunedaq::conffwk::Configuration * database
static dbe::types::common::type_mutex database_lock
Defines base class for cache of template objects.
conffwk entry point
std::lock_guard< type_mutex > type_lock
Definition types.hpp:23
std::mutex type_mutex
Definition types.hpp:22
Include QT Headers.