A RoutingMasterPolicy which evenly distributes Sequence IDs to all receivers. If an uneven number of tokens have been received, extra tokens are stored for the next table update. More...
Public Member Functions | |
RoundRobinPolicy (fhicl::ParameterSet ps) | |
RoundRobinPolicy Constructor. | |
virtual | ~RoundRobinPolicy () |
Default virtual Destructor. | |
detail::RoutingPacket | GetCurrentTable () override |
Create a Routing Table using the tokens that have been received. |
A RoutingMasterPolicy which evenly distributes Sequence IDs to all receivers. If an uneven number of tokens have been received, extra tokens are stored for the next table update.
Definition at line 11 of file RoundRobin_policy.cc.
artdaq::RoundRobinPolicy::RoundRobinPolicy | ( | fhicl::ParameterSet | ps | ) | [inline, explicit] |
RoundRobinPolicy Constructor.
ps | ParameterSet used to configure RoundRobinPolicy |
RoundRobinPolicy accepts no Parameters at this time.
Definition at line 20 of file RoundRobin_policy.cc.
detail::RoutingPacket artdaq::RoundRobinPolicy::GetCurrentTable | ( | ) | [override, virtual] |
Create a Routing Table using the tokens that have been received.
RoundRobinPolicy will go through the list of receivers as many times as it can, until one or more receivers have no tokens. It always does full "turns" through the recevier list.
Implements artdaq::RoutingMasterPolicy.
Definition at line 38 of file RoundRobin_policy.cc.