The RequestSender contains methods used to send data requests and Routing tokens.
More...
#include <artdaq/DAQrate/RequestSender.hh>
|
using | Parameters = fhicl::WrappedTable< Config > |
| Used for ParameterSet validation (if desired)
|
|
The RequestSender contains methods used to send data requests and Routing tokens.
Definition at line 27 of file RequestSender.hh.
artdaq::RequestSender::RequestSender |
( |
const fhicl::ParameterSet & |
pset | ) |
|
void artdaq::RequestSender::AddRequest |
( |
Fragment::sequence_id_t |
seqID, |
|
|
Fragment::timestamp_t |
timestamp |
|
) |
| |
Add a request to the request list.
- Parameters
-
seqID | Sequence ID for request |
timestamp | Timestamp to request |
Definition at line 279 of file RequestSender.cc.
size_t artdaq::RequestSender::GetSentTokenCount |
( |
| ) |
const |
|
inline |
void artdaq::RequestSender::RemoveRequest |
( |
Fragment::sequence_id_t |
seqID | ) |
|
Remove a request from the request list.
- Parameters
-
seqID | Sequence ID of request |
Definition at line 293 of file RequestSender.cc.
void artdaq::RequestSender::SendRequest |
( |
bool |
endOfRunOnly = false | ) |
|
Send a request message containing all current requests.
- Parameters
-
endOfRunOnly | Whether the request should only be sent in EndOfRun RequestMessageMode (default: false) |
Definition at line 268 of file RequestSender.cc.
void artdaq::RequestSender::SendRoutingToken |
( |
int |
nSlots, |
|
|
int |
run_number |
|
) |
| |
Send a RoutingToken message indicating that slots are available.
- Parameters
-
nSlots | Number of slots available |
run_number | Run number for token |
Definition at line 259 of file RequestSender.cc.
Set the mode for RequestMessages. Used to indicate when RequestSender should enter "EndOfRun" mode.
- Parameters
-
Definition at line 91 of file RequestSender.cc.
void artdaq::RequestSender::SetRunNumber |
( |
uint32_t |
run | ) |
|
|
inline |
Set the run number to be used in request messages.
- Parameters
-
Definition at line 142 of file RequestSender.hh.
The documentation for this class was generated from the following files: