CANMessage class. More...
#include <InterfaceCAN.h>
Public Member Functions | |
CANMessage () | |
Creates empty CAN message. More... | |
CANMessage (unsigned int _id, const unsigned char *_data, unsigned char _len=8, CANType _type=CANData, CANFormat _format=CANStandard) | |
Creates CAN message with specific content. More... | |
CANMessage (unsigned int _id, const char *_data, unsigned char _len=8, CANType _type=CANData, CANFormat _format=CANStandard) | |
Creates CAN message with specific content. More... | |
CANMessage (unsigned int _id, CANFormat _format=CANStandard) | |
Creates CAN remote message. More... | |
bool | operator== (const CANMessage &b) const |
"Deep" comparison operator (ie: compare value of each data member) More... | |
CANMessage class.
Definition at line 50 of file InterfaceCAN.h.
CANMessage | ( | ) |
Creates empty CAN message.
Definition at line 55 of file InterfaceCAN.h.
CANMessage | ( | unsigned int | _id, |
const unsigned char * | _data, | ||
unsigned char | _len = 8 , |
||
CANType | _type = CANData , |
||
CANFormat | _format = CANStandard |
||
) |
Creates CAN message with specific content.
_id | Message ID |
_data | Mesaage Data |
_len | Message Data length |
_type | Type of Data: Use enum CANType for valid parameter values |
_format | Data Format: Use enum CANFormat for valid parameter values |
Definition at line 72 of file InterfaceCAN.h.
CANMessage | ( | unsigned int | _id, |
const char * | _data, | ||
unsigned char | _len = 8 , |
||
CANType | _type = CANData , |
||
CANFormat | _format = CANStandard |
||
) |
Creates CAN message with specific content.
_id | Message ID |
_data | Mesaage Data |
_len | Message Data length |
_type | Type of Data: Use enum CANType for valid parameter values |
_format | Data Format: Use enum CANFormat for valid parameter values |
Definition at line 90 of file InterfaceCAN.h.
CANMessage | ( | unsigned int | _id, |
CANFormat | _format = CANStandard |
||
) |
Creates CAN remote message.
_id | Message ID |
_format | Data Format: Use enum CANType for valid parameter values |
Definition at line 104 of file InterfaceCAN.h.
bool operator== | ( | const CANMessage & | b | ) | const |
"Deep" comparison operator (ie: compare value of each data member)
Definition at line 116 of file InterfaceCAN.h.