artdaq  v3_04_00
artdaq::detail::RequestPacket Struct Reference

The RequestPacket contains information about a single data request. More...

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

Public Member Functions

 RequestPacket ()
 Default Constructor.
 
 RequestPacket (const Fragment::sequence_id_t &seq, const Fragment::timestamp_t &ts)
 Create a RequestPacket using the given sequence ID and timestmap. More...
 
bool isValid () const
 Check the magic bytes of the packet. More...
 

Public Attributes

uint32_t header
 
Fragment::sequence_id_t sequence_id
 The sequence ID that responses to this request should use.
 
Fragment::timestamp_t timestamp
 The timestamp of the request.
 

Detailed Description

The RequestPacket contains information about a single data request.

Definition at line 50 of file RequestMessage.hh.

Constructor & Destructor Documentation

artdaq::detail::RequestPacket::RequestPacket ( const Fragment::sequence_id_t &  seq,
const Fragment::timestamp_t &  ts 
)
inline

Create a RequestPacket using the given sequence ID and timestmap.

Parameters
seqSequence ID of RequestPacket
tsTimestamp of RequestPAcket

Definition at line 72 of file RequestMessage.hh.

Member Function Documentation

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

Check the magic bytes of the packet.

Returns
Whether the correct magic bytes were found

Definition at line 82 of file RequestMessage.hh.

Member Data Documentation

uint32_t artdaq::detail::RequestPacket::header

The magic bytes for the request packet

Definition at line 54 of file RequestMessage.hh.


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