![]() |
Project
|
#include <DriverControl.h>
Public Types | |
using | Callback = std::function< void(std::vector< DataProcessorSpec > const &workflow, std::vector< DeviceSpec > const &, std::vector< DeviceExecution > const &, std::vector< DataProcessorInfo > &, CommandInfo const &)> |
Public Attributes | |
std::vector< DriverState > | forcedTransitions |
DriverControlState | state |
Current state of the state machine player. | |
std::vector< Callback > | callbacks |
bool | defaultQuiet |
bool | defaultStopped |
Controller for the driver process (i.e. / the one which calculates the topology and actually spawns the devices ). Any operation to be done by the driver process should be recorded in an instance of this, so that the changes can be applied at the correct moment / state.
Definition at line 36 of file DriverControl.h.
using o2::framework::DriverControl::Callback = std::function<void(std::vector<DataProcessorSpec> const& workflow, std::vector<DeviceSpec> const&, std::vector<DeviceExecution> const&, std::vector<DataProcessorInfo>&, CommandInfo const&)> |
Definition at line 37 of file DriverControl.h.
std::vector<Callback> o2::framework::DriverControl::callbacks |
Callbacks to be performed by the driver next time it goes in the "PERFORM_CALLBACK" state.
Definition at line 49 of file DriverControl.h.
bool o2::framework::DriverControl::defaultQuiet |
Definition at line 50 of file DriverControl.h.
bool o2::framework::DriverControl::defaultStopped |
Definition at line 51 of file DriverControl.h.
std::vector<DriverState> o2::framework::DriverControl::forcedTransitions |
States to be added to the stack on next iteration of the state machine processing.
Definition at line 44 of file DriverControl.h.
DriverControlState o2::framework::DriverControl::state |
Current state of the state machine player.
Definition at line 46 of file DriverControl.h.