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

Public Member Functions

 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 startProcessingData (std::string runNumber)=0
 
virtual void stopProcessingData (void)=0
 
virtual void pauseProcessingData (void)
 
virtual void resumeProcessingData (void)
 
const std::string & getProcessorID (void) const
 
void setCircularBuffer (CircularBufferBase *circularBuffer)
 

Additional Inherited Members

- Protected Attributes inherited from ots::DataProcessor
const std::string supervisorApplicationUID_
 
const std::string bufferUID_
 
const std::string processorUID_
 
CircularBufferBasetheCircularBuffer_
 

Detailed Description

Definition at line 15 of file DataProducerBase.h.


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