DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dbaccessor.cpp
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: no.
5
6/*
7 * dbaccessor.cpp
8 *
9 * Created on: Mar 10, 2016
10 * Author: Leonidas Georgopoulos
11 */
12
13#include "dbe/dbaccessor.hpp"
14
15using namespace dunedaq::conffwk;
16
17//------------------------------------------------------------------------------------------
22//------------------------------------------------------------------------------------------
28//------------------------------------------------------------------------------------------
29
30//------------------------------------------------------------------------------------------
32{
33return dbaccessor::dbptr().get() != nullptr;
34}
35//------------------------------------------------------------------------------------------
Definition cptr.hpp:55
T * get()
Definition cptr.hpp:88
dbholder::t_lock t_lock
static cptr< dunedaq::conffwk::Configuration > dbptr()
static bool is_loaded()
static cptr< dunedaq::conffwk::Configuration > database_concurrent_ptr
dbe::types::common::type_mutex t_mutex
static dunedaq::conffwk::Configuration * database
static dbe::types::common::type_mutex database_lock
Defines base class for cache of template objects.