|
ACT-CV - Machine Vision for Cognitive Modeling
|
cross platform thread safe queue More...
#include <ThreadSafeQueue.h>


Public Member Functions | |
| ThreadSafeQueue () | |
| ThreadSafeQueue (const ThreadSafeQueue &q) | |
| ~ThreadSafeQueue () | |
| void | EnterCriticalSection () |
| void | LeaveCriticalSection () |
| void | push (const _t &x) |
| _t | pop () |
| bool | empty () |
Protected Attributes | |
| std::mutex | mutex_ |
Protected Attributes inherited from std::queue< T > | |
| T | elements |
| STL member. More... | |
cross platform thread safe queue
Definition at line 36 of file ThreadSafeQueue.h.
| ThreadSafeQueue< _t >::ThreadSafeQueue | ( | ) |
Definition at line 40 of file ThreadSafeQueue.h.
| ThreadSafeQueue< _t >::ThreadSafeQueue | ( | const ThreadSafeQueue< _t > & | q) |
Definition at line 42 of file ThreadSafeQueue.h.
| ThreadSafeQueue< _t >::~ThreadSafeQueue | ( | ) |
Definition at line 44 of file ThreadSafeQueue.h.
| bool ThreadSafeQueue< _t >::empty | ( | ) |
Definition at line 63 of file ThreadSafeQueue.h.
| void ThreadSafeQueue< _t >::EnterCriticalSection | ( | ) |
Definition at line 46 of file ThreadSafeQueue.h.
| void ThreadSafeQueue< _t >::LeaveCriticalSection | ( | ) |
Definition at line 49 of file ThreadSafeQueue.h.
| _t ThreadSafeQueue< _t >::pop | ( | ) |
Definition at line 57 of file ThreadSafeQueue.h.
| void ThreadSafeQueue< _t >::push | ( | const _t & | x) |
Definition at line 53 of file ThreadSafeQueue.h.
|
protected |
Definition at line 38 of file ThreadSafeQueue.h.
Referenced by ThreadSafeQueue< int >::empty(), ThreadSafeQueue< int >::EnterCriticalSection(), ThreadSafeQueue< int >::LeaveCriticalSection(), ThreadSafeQueue< int >::pop(), and ThreadSafeQueue< int >::push().