otsdaq  v2_01_00
ots::VirtualEventBuilder Class Referenceabstract
Inheritance diagram for ots::VirtualEventBuilder:
ots::DataProducer ots::DataConsumer ots::DataProcessor ots::WorkLoop ots::DataProcessor ots::WorkLoop ots::AssociativeMemoryEventBuilder

Public Member Functions

 VirtualEventBuilder (std::string supervisorApplicationUID, std::string bufferUID, std::string processorUID)
 
virtual void build (const std::string &buffer)=0
 
virtual std::queue< Event * > & getCompleteEvents (void)=0
 
virtual std::queue< Event * > & getAllEvents (void)=0
 
void flush (void)
 
std::string getName (void)
 
- Public Member Functions inherited from ots::DataProducer
 DataProducer (std::string supervisorApplicationUID, std::string bufferUID, std::string processorUID, unsigned int bufferSize=100)
 
void registerToBuffer (void)
 
virtual void startProcessingData (std::string runNumber)
 
virtual void stopProcessingData (void)
 
template<class D , class H >
int attachToEmptySubBuffer (D *&data, H *&header)
 
template<class D , class H >
int setWrittenSubBuffer (void)
 
template<class D , class H >
int write (const D &buffer)
 
template<class D , class H >
int write (const D &buffer, const H &header)
 
unsigned int getBufferSize (void)
 
- Public Member Functions inherited from ots::DataProcessor
 DataProcessor (std::string supervisorApplicationUID, std::string bufferUID, std::string processorUID)
 
virtual void pauseProcessingData (void)
 
virtual void resumeProcessingData (void)
 
std::string getProcessorID (void)
 
void setCircularBuffer (CircularBufferBase *circularBuffer)
 
- Public Member Functions inherited from ots::WorkLoop
 WorkLoop (std::string name)
 
void startWorkLoop (void)
 
bool stopWorkLoop (void)
 
bool isActive (void)
 
- Public Member Functions inherited from ots::DataConsumer
 DataConsumer (std::string supervisorApplicationUID, std::string bufferUID, std::string processorUID, ConsumerPriority priority)
 
void registerToBuffer (void)
 
virtual void startProcessingData (std::string runNumber)
 
virtual void stopProcessingData (void)
 
template<class D , class H >
int read (D &buffer, H &header)
 
template<class D , class H >
int read (D *&buffer, H *&header)
 
template<class D , class H >
int setReadSubBuffer (void)
 
template<class D , class H >
int read (D &buffer)
 
ConsumerPriority getPriority (void)
 

Protected Member Functions

bool workLoopThread (toolbox::task::WorkLoop *workLoop)
 
- Protected Member Functions inherited from ots::WorkLoop
const std::string & getWorkLoopName (void)
 

Protected Attributes

std::queue< Event * > completeEvents_
 
- Protected Attributes inherited from ots::DataProcessor
const std::string supervisorApplicationUID_
 
const std::string bufferUID_
 
const std::string processorUID_
 
CircularBufferBasetheCircularBuffer_
 
- Protected Attributes inherited from ots::WorkLoop
volatile bool continueWorkLoop_
 

Additional Inherited Members

- Public Types inherited from ots::DataConsumer
enum  ConsumerPriority { LowConsumerPriority, HighConsumerPriority }
 

Detailed Description

Definition at line 14 of file VirtualEventBuilder.h.


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