$treeview $search $mathjax $extrastylesheet
artdaq
v3_04_00
$projectbrief
|
$projectbrief
|
$searchbox |
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 13 of file RoundRobin_policy.cc.
artdaq::RoundRobinPolicy::RoundRobinPolicy | ( | fhicl::ParameterSet | ps | ) | [inline, explicit] |
RoundRobinPolicy Constructor.
ps | ParameterSet used to configure RoundRobinPolicy |
RoundRobinPolicy accepts the following Parameter: "minimum_participants" (Default: 0): Minimum number of receivers to distribute between. Use negative number to indicate how many can be missing from total.
Definition at line 23 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 48 of file RoundRobin_policy.cc.