Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
N21-01-21
DatabaseUtils
cxx
src
DAQConfig
IDSpec.cpp
Go to the documentation of this file.
1
#include <DatabaseUtils/DAQConfig/IDSpec.h>
2
3
namespace
dbutils
{
4
namespace
daqconfig {
5
6
/**
7
* Creates an ID-based configuration specification object from the
8
* specified ID. By default, new IDSpec instances are for global
9
* DAQ configurations.
10
*
11
* @param configId The ID of the named configuration of interest.
12
*/
13
IDSpec::IDSpec
(
const
int64_t& configId,
CONFIG_LEVEL
globalOrSubsystem,
14
MAJOR_SYSTEM_TYPE
daqOrSlowControls) : _configId(configId)
15
{
16
_isSubsystemConfig
= (globalOrSubsystem ==
SUBSYSTEM
);
17
_isSlowControlsConfig
= (daqOrSlowControls ==
SLOWCONTROLS
);
18
}
19
20
}
// end of namespace daqconfig
21
}
// end of namespace dbutils
dbutils
Definition:
ApplicationInstance.h:10
dbutils::daqconfig::IDSpec::IDSpec
IDSpec(const int64_t &configId, CONFIG_LEVEL globalOrSubsytem, MAJOR_SYSTEM_TYPE daqOrSlowControls)
Definition:
IDSpec.cpp:13
dbutils::daqconfig::IDSpec::SLOWCONTROLS
Definition:
IDSpec.h:23
dbutils::daqconfig::IDSpec::SUBSYSTEM
Definition:
IDSpec.h:22
dbutils::daqconfig::IDSpec::_isSlowControlsConfig
bool _isSlowControlsConfig
Definition:
IDSpec.h:66
dbutils::daqconfig::IDSpec::CONFIG_LEVEL
CONFIG_LEVEL
Definition:
IDSpec.h:22
dbutils::daqconfig::IDSpec::MAJOR_SYSTEM_TYPE
MAJOR_SYSTEM_TYPE
Definition:
IDSpec.h:23
dbutils::daqconfig::IDSpec::_isSubsystemConfig
bool _isSubsystemConfig
Definition:
IDSpec.h:65
Generated on Thu Jan 21 2021 14:13:42 for NOvA by
1.8.11