EtherCAT Mailbox Message. More...
#include <ethercat_mbx.h>
Public Member Functions | |
virtual unsigned char * | dump (unsigned char *a_buffer) const |
Dump msg to buffer for sending... | |
EtherCAT_MbxMsg (EC_MbxMsgHdr a_hdr, unsigned char *a_MbxMsgdata) | |
Constructor. | |
EtherCAT_MbxMsg (uint16_t a_length, uint16_t a_address, EC_MbxMsgPriority a_priority, EC_MbxMsgType a_type, unsigned char *a_MbxMsgdata) | |
EtherCAT_MbxMsg (const unsigned char *a_buffer) | |
virtual | ~EtherCAT_MbxMsg () |
Protected Member Functions | |
virtual unsigned char * | dump_data (unsigned char *a_buffer) const |
Protected Attributes | |
EC_MbxMsgHdr | m_hdr |
MbxMsg header. | |
const unsigned char * | m_MbxMsgdata |
MbxMsg data. | |
Friends | |
class | EtherCAT_Router |
EtherCAT Mailbox Message.
Definition at line 152 of file ethercat_mbx.h.
EtherCAT_MbxMsg::EtherCAT_MbxMsg | ( | EC_MbxMsgHdr | a_hdr, |
unsigned char * | a_MbxMsgdata | ||
) | [inline] |
Constructor.
Definition at line 158 of file ethercat_mbx.h.
EtherCAT_MbxMsg::EtherCAT_MbxMsg | ( | uint16_t | a_length, |
uint16_t | a_address, | ||
EC_MbxMsgPriority | a_priority, | ||
EC_MbxMsgType | a_type, | ||
unsigned char * | a_MbxMsgdata | ||
) | [inline] |
Definition at line 163 of file ethercat_mbx.h.
EtherCAT_MbxMsg::EtherCAT_MbxMsg | ( | const unsigned char * | a_buffer | ) |
virtual EtherCAT_MbxMsg::~EtherCAT_MbxMsg | ( | ) | [inline, virtual] |
Definition at line 172 of file ethercat_mbx.h.
virtual unsigned char* EtherCAT_MbxMsg::dump | ( | unsigned char * | a_buffer | ) | const [virtual] |
Dump msg to buffer for sending...
Reimplemented in EtherCAT_CoE_MbxMsg.
virtual unsigned char* EtherCAT_MbxMsg::dump_data | ( | unsigned char * | a_buffer | ) | const [protected, virtual] |
friend class EtherCAT_Router [friend] |
Definition at line 154 of file ethercat_mbx.h.
EC_MbxMsgHdr EtherCAT_MbxMsg::m_hdr [protected] |
MbxMsg header.
Definition at line 181 of file ethercat_mbx.h.
const unsigned char* EtherCAT_MbxMsg::m_MbxMsgdata [protected] |
MbxMsg data.
Definition at line 183 of file ethercat_mbx.h.