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 101 of file ethercat_FSM.h.
virtual EC_ESM_State::~EC_ESM_State | ( | ) | [inline, virtual] |
Definition at line 106 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 103 of file ethercat_FSM.h.
EC_ESM_InitState EC_ESM_State::initState [static, protected] |
Definition at line 122 of file ethercat_FSM.h.
EC_ESM_OpState EC_ESM_State::opState [static, protected] |
Definition at line 125 of file ethercat_FSM.h.
EC_ESM_PreOpState EC_ESM_State::preopState [static, protected] |
Definition at line 123 of file ethercat_FSM.h.
EC_ESM_SafeOpState EC_ESM_State::safeopState [static, protected] |
Definition at line 124 of file ethercat_FSM.h.