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
21{
22/*
23 * A compact representation a group of alias to be generated
24 */
25template <typename T>
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
32using HintType = std::variant<DataPointHint<double>,
39
40} // namespace o2::dcs::test
41
42#endif
std::variant< DataPointHint< double >, DataPointHint< float >, DataPointHint< uint32_t >, DataPointHint< int32_t >, DataPointHint< char >, DataPointHint< bool >, DataPointHint< std::string > > HintType