artdaq  v3_00_01
artdaq::detail::RequestHeader Struct Reference

Header of a RequestMessage. Contains magic bytes for validation and a count of expected RequestPackets. More...

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

Public Member Functions

 RequestHeader ()
 Default Constructor.
 
bool isValid () const
 Check the magic bytes of the packet. More...
 

Public Attributes

uint32_t header
 
uint32_t packet_count
 The number of RequestPackets in this Request message.
 
RequestMessageMode mode
 Communicates additional information to the Request receiver.
 

Detailed Description

Header of a RequestMessage. Contains magic bytes for validation and a count of expected RequestPackets.

Definition at line 87 of file RequestMessage.hh.

Member Function Documentation

bool artdaq::detail::RequestHeader::isValid ( ) const
inline

Check the magic bytes of the packet.

Returns
Whether the correct magic bytes were found

Definition at line 106 of file RequestMessage.hh.

Member Data Documentation

uint32_t artdaq::detail::RequestHeader::header

The magic bytes for the request header

Definition at line 90 of file RequestMessage.hh.


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