QualityControl  1.5.1
O2 Data Quality Control Framework
Activity.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_ACTIVITY_H
17 #define QC_CORE_ACTIVITY_H
18 
20 {
21 
25 class Activity
26 {
27  public:
28  Activity() = default;
29  Activity(int id, int type) : mId(id), mType(type) {}
31  Activity(const Activity& other) = default;
33  Activity(Activity&& other) noexcept = default;
35  Activity& operator=(const Activity& other) = default;
37  Activity& operator=(Activity&& other) noexcept = default;
38 
39  virtual ~Activity() = default;
40 
41  int mId{ 0 };
42  int mType{ 0 };
43 };
44 
45 } // namespace o2::quality_control::core
46 
47 #endif // QC_CORE_ACTIVITY_H
Activity & operator=(const Activity &other)=default
Copy assignment operator.
Dummy class that should be removed when there is the official one. This corresponds to a Run1/2 "run"...
Definition: Activity.h:25
These methods can be used to build a complex processing topology. It spawns 3 separate dummy processi...
Definition: Activity.h:19