otsdaq  v2_05_02_indev
ots::DataProducer Class Reference
Inheritance diagram for ots::DataProducer:
ots::DataProducerBase ots::WorkLoop ots::DataProcessor ots::ARTDAQProducer ots::TCPDataListenerProducer ots::UDPDataListenerProducer

Public Member Functions

 DataProducer (std::string supervisorApplicationUID, std::string bufferUID, std::string processorUID, unsigned int bufferSize=100)
 
virtual void startProcessingData (std::string runNumber)
 
virtual void stopProcessingData (void)
 
- Public Member Functions inherited from ots::DataProducerBase
 DataProducerBase (const std::string &supervisorApplicationUID, const std::string &bufferUID, const std::string &processorUID, unsigned int bufferSize=100)
 
virtual void registerToBuffer (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) const
 
- 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 12 of file DataProducer.h.


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