artdaq
v3_01_00
|
A RequestMessage consists of a RequestHeader and zero or more RequestPackets. They will usually be sent in two calls to send() More...
#include <artdaq/DAQrate/detail/RequestMessage.hh>
Public Member Functions | |
RequestMessage () | |
Default Constructor. | |
RequestHeader * | header () |
Get a pointer to the RequestHeader, filling in the current size of the message. More... | |
RequestPacket * | buffer () |
Get a pointer to the first RequestPacket in contiguous storage. More... | |
size_t | size () const |
Get the number of RequestPackets in the RequestMessage. More... | |
void | addRequest (const Fragment::sequence_id_t &seq, const Fragment::timestamp_t &time) |
Add a request for a sequence ID and timestamp combination. More... | |
A RequestMessage consists of a RequestHeader and zero or more RequestPackets. They will usually be sent in two calls to send()
Definition at line 112 of file RequestMessage.hh.
|
inline |
Add a request for a sequence ID and timestamp combination.
seq | Sequence ID to request |
time | Timestamp of request |
Definition at line 148 of file RequestMessage.hh.
|
inline |
Get a pointer to the first RequestPacket in contiguous storage.
Definition at line 136 of file RequestMessage.hh.
|
inline |
Get a pointer to the RequestHeader, filling in the current size of the message.
Definition at line 126 of file RequestMessage.hh.
|
inline |
Get the number of RequestPackets in the RequestMessage.
Definition at line 141 of file RequestMessage.hh.