|
artdaq
v3_09_05
|
A RoutingManagerPolicy which simply assigns Sequence IDs to tokens in the order they were received. More...
Public Member Functions | |
| NoOpPolicy (fhicl::ParameterSet const &ps) | |
| NoOpPolicy Constructor. More... | |
| ~NoOpPolicy () override=default | |
| Default virtual Destructor. | |
| detail::RoutingPacket | GetCurrentTable () override |
| Using the tokens received so far, create a Routing Table. More... | |
Public Member Functions inherited from artdaq::RoutingManagerPolicy | |
| RoutingManagerPolicy (const fhicl::ParameterSet &ps) | |
| RoutingManagerPolicy Constructor. More... | |
| virtual | ~RoutingManagerPolicy ()=default |
| Default virtual Destructor. | |
| size_t | GetReceiverCount () const |
| Get the number of configured receivers. More... | |
| size_t | GetMaxNumberOfTokens () const |
| Get the largest number of tokens that the RoutingManagerPolicy has seen at any one time. More... | |
| void | AddReceiverToken (int rank, unsigned new_slots_free) |
| Add a token to the token list. More... | |
| void | Reset () |
| Reset the policy, setting the next sequence ID to be used to 1, and removing any tokens. | |
Additional Inherited Members | |
Protected Member Functions inherited from artdaq::RoutingManagerPolicy | |
|
std::unique_ptr< std::deque < int > > | getTokensSnapshot () |
| Gets the current token list, used for building Routing Tables. | |
| void | addUnusedTokens (std::unique_ptr< std::deque< int >> tokens) |
| If necessary, return unused tokens to the token list, for subsequent updates. | |
Protected Attributes inherited from artdaq::RoutingManagerPolicy | |
| Fragment::sequence_id_t | next_sequence_id_ |
| The next sequence ID to be assigned. | |
A RoutingManagerPolicy which simply assigns Sequence IDs to tokens in the order they were received.
Definition at line 12 of file NoOp_policy.cc.
|
inlineexplicit |
NoOpPolicy Constructor.
| ps | ParameterSet used to configure the NoOpPolicy |
NoOpPolicy takes no additional Parameters at this time
Definition at line 21 of file NoOp_policy.cc.
|
overridevirtual |
Using the tokens received so far, create a Routing Table.
Implements artdaq::RoutingManagerPolicy.
Definition at line 42 of file NoOp_policy.cc.