Public Member Functions | Public Attributes | List of all members
icl_hardware::can::tCanMessage Struct Reference

Implements a struct representing a can message. More...

#include <tCanMessage.h>

Public Member Functions

tCanMessageoperator= (const tCanMessage &other)
 
 tCanMessage (unsigned param_id=0, unsigned char param_dlc=0, unsigned char param_rtr=0, const unsigned char *param_data=0)
 
 tCanMessage (const tCanMessage &other)
 

Public Attributes

unsigned char data [8]
 
unsigned char dlc
 
unsigned id
 
unsigned char rtr
 

Detailed Description

Implements a struct representing a can message.

This struct implements a can message type with components id, dlc, rtr and data.

Definition at line 43 of file tCanMessage.h.

Constructor & Destructor Documentation

icl_hardware::can::tCanMessage::tCanMessage ( unsigned  param_id = 0,
unsigned char  param_dlc = 0,
unsigned char  param_rtr = 0,
const unsigned char *  param_data = 0 
)

Creates a CAN message from scratch.

Definition at line 30 of file tCanMessage.cpp.

icl_hardware::can::tCanMessage::tCanMessage ( const tCanMessage other)

Creates a CAN message as a copy of another CAN message.

Definition at line 49 of file tCanMessage.cpp.

Member Function Documentation

tCanMessage & icl_hardware::can::tCanMessage::operator= ( const tCanMessage other)

Assigns another CAN message to this message.

Definition at line 64 of file tCanMessage.cpp.

Member Data Documentation

unsigned char icl_hardware::can::tCanMessage::data[8]

Definition at line 51 of file tCanMessage.h.

unsigned char icl_hardware::can::tCanMessage::dlc

Definition at line 49 of file tCanMessage.h.

unsigned icl_hardware::can::tCanMessage::id

Definition at line 45 of file tCanMessage.h.

unsigned char icl_hardware::can::tCanMessage::rtr

Definition at line 50 of file tCanMessage.h.


The documentation for this struct was generated from the following files:


fzi_icl_can
Author(s):
autogenerated on Mon Jun 10 2019 13:17:02