Project
Loading...
Searching...
No Matches
o2::framework::DriverControl Struct Reference

#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< Callbackcallbacks
 
bool defaultQuiet
 
bool defaultStopped
 

Detailed Description

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.

Member Typedef Documentation

◆ Callback

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.

Member Data Documentation

◆ callbacks

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.

◆ defaultQuiet

bool o2::framework::DriverControl::defaultQuiet

Definition at line 50 of file DriverControl.h.

◆ defaultStopped

bool o2::framework::DriverControl::defaultStopped

Definition at line 51 of file DriverControl.h.

◆ forcedTransitions

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.

◆ state

DriverControlState o2::framework::DriverControl::state

Current state of the state machine player.

Definition at line 46 of file DriverControl.h.


The documentation for this struct was generated from the following file: