EtherCAT State Machine. More...
#include <ethercat_FSM.h>
Public Member Functions | |
EC_State | get_state () |
bool | to_state (EC_State a_state) |
State Transitions. | |
Protected Member Functions | |
EC_ESM (EtherCAT_SlaveHandler *a_SH) | |
Constructor. | |
void | setState (EC_ESM_State *a_esm_state) |
Set the internal state. | |
Private Attributes | |
EC_ESM_State * | m_esm_state |
Friends | |
class | EC_ESM_InitState |
class | EC_ESM_OpState |
class | EC_ESM_PreOpState |
class | EC_ESM_SafeOpState |
class | EC_ESM_State |
EtherCAT State Machine.
Definition at line 136 of file ethercat_FSM.h.
EC_ESM::EC_ESM | ( | EtherCAT_SlaveHandler * | a_SH | ) | [protected] |
Constructor.
a_SH | pointer to Slave Handler this FSM concerns |
EC_State EC_ESM::get_state | ( | ) | [inline] |
Definition at line 157 of file ethercat_FSM.h.
void EC_ESM::setState | ( | EC_ESM_State * | a_esm_state | ) | [inline, protected] |
Set the internal state.
Definition at line 164 of file ethercat_FSM.h.
bool EC_ESM::to_state | ( | EC_State | a_state | ) | [inline] |
State Transitions.
a_state | state to go to. Possibilities are
|
Definition at line 153 of file ethercat_FSM.h.
friend class EC_ESM_InitState [friend] |
Definition at line 139 of file ethercat_FSM.h.
friend class EC_ESM_OpState [friend] |
Definition at line 142 of file ethercat_FSM.h.
friend class EC_ESM_PreOpState [friend] |
Definition at line 140 of file ethercat_FSM.h.
friend class EC_ESM_SafeOpState [friend] |
Definition at line 141 of file ethercat_FSM.h.
friend class EC_ESM_State [friend] |
Definition at line 138 of file ethercat_FSM.h.
EC_ESM_State* EC_ESM::m_esm_state [private] |
Definition at line 175 of file ethercat_FSM.h.