|
|
#include <ArmarXCore/core/util/FiniteStateMachine.h>
Inheritance diagram for BoolFiniteStateMachine< T >:Public Member Functions | |
| BoolFiniteStateMachine & | on_success () |
Public Member Functions inherited from FiniteStateMachine< T, BoolFiniteStateMachine< T >, bool, false > | |
| FiniteStateMachine (std::shared_ptr< T > context) | |
| FiniteStateMachine (T &context) | |
| FiniteStateMachine (T *context) | |
| BoolFiniteStateMachine< T > & | from (state from_state) |
| BoolFiniteStateMachine< T > & | on (bool status) |
| BoolFiniteStateMachine< T > & | on_any_failure () |
| BoolFiniteStateMachine< T > & | on_failure () |
| virtual bool | run () const |
| BoolFiniteStateMachine< T > & | start_from (state start_state) |
| BoolFiniteStateMachine< T > & | to (state to_state) |
Additional Inherited Members | |
Public Types inherited from FiniteStateMachine< T, BoolFiniteStateMachine< T >, bool, false > | |
| using | state = std::function< bool(T *)> |
Static Public Attributes inherited from FiniteStateMachine< T, BoolFiniteStateMachine< T >, bool, false > | |
| static const bool | failure_status_value |
Protected Member Functions inherited from FiniteStateMachine< T, BoolFiniteStateMachine< T >, bool, false > | |
| long | get_id (const state &fn) const |
| long | get_id (std::optional< state > fn) const |
| std::optional< state > | get_next_state (const long state_id, const bool status) const |
Protected Attributes inherited from FiniteStateMachine< T, BoolFiniteStateMachine< T >, bool, false > | |
| T * | m_context |
| std::optional< state > | m_default_fail_state |
| std::optional< state > | m_init_from_state |
| std::optional< state > | m_init_to_state |
| std::optional< state > | m_start_state |
| std::map< long, std::optional< state > > | m_states |
| std::map< std::tuple< long, bool >, long > | m_transitions |
Definition at line 228 of file FiniteStateMachine.h.
|
inline |