Struct Running¶
Defined in File StateMachine.hpp
Inheritance Relationships¶
Base Type¶
public boost::statechart::state< Running, StateMachine, Initializing >
Struct Documentation¶
-
struct mimir::Running : public boost::statechart::state<Running, StateMachine, Initializing>¶
Super state for running algorithm.
Public Types
Public Functions
-
Running(my_context ctx)¶
Constructor for Running state.
This state calls mimir::AlgorithmCreator() by passing configuration and other arguments. The instance of the IAlgorithm is held by the Running state and is in scope for nested states too.
-
~Running()¶
Destructor.
-
bsc::result react(const bsc::exception_thrown&)¶
Handling of exception, which currently is posting to log and shut down.
-
mimir::IAlgorithm *Algorithm()¶
Pointer to algorithm instance.
Private Members
-
std::unique_ptr<mimir::IAlgorithm> m_algorithm¶
Pointer to algorithm interface implementation.
-
Running(my_context ctx)¶