|
Open Model Railroad Network (OpenMRN)
|
Public Member Functions | |
| MOCK_METHOD2 (packet, void(const vector< uint8_t > &payload, uintptr_t feedback_key)) | |
| void | send (Buffer< dcc::Packet > *b, unsigned prio) OVERRIDE |
| Entry point to the flow. | |
Public Member Functions inherited from FlowInterface< Buffer< dcc::Packet > > | |
| virtual Pool * | pool () |
| virtual Buffer< dcc::Packet > * | type_helper () |
| This function is never user in the code, but GDB can use it to infer the correct message types. | |
| Buffer< dcc::Packet > * | 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. | |
Additional Inherited Members | |
Public Types inherited from FlowInterface< Buffer< dcc::Packet > > | |
| typedef Buffer< dcc::Packet > | message_type |
| Stores the message template type for external reference. | |
Static Public Member Functions inherited from FlowInterface< Buffer< dcc::Packet > > | |
| static Buffer< dcc::Packet > * | cast_alloc (QMember *entry) |
| Down casts and initializes an asynchronous allocation result to the appropriate flow's buffer type. | |
Definition at line 32 of file async_traction_test_helper.hxx.
|
inlinevirtual |
Entry point to the flow.
Users of the flow should call this mehtod to send a buffer to the flow.
| message | buffer to send to the flow |
| priority | which priority back the flow should process it. Lower numbers mean process earlier. |
Implements FlowInterface< Buffer< dcc::Packet > >.
Definition at line 37 of file async_traction_test_helper.hxx.