StateMachine()No comment in the header yet.
API · fair::mq
No comment in the header yet.
ErrorStateExceptionstructStateMachine()No comment in the header yet.
StateMachine(const StateMachine&) = deleteNo comment in the header yet.
StateMachine(StateMachine&&) = deleteNo comment in the header yet.
StateMachine& operator=(const StateMachine&) = deleteNo comment in the header yet.
StateMachine& operator=(StateMachine&&) = deleteNo comment in the header yet.
~StateMachine()No comment in the header yet.
bool ChangeState(Transition transition)No comment in the header yet.
bool ChangeState(const std::string& transition)No comment in the header yet.
void SubscribeToStateChange(
const std::string& key,
std::function<void(const State)> callback
)No comment in the header yet.
void UnsubscribeFromStateChange(const std::string& key)No comment in the header yet.
void PrepareState(std::function<void(const State)> callback)No comment in the header yet.
void HandleStates(std::function<void(const State)> callback)No comment in the header yet.
void StopHandlingStates()No comment in the header yet.
void SubscribeToNewTransition(
const std::string& key,
std::function<void(const Transition)> callback
)No comment in the header yet.
void UnsubscribeFromNewTransition(const std::string& key)No comment in the header yet.
bool NewStatePending() constNo comment in the header yet.
void WaitForPendingState() constNo comment in the header yet.
bool WaitForPendingStateFor(int durationInMs) constNo comment in the header yet.
State GetCurrentState() constNo comment in the header yet.
std::string GetCurrentStateName() constNo comment in the header yet.
void Start()No comment in the header yet.
void ProcessWork()No comment in the header yet.