ACT-CV - Machine Vision for Cognitive Modeling
Public Member Functions | Private Attributes | List of all members
mhthreads::ThreadSafeVector< _t > Class Template Reference

windows version of a thread safe vector More...

#include <ThreadSafeVector.h>

Inheritance diagram for mhthreads::ThreadSafeVector< _t >:
Inheritance graph
Collaboration diagram for mhthreads::ThreadSafeVector< _t >:
Collaboration graph

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 >
elements
 STL member. More...
 

Detailed Description

template<class _t>
class mhthreads::ThreadSafeVector< _t >

windows version of a thread safe vector

Definition at line 40 of file ThreadSafeVector.h.

Constructor & Destructor Documentation

template<class _t >
mhthreads::ThreadSafeVector< _t >::ThreadSafeVector ( )

Definition at line 43 of file ThreadSafeVector.h.

References mhthreads::ThreadSafeVector< _t >::protectMe.

template<class _t >
mhthreads::ThreadSafeVector< _t >::ThreadSafeVector ( const ThreadSafeVector< _t > &  v)

Definition at line 46 of file ThreadSafeVector.h.

References mhthreads::ThreadSafeVector< _t >::protectMe.

template<class _t >
mhthreads::ThreadSafeVector< _t >::~ThreadSafeVector ( )

Definition at line 50 of file ThreadSafeVector.h.

References mhthreads::ThreadSafeVector< _t >::protectMe.

Member Function Documentation

template<class _t >
void mhthreads::ThreadSafeVector< _t >::EnterCriticalSection ( )
template<class _t >
void mhthreads::ThreadSafeVector< _t >::LeaveCriticalSection ( )
template<class _t >
void mhthreads::ThreadSafeVector< _t >::push_back ( const _t &  x)
template<class _t >
void mhthreads::ThreadSafeVector< _t >::remove ( const _t &  x)

Member Data Documentation

template<class _t >
CRITICAL_SECTION mhthreads::ThreadSafeVector< _t >::protectMe
private

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


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