Public Member Functions | Static Protected Attributes | Friends
EC_ESM_State Class Reference

ESM State Interface class. More...

#include <ethercat_FSM.h>

Inheritance diagram for EC_ESM_State:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

ESM State Interface class.

Todo:
The bootstrap state is currently not implemented

Definition at line 107 of file ethercat_FSM.h.


Constructor & Destructor Documentation

virtual EC_ESM_State::~EC_ESM_State ( ) [inline, virtual]

Definition at line 112 of file ethercat_FSM.h.


Member Function Documentation

virtual EC_State EC_ESM_State::get_state ( ) const [pure virtual]
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.

Parameters:
a_ESMpointer to the EtherCAT state machine
a_stateto which state? Possibilities are
  • EC_INIT_STATE = 0x01,
  • EC_PREOP_STATE = 0x02,
  • EC_BOOTSTRAP_STATE = 0x03,
  • EC_SAFEOP_STATE = 0x04,
  • EC_OP_STATE = 0x08

Implemented in EC_ESM_OpState, EC_ESM_SafeOpState, EC_ESM_PreOpState, and EC_ESM_InitState.


Friends And Related Function Documentation

friend class EC_ESM [friend]

Definition at line 109 of file ethercat_FSM.h.


Member Data Documentation

Definition at line 128 of file ethercat_FSM.h.

Definition at line 131 of file ethercat_FSM.h.

Definition at line 129 of file ethercat_FSM.h.

Definition at line 130 of file ethercat_FSM.h.


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


ros_ethercat_eml
Author(s): Tom Panis, Klaas Gadeyne, Bob Koninckx, Austin Hendrix, Manos Nikolaidis
autogenerated on Thu Jul 4 2019 20:01:50