A little helper class that implements a threadsafe queue by requiring all clients to lock a mutex before accessing the queue. More...
#include <view_manager.hpp>
Classes | |
struct | LockedListAccess |
Public Member Functions | |
LockedListAccess | locked () |
Private Types | |
using | unique_lock_t = std::unique_lock< std::mutex > |
Private Attributes | |
std::mutex | mutex |
std::list< T > | underlying_list |
A little helper class that implements a threadsafe queue by requiring all clients to lock a mutex before accessing the queue.
Definition at line 45 of file view_manager.hpp.
|
private |
Definition at line 47 of file view_manager.hpp.
|
inline |
Definition at line 60 of file view_manager.hpp.
|
private |
Definition at line 48 of file view_manager.hpp.
|
private |
Definition at line 49 of file view_manager.hpp.