Public Member Functions | Public Attributes
can::Frame Struct Reference

#include <interface.h>

Inheritance diagram for can::Frame:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Frame ()
 Frame (const Header &h, unsigned char l=0)
bool isValid ()

Public Attributes

boost::array< unsigned char, 8 > data
 array for 8 data bytes with bounds checking
unsigned char dlc
 len of data

Detailed Description

reprentation of a CAN frame

Definition at line 56 of file interface.h.


Constructor & Destructor Documentation

can::Frame::Frame ( ) [inline]

constructor with default parameters

Parameters:
[in]i,:CAN id, defaults to 0
[in]l,:number of data bytes, defaults to 0
[in]extended,:uses 29 bit identifier, defaults to false
[in]rtr,:is rtr frame, defaults to false

Definition at line 71 of file interface.h.

can::Frame::Frame ( const Header h,
unsigned char  l = 0 
) [inline]

Definition at line 72 of file interface.h.


Member Function Documentation

bool can::Frame::isValid ( ) [inline]

check if frame header and length are valid

Reimplemented from can::Header.

Definition at line 61 of file interface.h.


Member Data Documentation

boost::array<unsigned char, 8> can::Frame::data

array for 8 data bytes with bounds checking

Definition at line 57 of file interface.h.

unsigned char can::Frame::dlc

len of data

Definition at line 58 of file interface.h.


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


socketcan_interface
Author(s): Mathias Lüdtke
autogenerated on Thu Jun 6 2019 20:43:53