Public Member Functions | Public Attributes | Private Attributes
CanMsg Class Reference

#include <CanMsg.h>

List of all members.

Public Member Functions

 CanMsg ()
void get (char *pData0, char *pData1, char *pData2, char *pData3, char *pData4, char *pData5, char *pData6, char *pData7)
int getAt (int iNr)
int getCmd ()
int getStatus ()
void print ()
int printCanIdentMsgStatus ()
void set (char Data0, char Data1, char Data2, char Data3, char Data4, char Data5, char Data6, char Data7)

Public Attributes

int m_iID
int m_iLen
int m_iType

Private Attributes

char m_bDat [8]

Detailed Description

Represents a CAN message.

Definition at line 50 of file CanMsg.h.


Constructor & Destructor Documentation

CanMsg::CanMsg ( ) [inline]

Default constructor.

Definition at line 67 of file CanMsg.h.


Member Function Documentation

void CanMsg::get ( char *  pData0,
char *  pData1,
char *  pData2,
char *  pData3,
char *  pData4,
char *  pData5,
char *  pData6,
char *  pData7 
) [inline]

Gets the bytes of the telegram.

Definition at line 92 of file CanMsg.h.

int CanMsg::getAt ( int  iNr) [inline]

Returns a specific byte of the telegram.

Parameters:
iNrnumber of the byte.

Definition at line 108 of file CanMsg.h.

int CanMsg::getCmd ( ) [inline]
Deprecated:
function uses a specific format of the telegram.

Definition at line 154 of file CanMsg.h.

int CanMsg::getStatus ( ) [inline]
Deprecated:
function uses a specific format of the telegram.

Definition at line 145 of file CanMsg.h.

void CanMsg::print ( ) [inline]

Prints the telegram to the standard output.

Definition at line 134 of file CanMsg.h.

Prints the telegram to the standard output.

Deprecated:
function uses a spetific format of the telegram.

Definition at line 117 of file CanMsg.h.

void CanMsg::set ( char  Data0,
char  Data1,
char  Data2,
char  Data3,
char  Data4,
char  Data5,
char  Data6,
char  Data7 
) [inline]

Sets the bytes to the telegram.

Definition at line 77 of file CanMsg.h.


Member Data Documentation

char CanMsg::m_bDat[8] [private]

A CAN message consists of eight bytes.

Definition at line 61 of file CanMsg.h.

Definition at line 53 of file CanMsg.h.

Definition at line 54 of file CanMsg.h.

Definition at line 55 of file CanMsg.h.


The documentation for this class was generated from the following file:


neo_relayboard
Author(s): Jan-Niklas Nieland
autogenerated on Thu Jun 6 2019 21:37:07