#include <CanMsg.h>
Public Types | |
typedef unsigned char | BYTE |
Include typedefs from windows.h. | |
Public Member Functions | |
CanMsg () | |
void | get (BYTE *pData0, BYTE *pData1, BYTE *pData2, BYTE *pData3, BYTE *pData4, BYTE *pData5, BYTE *pData6, BYTE *pData7) |
int | getAt (int iNr) |
int | getCmd () |
int | getID () |
int | getLength () |
int | getStatus () |
int | getType () |
void | print () |
int | printCanIdentMsgStatus () |
void | set (BYTE Data0=0, BYTE Data1=0, BYTE Data2=0, BYTE Data3=0, BYTE Data4=0, BYTE Data5=0, BYTE Data6=0, BYTE Data7=0) |
void | setAt (BYTE data, int iNr) |
void | setID (int id) |
void | setLength (int len) |
void | setType (int type) |
Public Attributes | |
int | m_iID |
int | m_iLen |
int | m_iType |
Protected Attributes | |
BYTE | m_bDat [8] |
typedef unsigned char CanMsg::BYTE |
CanMsg::CanMsg | ( | ) | [inline] |
int CanMsg::getAt | ( | int | iNr | ) | [inline] |
int CanMsg::getCmd | ( | ) | [inline] |
int CanMsg::getID | ( | ) | [inline] |
int CanMsg::getLength | ( | ) | [inline] |
int CanMsg::getStatus | ( | ) | [inline] |
int CanMsg::getType | ( | ) | [inline] |
void CanMsg::print | ( | ) | [inline] |
int CanMsg::printCanIdentMsgStatus | ( | ) | [inline] |
Prints the telegram to the standard output.
void CanMsg::setAt | ( | BYTE | data, |
int | iNr | ||
) | [inline] |
void CanMsg::setID | ( | int | id | ) | [inline] |
void CanMsg::setLength | ( | int | len | ) | [inline] |
void CanMsg::setType | ( | int | type | ) | [inline] |
BYTE CanMsg::m_bDat[8] [protected] |
int CanMsg::m_iID |
int CanMsg::m_iLen |
int CanMsg::m_iType |