Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | Static Private Attributes
EtherCAT_Master Class Reference

EtherCAT Master instance. More...

#include <ethercat_master.h>

List of all members.

Public Member Functions

EtherCAT_SlaveHandlerget_slave_handler (EC_FixedStationAddress address)
 Get Slave Handler.
bool txandrx_PD (size_t datalen, unsigned char *data)
 Send Process data.

Static Public Member Functions

static EtherCAT_Masterinstance ()
 This class is a singleton.

Protected Member Functions

 EtherCAT_Master ()
 Constructor (protected)

Private Attributes

EtherCAT_ALm_al_instance
 Pointer to m_AL_instance.
EtherCAT_DataLinkLayerm_dll_instance
 Pointer to DLL instance.
EC_Logicm_logic_instance
 Pointer to logic instance.
EtherCAT_PD_Bufferm_pdbuf_instance
 Pointer to process data buffer instance.
EtherCAT_Routerm_router_instance
 Pointer to router instance.

Static Private Attributes

static EtherCAT_Masterm_instance
 Master instance.

Detailed Description

EtherCAT Master instance.

Definition at line 50 of file ethercat_master.h.


Constructor & Destructor Documentation

Constructor (protected)


Member Function Documentation

Get Slave Handler.

Returns:
Pointer to slavehandler if found in the network, or NULL otherwise

This class is a singleton.

bool EtherCAT_Master::txandrx_PD ( size_t  datalen,
unsigned char *  data 
)

Send Process data.

Parameters:
datalennumber of bytes that should be set
datapointer to data array. Data is read, transmitted, and (if the operation succeeded) the received data is put in the data array. This happens synchronously with the method call.
Returns:
true if msg got true

Member Data Documentation

Pointer to m_AL_instance.

Definition at line 80 of file ethercat_master.h.

Pointer to DLL instance.

Definition at line 95 of file ethercat_master.h.

Master instance.

Definition at line 78 of file ethercat_master.h.

Pointer to logic instance.

Definition at line 93 of file ethercat_master.h.

Pointer to process data buffer instance.

Definition at line 84 of file ethercat_master.h.

Pointer to router instance.

Definition at line 82 of file ethercat_master.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 Aug 27 2015 14:47:07