|
artdaq
v3_09_05
|
CommandableFragmentGenerator derived class for testing. More...
Public Member Functions | |
| FragmentBufferTestGenerator (const fhicl::ParameterSet &ps) | |
| FragmentBufferTestGenerator Constructor. | |
| artdaq::FragmentPtrs | Generate (size_t n, std::vector< artdaq::Fragment::fragment_id_t > fragmentIds=std::vector< artdaq::Fragment::fragment_id_t >()) |
| Generate Fragments. More... | |
| void | setTimestamp (artdaq::Fragment::timestamp_t ts) |
| Set the timestamp to be used for the next Fragment. More... | |
| artdaq::Fragment::timestamp_t | getTimestamp () |
| Get the timestamp that will be used for the next Fragment. More... | |
CommandableFragmentGenerator derived class for testing.
Definition at line 35 of file FragmentBuffer_t.cc.
| artdaq::FragmentPtrs artdaqtest::FragmentBufferTestGenerator::Generate | ( | size_t | n, |
| std::vector< artdaq::Fragment::fragment_id_t > | fragmentIds = std::vector<artdaq::Fragment::fragment_id_t>() |
||
| ) |
Generate Fragments.
| n | Number of Fragments to generate |
| fragmentIds | List of Fragment IDs to generate Fragments for (if different than configured fragment IDs) |
Definition at line 83 of file FragmentBuffer_t.cc.
|
inline |
Get the timestamp that will be used for the next Fragment.
Definition at line 62 of file FragmentBuffer_t.cc.
|
inline |
Set the timestamp to be used for the next Fragment.
| ts | Timestamp to be used for the next Fragment |
Definition at line 56 of file FragmentBuffer_t.cc.