EtherCAT Frame Interface (we need a C interface) More...
#include <ethercat_frame.h>
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_Telegram * | get_telegram () const =0 |
Get first telegram. | |
virtual size_t | length (void) const =0 |
Return the length of the whole frame. | |
virtual | ~EtherCAT_Frame () |
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.
virtual EtherCAT_Frame::~EtherCAT_Frame | ( | ) | [inline, virtual] |
Definition at line 68 of file ethercat_frame.h.
virtual int EtherCAT_Frame::build | ( | const unsigned char * | a_buffer | ) | [pure virtual] |
Build and check a frame from a byte array.
a_buffer | the byte array |
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.