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>
A RequestMessage consists of a RequestHeader and zero or more RequestPackets. They will usually be sent in two calls to send()
Definition at line 117 of file RequestMessage.hh.
void artdaq::detail::RequestMessage::addRequest |
( |
const Fragment::sequence_id_t & |
seq, |
|
|
const Fragment::timestamp_t & |
time |
|
) |
| |
|
inline |
Add a request for a sequence ID and timestamp combination.
- Parameters
-
seq | Sequence ID to request |
time | Timestamp of request |
Definition at line 182 of file RequestMessage.hh.
std::vector<uint8_t> artdaq::detail::RequestMessage::GetMessage |
( |
| ) |
|
|
inline |
Set the Request Message Mode for this request.
- Parameters
-
mode | Mode for this Request Message |
Definition at line 147 of file RequestMessage.hh.
void artdaq::detail::RequestMessage::setRank |
( |
int |
rank | ) |
|
|
inline |
Set the rank in the header for this request. This will be the rank from which the request originates.
- Parameters
-
rank | Rank for this Request Message |
Definition at line 156 of file RequestMessage.hh.
void artdaq::detail::RequestMessage::setRunNumber |
( |
int |
run | ) |
|
|
inline |
Set the run number in the header for this request. This will be the Run for which the request is valid.
- Parameters
-
run | Run number for this Request Message |
Definition at line 166 of file RequestMessage.hh.
size_t artdaq::detail::RequestMessage::size |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: