#include <packml_states.h>
|
template<class Event , class FSM > |
void | on_entry (Event const &event, FSM &state_machine) |
|
template<class Event , class FSM > |
void | on_exit (Event const &event, FSM &state_machine) |
|
template<class FSM > |
void | runStateMethod (FSM *state_machine_ptr) |
|
void | setStateMethod (std::function< int()> state_method) |
|
virtual StatesEnum | stateId ()=0 |
|
virtual std::string | stateName ()=0 |
|
Definition at line 31 of file packml_states.h.
template<class Event , class FSM >
void packml_sm::PackmlState::on_entry |
( |
Event const & |
event, |
|
|
FSM & |
state_machine |
|
) |
| |
|
inline |
template<class Event , class FSM >
void packml_sm::PackmlState::on_exit |
( |
Event const & |
event, |
|
|
FSM & |
state_machine |
|
) |
| |
|
inline |
template<class FSM >
void packml_sm::PackmlState::runStateMethod |
( |
FSM * |
state_machine_ptr | ) |
|
|
inline |
void packml_sm::PackmlState::setStateMethod |
( |
std::function< int()> |
state_method | ) |
|
|
inline |
virtual StatesEnum packml_sm::PackmlState::stateId |
( |
| ) |
|
|
pure virtual |
Implemented in packml_sm::Stopping_impl, packml_sm::Aborting_impl, packml_sm::Complete_impl, packml_sm::Completing_impl, packml_sm::UnSuspending_impl, packml_sm::Suspended_impl, packml_sm::Suspending_impl, packml_sm::UnHolding_impl, packml_sm::Held_impl, packml_sm::Holding_impl, packml_sm::Execute_impl, packml_sm::Starting_impl, packml_sm::Idle_impl, packml_sm::Resetting_impl, packml_sm::Stopped_impl, packml_sm::Clearing_impl, and packml_sm::Aborted_impl.
virtual std::string packml_sm::PackmlState::stateName |
( |
| ) |
|
|
pure virtual |
Implemented in packml_sm::Stopping_impl, packml_sm::Aborting_impl, packml_sm::Complete_impl, packml_sm::Completing_impl, packml_sm::UnSuspending_impl, packml_sm::Suspended_impl, packml_sm::Suspending_impl, packml_sm::UnHolding_impl, packml_sm::Held_impl, packml_sm::Holding_impl, packml_sm::Execute_impl, packml_sm::Starting_impl, packml_sm::Idle_impl, packml_sm::Resetting_impl, packml_sm::Stopped_impl, packml_sm::Clearing_impl, and packml_sm::Aborted_impl.
double packml_sm::PackmlState::cummulative_time_ = 0.0f |
|
private |
std::atomic<bool> packml_sm::PackmlState::is_exiting_ |
|
private |
std::atomic<bool> packml_sm::PackmlState::is_running_ |
|
private |
std::chrono::steady_clock::time_point packml_sm::PackmlState::start_time_ |
|
private |
std::function<int()> packml_sm::PackmlState::state_method_ |
|
private |
std::future<void> packml_sm::PackmlState::state_method_future_ |
|
private |
std::string packml_sm::PackmlState::state_name_ |
|
private |
The documentation for this struct was generated from the following file: