ifw-ocf  2.0.0-dev
 All Classes Namespaces Files Functions Variables Groups
Public Member Functions | List of all members
daq::StateMachine Class Reference

#include <stateMachine.hpp>

Public Member Functions

 StateMachine (Context &ctx, std::string const &model_file, std::list< scxml4cpp::Action * > &actions, std::list< scxml4cpp::Activity * > &activities)
 
 ~StateMachine ()
 
 StateMachine (StateMachine &&)=default
 
 StateMachine (StateMachine const &)=delete
 
StateMachineoperator= (StateMachine const &)=delete
 
void ProcessEvent (rad::AnyEvent const &ev)
 

Detailed Description

Class used to encapsulate the data acquisition life cycle state machine.

Note
: References to actions and activities will be stored in the state machine model (m_model) so those objects must outlive StateMachine.

Constructor & Destructor Documentation

daq::StateMachine::StateMachine ( Context ctx,
std::string const &  model_file,
std::list< scxml4cpp::Action * > &  actions,
std::list< scxml4cpp::Activity * > &  activities 
)
explicit

Create statemachine instance for new data acquisition.

Exceptions
std::runtime_erroron failures.
daq::StateMachine::~StateMachine ( )
daq::StateMachine::StateMachine ( StateMachine &&  )
default

Enable move semantics

daq::StateMachine::StateMachine ( StateMachine const &  )
delete

Disable copy semantics

Member Function Documentation

StateMachine& daq::StateMachine::operator= ( StateMachine const &  )
delete
void daq::StateMachine::ProcessEvent ( rad::AnyEvent const &  ev)

The documentation for this class was generated from the following files: