artdaq  v3_06_00
artdaq::RoutingReceiver Class Reference

Class which receives routing tables and prints updates. More...

Classes

struct  Config
 Accepted configuration parameters for RoutingReceiver. More...
 

Public Types

using Parameters = fhicl::WrappedTable< Config >
 Used for ParameterSet validation (if desired)
 

Public Member Functions

 RoutingReceiver (fhicl::ParameterSet const &pset)
 RoutingReceiver Constructor. More...
 
 ~RoutingReceiver ()
 RoutingReceiver Destructor.
 
std::map
< Fragment::sequence_id_t, int > 
GetRoutingTable ()
 Get the current routing table. More...
 
std::map
< Fragment::sequence_id_t, int > 
GetAndClearRoutingTable ()
 Get the current routing table, additionally clearing all entries. More...
 
hostMap_t GetHostMap ()
 Get the host map. More...
 

Detailed Description

Class which receives routing tables and prints updates.

Definition at line 26 of file routingReceiver.cc.

Constructor & Destructor Documentation

artdaq::RoutingReceiver::RoutingReceiver ( fhicl::ParameterSet const &  pset)
inlineexplicit

RoutingReceiver Constructor.

Parameters
psetParameterSet used to configure RoutingReceiver (see RoutingReceiver::Config)

Definition at line 47 of file routingReceiver.cc.

Member Function Documentation

std::map<Fragment::sequence_id_t, int> artdaq::RoutingReceiver::GetAndClearRoutingTable ( )
inline

Get the current routing table, additionally clearing all entries.

Returns
A snapshot of the current routing table

Definition at line 92 of file routingReceiver.cc.

hostMap_t artdaq::RoutingReceiver::GetHostMap ( )
inline

Get the host map.

Returns
The host map, relating ranks to hostnames

Definition at line 104 of file routingReceiver.cc.

std::map<Fragment::sequence_id_t, int> artdaq::RoutingReceiver::GetRoutingTable ( )
inline

Get the current routing table.

Returns
A snapshot of the current routing table

Definition at line 81 of file routingReceiver.cc.


The documentation for this class was generated from the following file: