artdaq  v3_06_00
artdaq::detail::RoutingPacketHeader Struct Reference

The header of the Routing Table, containing the magic bytes and the number of entries. More...

#include <artdaq/DAQrate/detail/RoutingPacket.hh>

Public Member Functions

 RoutingPacketHeader (RoutingMasterMode m, size_t n)
 Construct a RoutingPacketHeader declaring a given number of entries. More...
 
 RoutingPacketHeader ()
 Default Constructor.
 

Public Attributes

uint32_t header
 Magic bytes to make sure the packet wasn't garbled.
 
RoutingMasterMode mode
 The current mode of the RoutingMaster.
 
size_t nEntries
 The number of RoutingPacketEntries in the RoutingPacket.
 
std::bitset< 1024 > already_acknowledged_ranks
 

Detailed Description

The header of the Routing Table, containing the magic bytes and the number of entries.

Definition at line 61 of file RoutingPacket.hh.

Constructor & Destructor Documentation

artdaq::detail::RoutingPacketHeader::RoutingPacketHeader ( RoutingMasterMode  m,
size_t  n 
)
inlineexplicit

Construct a RoutingPacketHeader declaring a given number of entries.

Parameters
mThe RoutingMasterMode that senders are supposed to be operating in
nThe number of RoutingPacketEntries in the associated RoutingPacket

Definition at line 73 of file RoutingPacket.hh.


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