|
Open Model Railroad Network (OpenMRN)
|
Public Member Functions | |
| StreamDataHandler (StreamReceiverCan *parent) | |
| void | start (NodeAlias remote_alias, NodeAlias local_alias) |
| Starts registration for receiving stream data with the given aliases. | |
| void | stop () |
| Stops receiving stream data. | |
| 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 | |
| StreamReceiverCan * | parent_ |
| Owning stream receiver object. | |
Additional Inherited Members | |
Public Types inherited from FlowInterface< Buffer< CanMessageData > > | |
| typedef Buffer< CanMessageData > | message_type |
| Stores the message template type for external reference. | |
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. | |
Definition at line 254 of file StreamReceiver.cxx.
|
inline |
Definition at line 257 of file StreamReceiver.cxx.
|
inlineoverridevirtual |
Handler callback for incoming messages.
Implements FlowInterface< Buffer< CanMessageData > >.
Definition at line 281 of file StreamReceiver.cxx.
|
inline |
Starts registration for receiving stream data with the given aliases.
Definition at line 262 of file StreamReceiver.cxx.
|
inline |
Stops receiving stream data.
Definition at line 275 of file StreamReceiver.cxx.
|
private |
Owning stream receiver object.
Definition at line 299 of file StreamReceiver.cxx.