1 #ifndef _ots_CircularBufferBase_h_
2 #define _ots_CircularBufferBase_h_
26 virtual void reset(
void) = 0;
27 void registerProducer(
DataProcessor* producer,
unsigned int numberOfSubBuffers = 100);
32 virtual bool isEmpty(
void)
const = 0;
33 virtual unsigned int getTotalNumberOfSubBuffers(
void)
const = 0;
34 virtual unsigned int getProducerBufferSize(
const std::string& producerID)
const = 0;
37 virtual void registerProducer(
const std::string& producerID,
unsigned int numberOfSubBuffers = 100) = 0;
38 virtual void registerConsumer(
const std::string& consumerID, ConsumerPriority priority) = 0;
42 std::string dataBufferId_;
43 std::string mfSubject_;