Class representing EtherCAT Frames in "raw" ethernet mode. More...
#include <ethercat_frame.h>

Public Member Functions | |
| EC_Ethernet_Frame (EC_Telegram *a_telegram) | |
| Constructor. | |
Protected Member Functions | |
| virtual bool | check_header (const unsigned char *a_buffer) const |
| Check if received header in byte array complies to the frame data. | |
| virtual unsigned char * | dump_header (unsigned char *a_buffer) const |
| Dump the header. | |
| virtual size_t | header_length (void) const |
| Return the length of the header. | |
Class representing EtherCAT Frames in "raw" ethernet mode.
Definition at line 143 of file ethercat_frame.h.
| EC_Ethernet_Frame::EC_Ethernet_Frame | ( | EC_Telegram * | a_telegram | ) |
Constructor.
| a_telegram | pointer to the first telegram of the frame |
| virtual bool EC_Ethernet_Frame::check_header | ( | const unsigned char * | a_buffer | ) | const [protected, virtual] |
Check if received header in byte array complies to the frame data.
Implements EC_Frame.
| virtual unsigned char* EC_Ethernet_Frame::dump_header | ( | unsigned char * | a_buffer | ) | const [protected, virtual] |
Dump the header.
Implements EC_Frame.
| virtual size_t EC_Ethernet_Frame::header_length | ( | void | ) | const [inline, protected, virtual] |
Return the length of the header.
Implements EC_Frame.
Definition at line 151 of file ethercat_frame.h.