ACT-CV - Machine Vision for Cognitive Modeling
Public Member Functions | List of all members
ThreadSafePointerQueue< _t > Class Template Reference

cross platform thread safe queue for pointers More...

#include <ThreadSafeQueue.h>

Inheritance diagram for ThreadSafePointerQueue< _t >:
Inheritance graph
Collaboration diagram for ThreadSafePointerQueue< _t >:
Collaboration graph

Public Member Functions

_t * front ()
 
unsigned int size ()
 
- Public Member Functions inherited from ThreadSafeQueue< _t * >
 ThreadSafeQueue ()
 
 ThreadSafeQueue (const ThreadSafeQueue &q)
 
 ~ThreadSafeQueue ()
 
void EnterCriticalSection ()
 
void LeaveCriticalSection ()
 
void push (const _t *&x)
 
_t * pop ()
 
bool empty ()
 

Additional Inherited Members

- Protected Attributes inherited from ThreadSafeQueue< _t * >
std::mutex mutex_
 

Detailed Description

template<class _t>
class ThreadSafePointerQueue< _t >

cross platform thread safe queue for pointers

Definition at line 73 of file ThreadSafeQueue.h.

Member Function Documentation

template<class _t >
_t* ThreadSafePointerQueue< _t >::front ( )

Definition at line 75 of file ThreadSafeQueue.h.

template<class _t >
unsigned int ThreadSafePointerQueue< _t >::size ( )

Definition at line 78 of file ThreadSafeQueue.h.

References ThreadSafeQueue< _t * >::mutex_.


The documentation for this class was generated from the following file:


ACT-CV - Machine Vision for Cognitive Modeling
© 2015 Marc Halbruegge (actcvlibrary@googlemail.com)