otsdaq  v2_05_02_indev
ots::CircularBufferBase Class Referenceabstract
Inheritance diagram for ots::CircularBufferBase:
ots::CircularBuffer< D, H >

Public Types

enum  ConsumerPriority { LowConsumerPriority, HighConsumerPriority }
 

Public Member Functions

 CircularBufferBase (const std::string &bufferID)
 
virtual void reset (void)=0
 
void registerProducer (DataProcessor *producer, unsigned int numberOfSubBuffers=100)
 
void registerConsumer (DataProcessor *consumer)
 
virtual bool isEmpty (void) const =0
 
virtual unsigned int getTotalNumberOfSubBuffers (void) const =0
 
virtual unsigned int getProducerBufferSize (const std::string &producerID) const =0
 

Protected Member Functions

virtual void registerProducer (const std::string &producerID, unsigned int numberOfSubBuffers=100)=0
 
virtual void registerConsumer (const std::string &consumerID, ConsumerPriority priority)=0
 

Protected Attributes

std::string dataBufferId_
 
std::string mfSubject_
 

Detailed Description

Definition at line 12 of file CircularBufferBase.h.


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