24 std::lock_guard<std::mutex> guard(
_access);
35 std::lock_guard<std::mutex> guard(
_access);
47 std::lock_guard<std::mutex> guard(
_access);
bool isFrame() const
Check if list contain any frame.
FrameBuffer()
Construct new FrameBuffer object.
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 to the end of the list.
~FrameBuffer()
Desctruct FrameBuffer object.
bool getFrame(std::string &frame)
Get one frame from the top of the list.
constexpr int MAX_LIST_SIZE
Header file for FrameBuffer class.