ThreadSafeContainer< T, CONTAINER > Class Template Reference
A base class for thread-safe containers.
More...
#include <ThreadSafe.h>
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: