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

Public Member Functions

 CircularBuffer (const std::string &dataBufferId)
 
void reset (void)
 
void resetConsumerList (void)
 
bool isEmpty (void) const
 
unsigned int getTotalNumberOfSubBuffers (void) const
 
unsigned int getProducerBufferSize (const std::string &producerID) const
 
int read (D &buffer, const std::string &consumerID)
 
int read (D &buffer, H &header, const std::string &consumerID)
 
int read (D *&buffer, H *&header, const std::string &consumerID)
 
BufferImplementation< D, H > & getLastReadBuffer (const std::string &consumerID)
 
BufferImplementation< D, H > & getBuffer (const std::string &producerID)
 
- Public Member Functions inherited from ots::CircularBufferBase
 CircularBufferBase (const std::string &bufferID)
 
void registerProducer (DataProcessor *producer, unsigned int numberOfSubBuffers=100)
 
void registerConsumer (DataProcessor *consumer)
 

Additional Inherited Members

- Public Types inherited from ots::CircularBufferBase
enum  ConsumerPriority { LowConsumerPriority, HighConsumerPriority }
 
- Protected Attributes inherited from ots::CircularBufferBase
std::string dataBufferId_
 
std::string mfSubject_
 

Detailed Description

template<class D, class H>
class ots::CircularBuffer< D, H >

Definition at line 18 of file CircularBuffer.h.


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