Round Robin Router
Routes arriving QObject instances to receivers in cyclic order, distributing successive instances round-robin regardless of their content.
Parameters
receivers
the destinations to cycle through, which must be non-empty
Functions
Link copied to clipboard
The possible destinations this router may select, for graph introspection.
Link copied to clipboard
Resets any per-replication routing state to its initial condition. Stateless routers need not override this. A StationNetwork calls this on each registered router at the start of every replication, so stateful routers (for example, round-robin) should be registered with the network.
Link copied to clipboard
Selects the receiver for the supplied qObject. Implementations must return a non-null receiver; supply a default/fallback to guarantee this.