DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dbaccessor.cpp
Go to the documentation of this file.
1/*
2 * dbaccessor.cpp
3 *
4 * Created on: Mar 10, 2016
5 * Author: Leonidas Georgopoulos
6 */
7
8#include "dbe/dbaccessor.hpp"
9
10using namespace dunedaq::conffwk;
11
12//------------------------------------------------------------------------------------------
17//------------------------------------------------------------------------------------------
23//------------------------------------------------------------------------------------------
24
25//------------------------------------------------------------------------------------------
27{
28return dbaccessor::dbptr().get() != nullptr;
29}
30//------------------------------------------------------------------------------------------
Definition cptr.hpp:50
T * get()
Definition cptr.hpp:83
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.