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>

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
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 57 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 68 of file RoutingPacket.hh.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator

Generated on 23 May 2017 for artdaq by  doxygen 1.6.1