45 bool empty(
void)
const;
65 void pop(
const size_t numBytes);
68 size_t getTotalBytesAvailable(
void)
const;
78 void require(
const size_t numBytes);
84 size_t getUniqueManagedBufferCount(
void)
const;
88 size_t _bytesAvailable;
97 return _bytesAvailable == 0;
102 assert(not _queue.empty());
103 return _queue.front();
108 return _bytesAvailable;
Definition: BufferAccumulator.hpp:31
const BufferChunk & front(void) const
Definition: BufferAccumulator.hpp:100
#define POTHOS_API
Definition: Config.hpp:41
Definition: Testing.hpp:134
Definition: RingDeque.hpp:29
Definition: BufferPool.hpp:24
bool empty(void) const
Definition: BufferAccumulator.hpp:95
Definition: BufferChunk.hpp:30
size_t getTotalBytesAvailable(void) const
Get the total number of bytes held in this accumulator.
Definition: BufferAccumulator.hpp:106