ThreadSafeContainer< T, CONTAINER > Class Template Reference

A base class for thread-safe containers. More...

#include <ThreadSafe.h>

Inheritance diagram for ThreadSafeContainer< T, CONTAINER >:

Inheritance graph
[legend]
Collaboration diagram for ThreadSafeContainer< T, CONTAINER >:

Collaboration graph
[legend]

List of all members.

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)


Detailed Description

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

A base class for thread-safe containers.
The documentation for this class was generated from the following file:

Generated on Tue Oct 6 14:36:17 2009 for SMACQ by  doxygen 1.5.8