PX4 Firmware
PX4 Autopilot Software http://px4.io
VirtualCanIface::RxItem Struct Reference

This class re-defines uavcan::RxCanFrame with flags. More...

Inheritance diagram for VirtualCanIface::RxItem:
Collaboration diagram for VirtualCanIface::RxItem:

Public Member Functions

 RxItem (const uavcan::CanRxFrame &arg_frame, uavcan::CanIOFlags arg_flags)
 

Public Attributes

const uavcan::MonotonicTime ts_mono
 
const uavcan::UtcTime ts_utc
 
const uavcan::CanIOFlags flags
 
const uint8_t iface_index
 

Detailed Description

This class re-defines uavcan::RxCanFrame with flags.

Simple inheritance or composition won't work here, because the 40 byte limit will be exceeded, rendering this class unusable with Queue<>.

Definition at line 201 of file uavcan_virtual_can_driver.hpp.

Constructor & Destructor Documentation

◆ RxItem()

VirtualCanIface::RxItem::RxItem ( const uavcan::CanRxFrame &  arg_frame,
uavcan::CanIOFlags  arg_flags 
)
inline

Definition at line 207 of file uavcan_virtual_can_driver.hpp.

Member Data Documentation

◆ flags

const uavcan::CanIOFlags VirtualCanIface::RxItem::flags

Definition at line 204 of file uavcan_virtual_can_driver.hpp.

◆ iface_index

const uint8_t VirtualCanIface::RxItem::iface_index

Definition at line 205 of file uavcan_virtual_can_driver.hpp.

◆ ts_mono

const uavcan::MonotonicTime VirtualCanIface::RxItem::ts_mono

Definition at line 202 of file uavcan_virtual_can_driver.hpp.

◆ ts_utc

const uavcan::UtcTime VirtualCanIface::RxItem::ts_utc

Definition at line 203 of file uavcan_virtual_can_driver.hpp.


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