artdaq::detail::RequestPacket Struct Reference

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

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

List of all members.

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.
bool isValid () const
 Check the magic bytes of the packet.

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 49 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:
seq Sequence ID of RequestPacket
ts Timestamp of RequestPAcket

Definition at line 71 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 81 of file RequestMessage.hh.


Member Data Documentation

The magic bytes for the request packet

Definition at line 53 of file RequestMessage.hh.


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

Generated on 7 May 2018 for artdaq by  doxygen 1.6.1