artdaq
v2_03_00
|
ThrottledGenerator: ensure that we only get one fragment per type at a time from the generator. More...
Public Member Functions | |
ThrottledGenerator (std::string const &generator, fhicl::ParameterSet const &ps) | |
ThrottledGenerator Constructor. More... | |
bool | getNext (artdaq::FragmentPtrs &newFrags) |
Get the next fragment from the generator. More... | |
size_t | numFragIDs () const |
Get the number of Fragment IDs handled by this generator. More... | |
ThrottledGenerator: ensure that we only get one fragment per type at a time from the generator.
Definition at line 90 of file genToArt.cc.
anonymous_namespace{genToArt.cc}::ThrottledGenerator::ThrottledGenerator | ( | std::string const & | generator, |
fhicl::ParameterSet const & | ps | ||
) |
ThrottledGenerator Constructor.
generator | Name of the generator plugin to load |
ps | ParameterSet for configuring the FragmentGenerator |
Definition at line 124 of file genToArt.cc.
bool anonymous_namespace{genToArt.cc}::ThrottledGenerator::getNext | ( | artdaq::FragmentPtrs & | newFrags | ) |
Get the next fragment from the generator.
[out] | newFrags | New Fragment objects are added to this list |
Definition at line 136 of file genToArt.cc.
size_t anonymous_namespace{genToArt.cc}::ThrottledGenerator::numFragIDs | ( | ) | const |
Get the number of Fragment IDs handled by this generator.
Definition at line 171 of file genToArt.cc.