Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
hub_test_utils.hxx
1#include "utils/test_main.hxx"
3#include "utils/Hub.hxx"
4#include "utils/HubDeviceSelect.hxx"
5#include "utils/HubDevice.hxx"
6
8struct TestData
9{
11 int from;
15};
16
Abstract class for message recipients.
Templated implementation of the HubFlow.
Definition Hub.hxx:150
Data type wrapper for sending data through a Hub.
Definition Hub.hxx:101
HubPort that connects a select-aware device to a strongly typed Hub.
A list of queues.
Definition Queue.hxx:466
State flow with a given typed input queue.
Test payload for the hub unittest.
int from
Where this messsage was coming from (identifier or hub source)
int payload
Something like a TTL, will be decremented by the default test-hub handlers.