artdaq  v3_09_00
artdaqtest::FragmentBufferTestGenerator Class Reference

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 >())
 
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...
 

Detailed Description

CommandableFragmentGenerator derived class for testing.

Definition at line 34 of file FragmentBuffer_t.cc.

Member Function Documentation

artdaq::Fragment::timestamp_t artdaqtest::FragmentBufferTestGenerator::getTimestamp ( )
inline

Get the timestamp that will be used for the next Fragment.

Returns
The timestamp that will be used for the next Fragment

Definition at line 55 of file FragmentBuffer_t.cc.

void artdaqtest::FragmentBufferTestGenerator::setTimestamp ( artdaq::Fragment::timestamp_t  ts)
inline

Set the timestamp to be used for the next Fragment.

Parameters
tsTimestamp to be used for the next Fragment

Definition at line 49 of file FragmentBuffer_t.cc.


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