ACT-CV - Machine Vision for Cognitive Modeling
|
windows version of a thread safe vector More...
#include <ThreadSafeVector.h>
Public Member Functions | |
ThreadSafeVector () | |
ThreadSafeVector (const ThreadSafeVector &v) | |
~ThreadSafeVector () | |
void | push_back (const _t &x) |
void | remove (const _t &x) |
void | EnterCriticalSection () |
void | LeaveCriticalSection () |
Private Attributes | |
CRITICAL_SECTION | protectMe |
Additional Inherited Members | |
Public Attributes inherited from std::vector< T > | |
T | elements |
STL member. More... | |
windows version of a thread safe vector
Definition at line 40 of file ThreadSafeVector.h.
mhthreads::ThreadSafeVector< _t >::ThreadSafeVector | ( | ) |
Definition at line 43 of file ThreadSafeVector.h.
References mhthreads::ThreadSafeVector< _t >::protectMe.
mhthreads::ThreadSafeVector< _t >::ThreadSafeVector | ( | const ThreadSafeVector< _t > & | v) |
Definition at line 46 of file ThreadSafeVector.h.
References mhthreads::ThreadSafeVector< _t >::protectMe.
mhthreads::ThreadSafeVector< _t >::~ThreadSafeVector | ( | ) |
Definition at line 50 of file ThreadSafeVector.h.
References mhthreads::ThreadSafeVector< _t >::protectMe.
void mhthreads::ThreadSafeVector< _t >::EnterCriticalSection | ( | ) |
Definition at line 65 of file ThreadSafeVector.h.
References mhthreads::ThreadSafeVector< _t >::protectMe.
Referenced by mhthreads::ThreadSafeVector< _t >::push_back(), and mhthreads::ThreadSafeVector< _t >::remove().
void mhthreads::ThreadSafeVector< _t >::LeaveCriticalSection | ( | ) |
Definition at line 68 of file ThreadSafeVector.h.
References mhthreads::ThreadSafeVector< _t >::protectMe.
Referenced by mhthreads::ThreadSafeVector< _t >::push_back(), and mhthreads::ThreadSafeVector< _t >::remove().
void mhthreads::ThreadSafeVector< _t >::push_back | ( | const _t & | x) |
Definition at line 53 of file ThreadSafeVector.h.
References mhthreads::ThreadSafeVector< _t >::EnterCriticalSection(), mhthreads::ThreadSafeVector< _t >::LeaveCriticalSection(), and mhthreads::ThreadSafeVector< _t >::protectMe.
void mhthreads::ThreadSafeVector< _t >::remove | ( | const _t & | x) |
Definition at line 58 of file ThreadSafeVector.h.
References mhthreads::ThreadSafeVector< _t >::EnterCriticalSection(), mhthreads::ThreadSafeVector< _t >::LeaveCriticalSection(), and mhthreads::ThreadSafeVector< _t >::protectMe.
|
private |
Definition at line 41 of file ThreadSafeVector.h.
Referenced by mhthreads::ThreadSafeVector< _t >::EnterCriticalSection(), mhthreads::ThreadSafeVector< _t >::LeaveCriticalSection(), mhthreads::ThreadSafeVector< _t >::push_back(), mhthreads::ThreadSafeVector< _t >::remove(), mhthreads::ThreadSafeVector< _t >::ThreadSafeVector(), and mhthreads::ThreadSafeVector< _t >::~ThreadSafeVector().