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>

List of all members.

Public Member Functions

 RoutingPacketHeader (RoutingMasterMode m, size_t n)
 Construct a RoutingPacketHeader declaring a given number of entries.
 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.

Detailed Description

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

Definition at line 60 of file RoutingPacket.hh.


Constructor & Destructor Documentation

artdaq::detail::RoutingPacketHeader::RoutingPacketHeader ( RoutingMasterMode  m,
size_t  n 
) [inline, explicit]

Construct a RoutingPacketHeader declaring a given number of entries.

Parameters:
m The RoutingMasterMode that senders are supposed to be operating in
n The number of RoutingPacketEntries in the associated RoutingPacket

Definition at line 71 of file RoutingPacket.hh.


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

Generated on 25 Sep 2018 for artdaq by  doxygen 1.6.1