11 #ifndef CORAL_BUS_EXECUTION_STATE_HPP 12 #define CORAL_BUS_EXECUTION_STATE_HPP 18 #include "coral/config.h" 38 virtual void StateEntered(
42 virtual void Reconstitute(
48 { NotAllowed(__FUNCTION__); }
50 virtual void Reconfigure(
56 { NotAllowed(__FUNCTION__); }
58 virtual void ResendVars(
63 { NotAllowed(__FUNCTION__); }
71 { NotAllowed(__FUNCTION__); }
73 virtual void AcceptStep(
78 { NotAllowed(__FUNCTION__); }
81 { NotAllowed(__FUNCTION__); }
86 CORAL_NORETURN
void NotAllowed(
const std::string& func)
const 89 func +
": Method call not allowed in present state");
130 ReconstitutingExecutionState(
156 ReconfiguringExecutionState(
176 PrimingExecutionState(
190 const int m_maxAttempts;
199 SteppingExecutionState(
237 AcceptingExecutionState(
270 #endif // header guard
The superclass of all classes that represent execution states.
Definition: execution_state.hpp:35
Defines the coral::bus::ExecutionManager class.
Definition: variable_io.hpp:28
An exception which is used to signal that one or more of a function's preconditions were not met...
Definition: error.hpp:122
double TimeDuration
The type used to specify (simulation) time durations.
Definition: model.hpp:56
Main header file for coral::error.
Implementation class for coral::bus::ExecutionManager.
Definition: execution_manager_private.hpp:50