3 #include "artdaq/RoutingPolicies/PolicyMacros.hh"
4 #include "artdaq/RoutingPolicies/RoutingManagerPolicy.hh"
5 #include "fhiclcpp/ParameterSet.h"
7 #define TRACE_NAME "NoOp_policy"
44 TLOG(12) <<
"NoOpPolicy::GetCurrentTable start";
47 for (
auto token : *tokens)
52 TLOG(12) <<
"NoOpPolicy::GetCurrentTable return";
A row of the Routing Table.
A RoutingManagerPolicy which simply assigns Sequence IDs to tokens in the order they were received...
NoOpPolicy(fhicl::ParameterSet const &ps)
NoOpPolicy Constructor.
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.
The interface through which RoutingManagerCore 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...
detail::RoutingPacket GetCurrentTable() override
Using the tokens received so far, create a Routing Table.
~NoOpPolicy() override=default
Default virtual Destructor.