ThreadSafeContainer< T, CONTAINER > Class Template Reference

#include <ThreadSafe.h>

Inheritance diagram for ThreadSafeContainer< T, CONTAINER >:

[legend]
Collaboration diagram for ThreadSafeContainer< T, CONTAINER >:
[legend]
List of all members.

Detailed Description

template<typename T, typename CONTAINER>
class ThreadSafeContainer< T, CONTAINER >

A base class for thread-safe containers.


Public Types

typedef CONTAINER::size_type sizetype

Public Member Functions

 ThreadSafeContainer (int x)
void clear ()
CONTAINER::size_type size ()
bool empty ()
CONTAINER snapshot ()
void resize (const typename CONTAINER::size_type x)
template<class U>
void foreach (U cb)
template<typename U>
CONTAINER::iterator findIf (U cb)
template<class U>
bool has_if (U cb)
template<typename U>
bool erase_first_match (U cb)


The documentation for this class was generated from the following file:
Generated on Wed Jan 23 10:01:07 2008 for SMACQ by  doxygen 1.4.7