Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Class Members

ThreadSafeContainer< T, CONTAINER > Class Template Reference

#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.

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 Mon Aug 28 23:37:18 2006 for SMACQ by doxygen 1.3.5