state_t< EnumT > Class Template Reference

#include <ArmarXCore/core/util/SimpleStatemachine.h>

Public Types

using enum_t = EnumT
 

Public Member Functions

auto current_state () const
 
auto is_initial_state () const
 
auto previous_state () const
 
void quit ()
 

Friends

class simple_state_machine< enum_t >
 

Detailed Description

template<class EnumT>
class armarx::state_t< EnumT >

Definition at line 38 of file SimpleStatemachine.h.

Member Typedef Documentation

◆ enum_t

using enum_t = EnumT

Definition at line 42 of file SimpleStatemachine.h.

Member Function Documentation

◆ current_state()

auto current_state ( ) const
inline

Definition at line 46 of file SimpleStatemachine.h.

◆ is_initial_state()

auto is_initial_state ( ) const
inline

Definition at line 47 of file SimpleStatemachine.h.

◆ previous_state()

auto previous_state ( ) const
inline

Definition at line 45 of file SimpleStatemachine.h.

◆ quit()

void quit ( )
inline

Definition at line 49 of file SimpleStatemachine.h.

Friends And Related Function Documentation

◆ simple_state_machine< enum_t >

friend class simple_state_machine< enum_t >
friend

Definition at line 55 of file SimpleStatemachine.h.


The documentation for this class was generated from the following file: