anonymous_namespace{genToArt.cc}::ThrottledGenerator Class Reference

ThrottledGenerator: ensure that we only get one fragment per type at a time from the generator. More...

List of all members.

Public Member Functions

 ThrottledGenerator (std::string const &generator, fhicl::ParameterSet const &ps)
 ThrottledGenerator Constructor.
bool getNext (artdaq::FragmentPtrs &newFrags)
 Get the next fragment from the generator.
size_t numFragIDs () const
 Get the number of Fragment IDs handled by this generator.

Detailed Description

ThrottledGenerator: ensure that we only get one fragment per type at a time from the generator.

Definition at line 90 of file genToArt.cc.


Constructor & Destructor Documentation

anonymous_namespace{genToArt.cc}::ThrottledGenerator::ThrottledGenerator ( std::string const &  generator,
fhicl::ParameterSet const &  ps 
)

ThrottledGenerator Constructor.

Parameters:
generator Name of the generator plugin to load
ps ParameterSet for configuring the FragmentGenerator

Definition at line 124 of file genToArt.cc.


Member Function Documentation

bool anonymous_namespace{genToArt.cc}::ThrottledGenerator::getNext ( artdaq::FragmentPtrs &  newFrags  ) 

Get the next fragment from the generator.

Parameters:
[out] newFrags New Fragment objects are added to this list
Returns:
Whether there is more data forthcoming

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.

Returns:

Definition at line 171 of file genToArt.cc.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator

Generated on 16 Aug 2017 for artdaq by  doxygen 1.6.1