1 #include "artdaq/Application/Routing/RoutingMasterPolicy.hh"
2 #include "artdaq/Application/Routing/PolicyMacros.hh"
3 #include <fhiclcpp/ParameterSet.h>
37 for(
auto token : *tokens.get())
NoOpPolicy(fhicl::ParameterSet ps)
NoOpPolicy Constructor.
A row of the Routing Table.
A RoutingMasterPolicy which simply assigns Sequence IDs to tokens in the order they were received...
virtual ~NoOpPolicy()=default
Default virtual Destructor.
The interface through which RoutingMasterCore obtains Routing Tables using received Routing Tokens...
std::vector< RoutingPacketEntry > RoutingPacket
A RoutingPacket is simply a vector of RoutingPacketEntry objects. It is not suitable for network tran...
Fragment::sequence_id_t next_sequence_id_
The next sequence ID to be assigned.
std::unique_ptr< std::deque< int > > getTokensSnapshot()
Gets the current token list, used for building Routing Tables.
detail::RoutingPacket GetCurrentTable() override
Using the tokens received so far, create a Routing Table.