Project
Loading...
Searching...
No Matches
DriverControl.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#ifndef FRAMEWORK_DRIVERCONTROL_H
12#define FRAMEWORK_DRIVERCONTROL_H
13
14#include <functional>
15#include <vector>
16
22
23namespace o2::framework
24{
25
29 PLAY,
30 PAUSE };
31
37 using Callback = std::function<void(std::vector<DataProcessorSpec> const& workflow,
38 std::vector<DeviceSpec> const&,
39 std::vector<DeviceExecution> const&,
40 std::vector<DataProcessorInfo>&,
41 CommandInfo const&)>;
44 std::vector<DriverState> forcedTransitions;
49 std::vector<Callback> callbacks;
52};
53
54} // namespace o2
55
56#endif
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
Defining PrimaryVertex explicitly as messageable.
Definition TFIDInfo.h:20
std::vector< DriverState > forcedTransitions
std::function< void(std::vector< DataProcessorSpec > const &workflow, std::vector< DeviceSpec > const &, std::vector< DeviceExecution > const &, std::vector< DataProcessorInfo > &, CommandInfo const &)> Callback
std::vector< Callback > callbacks
DriverControlState state
Current state of the state machine player.