|
Open Model Railroad Network (OpenMRN)
|
Public Member Functions | |
| MOCK_METHOD2 (send, void(const string &message, unsigned priority)) | |
| void | send (Buffer< HubData > *b, unsigned priority) override |
| Entry point to the flow. | |
Public Member Functions inherited from FlowInterface< Buffer< HubData > > | |
| virtual Pool * | pool () |
| virtual Buffer< HubData > * | type_helper () |
| This function is never user in the code, but GDB can use it to infer the correct message types. | |
| Buffer< HubData > * | 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< HubData > > | |
| typedef Buffer< HubData > | message_type |
| Stores the message template type for external reference. | |
Static Public Member Functions inherited from FlowInterface< Buffer< HubData > > | |
| static Buffer< HubData > * | cast_alloc (QMember *entry) |
| Down casts and initializes an asynchronous allocation result to the appropriate flow's buffer type. | |
Definition at line 19 of file if_tcp_test_helper.hxx.
|
inlineoverridevirtual |
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< HubData > >.
Definition at line 24 of file if_tcp_test_helper.hxx.