otsdaq  v2_05_02_indev
ots::DataConsumer Class Reference
Inheritance diagram for ots::DataConsumer:
ots::DataProcessor ots::WorkLoop ots::ARTDAQConsumer ots::DataDecoderConsumer ots::DQMHistosConsumerBase ots::RawDataSaverConsumerBase ots::RawDataVisualizerConsumer ots::TCPDataStreamerConsumer ots::UDPDataStreamerConsumer ots::OtsDataSaverConsumer ots::RawDataSaverConsumer

Public Types

enum  ConsumerPriority { LowConsumerPriority, HighConsumerPriority }
 

Public Member Functions

 DataConsumer (std::string supervisorApplicationUID, std::string bufferUID, std::string processorUID, ConsumerPriority priority)
 
virtual 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)
 
- 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)
 
const std::string & getProcessorID (void) const
 
void setCircularBuffer (CircularBufferBase *circularBuffer)
 
- Public Member Functions inherited from ots::WorkLoop
 WorkLoop (const std::string &name)
 
void startWorkLoop (void)
 
bool stopWorkLoop (void)
 
bool isActive (void) const
 

Additional Inherited Members

- Protected Member Functions inherited from ots::WorkLoop
virtual bool workLoopThread (toolbox::task::WorkLoop *workLoop)=0
 
const std::string & getWorkLoopName (void) const
 
- 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_
 

Detailed Description

Definition at line 13 of file DataConsumer.h.


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