Project
Loading...
Searching...
No Matches
DCSDataPointHint.h
Go to the documentation of this file.
1
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3
// All rights not expressly granted are reserved.
4
//
5
// This software is distributed under the terms of the GNU General Public
6
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7
//
8
// In applying this license CERN does not waive the privileges and immunities
9
// granted to it by virtue of its status as an Intergovernmental Organization
10
// or submit itself to any jurisdiction.
11
12
#ifndef O2_DCS_TEST_WORKFLOW_DATAPOINTHINT_H
13
#define O2_DCS_TEST_WORKFLOW_DATAPOINTHINT_H
14
15
#include <variant>
16
#include <string>
17
#include <vector>
18
#include <cstdint>
19
20
namespace
o2::dcs::test
21
{
22
/*
23
* A compact representation a group of alias to be generated
24
*/
25
template
<
typename
T>
26
struct
DataPointHint
{
27
std::string
aliasPattern
;
// alias pattern e.g. DET/HV/Crate[0..2]/Channel[000..012]/vMon
28
T
minValue
;
// minimum value to generate
29
T
maxValue
;
// maximum value to generate
30
};
31
32
using
HintType
= std::variant<DataPointHint<double>,
33
DataPointHint<float>
,
34
DataPointHint<uint32_t>
,
35
DataPointHint<int32_t>
,
36
DataPointHint<char>
,
37
DataPointHint<bool>
,
38
DataPointHint<std::string>
>;
39
40
}
// namespace o2::dcs::test
41
42
#endif
o2::dcs::test
Definition
DCSDataPointHint.h:21
o2::dcs::test::HintType
std::variant< DataPointHint< double >, DataPointHint< float >, DataPointHint< uint32_t >, DataPointHint< int32_t >, DataPointHint< char >, DataPointHint< bool >, DataPointHint< std::string > > HintType
Definition
DCSDataPointHint.h:38
o2::dcs::test::DataPointHint
Definition
DCSDataPointHint.h:26
o2::dcs::test::DataPointHint::aliasPattern
std::string aliasPattern
Definition
DCSDataPointHint.h:27
o2::dcs::test::DataPointHint::minValue
T minValue
Definition
DCSDataPointHint.h:28
o2::dcs::test::DataPointHint::maxValue
T maxValue
Definition
DCSDataPointHint.h:29
Detectors
DCS
include
DetectorsDCS
DCSDataPointHint.h
Generated on Tue Feb 25 2025 23:16:14 for Project by
1.9.8