21 std::lock_guard<std::mutex> guard(
_access);
32 std::lock_guard<std::mutex> guard(
_access);
44 std::lock_guard<std::mutex> guard(
_access);
static constexpr int _MAX_LIST_SIZE
Max circular buffer size.
bool isFrame() const
Check if there is any frame in a circular buffer.
std::list< std::string > _frameList
List containing individual frames.
std::mutex _access
Mutex that provides single access to the list.
void addFrame(const std::string &frame)
Add one frame at the end of list.
bool getFrame(std::string &frame)
Get one frame from the top of the list.
FrameBuffer class declaration.