otsdaq  v2_01_00
ots::DataProducer Class Reference
Inheritance diagram for ots::DataProducer:
ots::DataProcessor ots::WorkLoop ots::ARTDAQProducer ots::TCPDataListenerProducer ots::UDPDataListenerProducer ots::VirtualEventBuilder ots::AssociativeMemoryEventBuilder

Public Member Functions

 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)
 

Additional Inherited Members

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


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