ESM State Interface class. More...
#include <ethercat_FSM.h>
Public Member Functions | |
virtual EC_State | get_state () const =0 |
virtual bool | to_state (EC_ESM *a_ESM, EC_State a_state)=0 |
Change the state of an EtherCAT state machine. | |
virtual | ~EC_ESM_State () |
Static Protected Attributes | |
static EC_ESM_InitState | initState |
static EC_ESM_OpState | opState |
static EC_ESM_PreOpState | preopState |
static EC_ESM_SafeOpState | safeopState |
Friends | |
class | EC_ESM |
ESM State Interface class.
Definition at line 107 of file ethercat_FSM.h.
virtual EC_ESM_State::~EC_ESM_State | ( | ) | [inline, virtual] |
Definition at line 112 of file ethercat_FSM.h.
virtual EC_State EC_ESM_State::get_state | ( | ) | const [pure virtual] |
Implemented in EC_ESM_OpState, EC_ESM_SafeOpState, EC_ESM_PreOpState, and EC_ESM_InitState.
virtual bool EC_ESM_State::to_state | ( | EC_ESM * | a_ESM, |
EC_State | a_state | ||
) | [pure virtual] |
Change the state of an EtherCAT state machine.
a_ESM | pointer to the EtherCAT state machine |
a_state | to which state? Possibilities are
|
Implemented in EC_ESM_OpState, EC_ESM_SafeOpState, EC_ESM_PreOpState, and EC_ESM_InitState.
friend class EC_ESM [friend] |
Definition at line 109 of file ethercat_FSM.h.
EC_ESM_InitState EC_ESM_State::initState [static, protected] |
Definition at line 128 of file ethercat_FSM.h.
EC_ESM_OpState EC_ESM_State::opState [static, protected] |
Definition at line 131 of file ethercat_FSM.h.
EC_ESM_PreOpState EC_ESM_State::preopState [static, protected] |
Definition at line 129 of file ethercat_FSM.h.
EC_ESM_SafeOpState EC_ESM_State::safeopState [static, protected] |
Definition at line 130 of file ethercat_FSM.h.