artdaq  v2_03_02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Public Attributes | List of all members
artdaq::detail::RoutingPacketHeader Struct Reference

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

#include <artdaq/Application/Routing/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
 
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 
)
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 71 of file RoutingPacket.hh.


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