QualityControl  1.5.1
O2 Data Quality Control Framework
TaskConfig.h
Go to the documentation of this file.
1 // Copyright CERN and copyright holders of ALICE O2. This software is
2 // distributed under the terms of the GNU General Public License v3 (GPL
3 // Version 3), copied verbatim in the file "COPYING".
4 //
5 // See http://alice-o2.web.cern.ch/license for full licensing information.
6 //
7 // In applying this license CERN does not waive the privileges and immunities
8 // granted to it by virtue of its status as an Intergovernmental Organization
9 // or submit itself to any jurisdiction.
10 
15 
16 #ifndef QC_CORE_TASKCONFIG_H
17 #define QC_CORE_TASKCONFIG_H
18 
19 #include <string>
20 #include <unordered_map>
21 
23 {
24 
26 struct TaskConfig {
27  std::string taskName;
28  std::string moduleName;
29  std::string className;
30  int cycleDurationSeconds;
31  int maxNumberCycles;
32  std::string consulUrl;
33  std::string conditionUrl = "";
34  std::unordered_map<std::string, std::string> customParameters = {};
35  std::string detectorName = "MISC"; // intended to be the 3 letters code
36  int parallelTaskID = 0; // ID to differentiate parallel local Tasks from one another. 0 means this is the only one.
37  std::string saveToFile = "";
38 };
39 
40 } // namespace o2::quality_control::core
41 
42 #endif // QC_CORE_TASKCONFIG_H
Container for the configuration of a Task.
Definition: TaskConfig.h:26
These methods can be used to build a complex processing topology. It spawns 3 separate dummy processi...
Definition: Activity.h:19