otsdaq  v2_05_02_indev
ots::BufferImplementation< D, H > Class Template Reference

Public Member Functions

 BufferImplementation (const std::string &producerName="", unsigned int numberOfSubBuffers=100)
 
 BufferImplementation (const BufferImplementation< D, H > &toCopy)
 
BufferImplementation< D, H > & operator= (const BufferImplementation< D, H > &toCopy)
 
void init (void)
 
void reset (void)
 
void resetConsumerList (void)
 
void registerConsumer (const std::string &name, CircularBufferBase::ConsumerPriority priority)
 
int attachToEmptySubBuffer (D *&data, H *&header)
 
int setWrittenSubBuffer (void)
 
int write (const D &buffer, const H &header=H())
 
int read (D &buffer, const std::string &consumer)
 
int read (D &buffer, H &header, const std::string &consumer)
 
int read (D *&buffer, H *&header, const std::string &consumer)
 
int setReadSubBuffer (const std::string &consumer)
 
bool isEmpty (void) const
 
unsigned int bufferSize (void) const
 
unsigned int numberOfWrittenBuffers (void) const
 
const std::map< std::string,
ConsumerStruct > & 
getConsumers (void) const
 
void dumpStatus (std::ostream *out=(std::ostream *)&(std::cout)) const
 

Protected Attributes

const std::string mfSubject_
 

Detailed Description

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

Definition at line 18 of file BufferImplementation.h.


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