Lines Matching refs:RingBuffer
25 RingBuffer::~RingBuffer()
30 bool RingBuffer::Init(uint32_t singleSize, uint32_t num)
57 void RingBuffer::Reset()
67 bool RingBuffer::IsFull()
74 bool RingBuffer::IsEmpty()
81 bool RingBuffer::Push(uint8_t *buf, uint32_t len)
84 LOG(ERROR) << "RingBuffer push error, len:" << len << " singleSize:" << singleSize_;
91 LOG(WARNING) << "RingBuffer push stopped";
94 LOG(DEBUG) << "RingBuffer full, wait !!!";
112 bool RingBuffer::Pop(uint8_t *buf, uint32_t maxLen, uint32_t &len)
115 LOG(ERROR) << "RingBuffer pop para error";
122 LOG(WARNING) << "RingBuffer pop stopped";
125 LOG(DEBUG) << "RingBuffer empty, wait !!!";
143 void RingBuffer::Stop()
150 void RingBuffer::StopPush()
159 void RingBuffer::StopPop()
168 void RingBuffer::Release()