Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
openlcb::AddressedCanMessageWriteFlow::AliasDefListener Class Reference

This helper class listend for incoming CAN frames looking for alias mapping definitions. More...

#include <IfCanImpl.hxx>

Inheritance diagram for openlcb::AddressedCanMessageWriteFlow::AliasDefListener:
FlowInterface< Buffer< CanMessageData > >

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< CanMessageDatamessage_type
 Stores the message template type for external reference.
 

Public Member Functions

 AliasDefListener (AddressedCanMessageWriteFlow *parent)
 
IfCanif_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 Poolpool ()
 
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

AddressedCanMessageWriteFlowparent_
 

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.
 

Detailed Description

This helper class listend for incoming CAN frames looking for alias mapping definitions.

Definition at line 390 of file IfCanImpl.hxx.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Definition at line 396 of file IfCanImpl.hxx.

Constructor & Destructor Documentation

◆ AliasDefListener()

openlcb::AddressedCanMessageWriteFlow::AliasDefListener::AliasDefListener ( AddressedCanMessageWriteFlow parent)
inline

Definition at line 393 of file IfCanImpl.hxx.

Member Function Documentation

◆ if_can()

IfCan * openlcb::AddressedCanMessageWriteFlow::AliasDefListener::if_can ( )
inline

Definition at line 409 of file IfCanImpl.hxx.

◆ RegisterLocalHandler()

void openlcb::AddressedCanMessageWriteFlow::AliasDefListener::RegisterLocalHandler ( )
inline

Definition at line 412 of file IfCanImpl.hxx.

◆ send()

void openlcb::AddressedCanMessageWriteFlow::AliasDefListener::send ( Buffer< CanMessageData > *  message,
unsigned  priority 
)
inlinevirtual

Handler callback for incoming messages.

Implements FlowInterface< Buffer< CanMessageData > >.

Definition at line 435 of file IfCanImpl.hxx.

◆ UnregisterLocalHandler()

void openlcb::AddressedCanMessageWriteFlow::AliasDefListener::UnregisterLocalHandler ( )
inline

Definition at line 424 of file IfCanImpl.hxx.

Member Data Documentation

◆ parent_

AddressedCanMessageWriteFlow* openlcb::AddressedCanMessageWriteFlow::AliasDefListener::parent_
private

Definition at line 470 of file IfCanImpl.hxx.


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