artdaq  v3_08_00
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.
 
int rank
 Rank of the sender.
 
uint32_t run_number
 The Run with which this request should be associated.
 
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 86 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 110 of file RequestMessage.hh.

Member Data Documentation

uint32_t artdaq::detail::RequestHeader::header

The magic bytes for the request header

Definition at line 89 of file RequestMessage.hh.


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