Public Member Functions | Private Attributes
EtherCAT_Master Class Reference

EtherCAT Master instance. More...

#include <ethercat_master.h>

List of all members.

Public Member Functions

 EtherCAT_Master (EtherCAT_AL *_m_al_instance, EtherCAT_Router *_m_router_instance, EtherCAT_PD_Buffer *_m_pdbuf_instance, EC_Logic *_m_logic_instance, EtherCAT_DataLinkLayer *_m_dll_instance)
EtherCAT_SlaveHandlerget_slave_handler (EC_FixedStationAddress address)
 Get Slave Handler.
bool txandrx_PD (size_t datalen, unsigned char *data)
 Send Process data.

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.

Detailed Description

EtherCAT Master instance.

Definition at line 52 of file ethercat_master.h.


Constructor & Destructor Documentation

EtherCAT_Master::EtherCAT_Master ( EtherCAT_AL _m_al_instance,
EtherCAT_Router _m_router_instance,
EtherCAT_PD_Buffer _m_pdbuf_instance,
EC_Logic _m_logic_instance,
EtherCAT_DataLinkLayer _m_dll_instance 
) [inline]

Definition at line 55 of file ethercat_master.h.


Member Function Documentation

Get Slave Handler.

Returns:
Pointer to slave-handler if found in the network, or NULL otherwise
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 90 of file ethercat_master.h.

Pointer to DLL instance.

Definition at line 99 of file ethercat_master.h.

Pointer to logic instance.

Definition at line 97 of file ethercat_master.h.

Pointer to process data buffer instance.

Definition at line 94 of file ethercat_master.h.

Pointer to router instance.

Definition at line 92 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 Jul 4 2019 20:01:50