#include <Utilities/Threads/interface/MTmap.h>
Public Types | |
typedef SMAP::const_iterator | const_iterator |
typedef T | data_type |
typedef SMAP::iterator | iterator |
typedef SMAP::key_type | key_type |
typedef std::map< K, T, std::less< K > > | SMAP |
typedef SMAP::value_type | value_type |
Public Member Functions | |
const SMAP & | backdoor () const |
SMAP & | backdoor () |
const_iterator | begin () const |
iterator | begin () |
void | clear () |
bool | empty () const |
const_iterator | end () const |
iterator | end () |
void | erase (iterator pos) |
const_iterator | find (const K &k) const |
iterator | find (const K &k) |
std::pair< iterator, bool > | insert (const value_type &elem) |
MTmap () | |
constructor | |
LockMutex::Mutex & | mutex () const |
T & | operator[] (const K &k) |
size_t | size () const |
~MTmap () | |
destructor | |
Protected Attributes | |
SMAP | me |
LockMutex::Mutex | mutex_ |
Definition at line 12 of file MTmap.h.
typedef SMAP::const_iterator MTmap< K, T >::const_iterator |
typedef SMAP::value_type MTmap< K, T >::value_type |
const_iterator MTmap< K, T >::begin | ( | void | ) | const [inline] |
Definition at line 53 of file MTmap.h.
References MTmap< K, T >::me.
00053 { 00054 return me.begin(); 00055 }
Definition at line 49 of file MTmap.h.
References MTmap< K, T >::me.
Referenced by ThreadObjects< T >::begin().
00049 { 00050 return me.begin(); 00051 }
Definition at line 69 of file MTmap.h.
References MTmap< K, T >::me.
00069 { 00070 return me.empty(); 00071 }
const_iterator MTmap< K, T >::end | ( | void | ) | const [inline] |
Definition at line 61 of file MTmap.h.
References MTmap< K, T >::me.
00061 { 00062 return me.end(); 00063 }
Definition at line 57 of file MTmap.h.
References MTmap< K, T >::me.
Referenced by ThreadObjects< T >::end().
00057 { 00058 return me.end(); 00059 }
Definition at line 78 of file MTmap.h.
References a, MTmap< K, T >::me, and MTmap< K, T >::mutex_.
Referenced by ThreadObjects< T >::erase().
const_iterator MTmap< K, T >::find | ( | const K & | k | ) | const [inline] |
Definition at line 29 of file MTmap.h.
References a, MTmap< K, T >::me, and MTmap< K, T >::mutex_.
Referenced by ThreadObjects< T >::find().
std::pair<iterator,bool> MTmap< K, T >::insert | ( | const value_type & | elem | ) | [inline] |
Definition at line 44 of file MTmap.h.
References a, MTmap< K, T >::me, and MTmap< K, T >::mutex_.
Referenced by ThreadObjects< T >::insert().
LockMutex::Mutex& MTmap< K, T >::mutex | ( | ) | const [inline] |
T& MTmap< K, T >::operator[] | ( | const K & | k | ) | [inline] |
Definition at line 65 of file MTmap.h.
References MTmap< K, T >::me.
00065 { 00066 return me.size(); 00067 }
Definition at line 90 of file MTmap.h.
Referenced by MTmap< K, T >::backdoor(), MTmap< K, T >::begin(), MTmap< K, T >::clear(), MTmap< K, T >::empty(), MTmap< K, T >::end(), MTmap< K, T >::erase(), MTmap< K, T >::find(), MTmap< K, T >::insert(), MTmap< K, T >::operator[](), and MTmap< K, T >::size().
LockMutex::Mutex MTmap< K, T >::mutex_ [mutable, protected] |
Definition at line 92 of file MTmap.h.
Referenced by MTmap< K, T >::clear(), MTmap< K, T >::erase(), MTmap< K, T >::find(), MTmap< K, T >::insert(), MTmap< K, T >::mutex(), and MTmap< K, T >::operator[]().