|
Open Model Railroad Network (OpenMRN)
|
This helper class listend for incoming CAN frames looking for alias mapping definitions. More...
#include <IfCanImpl.hxx>
Public Types | |
| enum | { CAN_FILTER1 = CanMessageData::CAN_EXT_FRAME_FILTER | 0x10701000 , CAN_MASK1 = CanMessageData::CAN_EXT_FRAME_MASK | 0x1FFFF000 , CAN_FILTER2 = CanMessageData::CAN_EXT_FRAME_FILTER | 0x19100000 , CAN_MASK2 = CanMessageData::CAN_EXT_FRAME_MASK | 0x1FFFF000 , CAN_FILTER3 = CanMessageData::CAN_EXT_FRAME_FILTER | 0x19170000 , CAN_MASK3 = CanMessageData::CAN_EXT_FRAME_MASK | 0x1FFFF000 } |
Public Types inherited from FlowInterface< Buffer< CanMessageData > > | |
| typedef Buffer< CanMessageData > | message_type |
| Stores the message template type for external reference. | |
Public Member Functions | |
| AliasDefListener (AddressedCanMessageWriteFlow *parent) | |
| IfCan * | if_can () |
| void | RegisterLocalHandler () |
| void | UnregisterLocalHandler () |
| void | send (Buffer< CanMessageData > *message, unsigned priority) OVERRIDE |
| Handler callback for incoming messages. | |
Public Member Functions inherited from FlowInterface< Buffer< CanMessageData > > | |
| virtual Pool * | pool () |
| virtual Buffer< CanMessageData > * | type_helper () |
| This function is never user in the code, but GDB can use it to infer the correct message types. | |
| Buffer< CanMessageData > * | alloc () |
| Synchronously allocates a message buffer from the pool of this flow. | |
| void | alloc_async (Executable *target) |
| Asynchronously allocates a message buffer from the pool of this flow. | |
Private Attributes | |
| AddressedCanMessageWriteFlow * | parent_ |
Additional Inherited Members | |
Static Public Member Functions inherited from FlowInterface< Buffer< CanMessageData > > | |
| static Buffer< CanMessageData > * | cast_alloc (QMember *entry) |
| Down casts and initializes an asynchronous allocation result to the appropriate flow's buffer type. | |
This helper class listend for incoming CAN frames looking for alias mapping definitions.
Definition at line 390 of file IfCanImpl.hxx.
| anonymous enum |
Definition at line 396 of file IfCanImpl.hxx.
|
inline |
Definition at line 393 of file IfCanImpl.hxx.
|
inline |
Definition at line 409 of file IfCanImpl.hxx.
|
inline |
Definition at line 412 of file IfCanImpl.hxx.
|
inlinevirtual |
Handler callback for incoming messages.
Implements FlowInterface< Buffer< CanMessageData > >.
Definition at line 435 of file IfCanImpl.hxx.
|
inline |
Definition at line 424 of file IfCanImpl.hxx.
|
private |
Definition at line 470 of file IfCanImpl.hxx.