Public Member Functions
EtherCAT_Frame Struct Reference

EtherCAT Frame Interface (we need a C interface) More...

#include <ethercat_frame.h>

Inheritance diagram for EtherCAT_Frame:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual int build (const unsigned char *a_buffer)=0
 Build and check a frame from a byte array.
virtual unsigned char * dump (unsigned char *a_buffer) const =0
 Dump the contents of a frame into a byte array.
virtual EC_Telegramget_telegram () const =0
 Get first telegram.
virtual size_t length (void) const =0
 Return the length of the whole frame.
virtual ~EtherCAT_Frame ()

Detailed Description

EtherCAT Frame Interface (we need a C interface)

Due to the fact that this is a C-interface, this class does not herit from EC_Datastruct, although it has the same needs

Definition at line 66 of file ethercat_frame.h.


Constructor & Destructor Documentation

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

Definition at line 68 of file ethercat_frame.h.


Member Function Documentation

virtual int EtherCAT_Frame::build ( const unsigned char *  a_buffer) [pure virtual]

Build and check a frame from a byte array.

Parameters:
a_bufferthe byte array
Returns:
0 if succesful, -1 otherwise

Implemented in EC_Frame.

virtual unsigned char* EtherCAT_Frame::dump ( unsigned char *  a_buffer) const [pure virtual]

Dump the contents of a frame into a byte array.

Implemented in EC_Frame.

virtual EC_Telegram* EtherCAT_Frame::get_telegram ( ) const [pure virtual]

Get first telegram.

Implemented in EC_Frame.

virtual size_t EtherCAT_Frame::length ( void  ) const [pure virtual]

Return the length of the whole frame.

Implemented in EC_Frame.


The documentation for this struct 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