Definition at line 1057 of file mutex.h.
OSB_LIB::RwShared< T * >::RwShared | ( | RwMutex::Priority | p = RwMutex::prioRead |
) | [inline] |
OSB_LIB::RwShared< T * >::RwShared | ( | T * | t, | |
RwMutex::Priority | p = RwMutex::prioRead | |||
) | [inline] |
OSB_LIB::RwShared< T * >::RwShared | ( | std::auto_ptr< T > | t, | |
RwMutex::Priority | p = RwMutex::prioRead | |||
) | [inline] |
OSB_LIB::RwShared< T * >::~RwShared | ( | ) | [inline] |
OSB_LIB::RwShared< T * >::RwShared | ( | const RwShared< T * > & | ) | [private] |
Prevent copying: not implemented.
RwShared& OSB_LIB::RwShared< T * >::operator= | ( | const RwShared< T * > & | ) | [private] |
Prevent assignment: not implemented.
const T* OSB_LIB::RwShared< T * >::readLock | ( | ) | [inline] |
Get a read lock for the shared resource.
Definition at line 1113 of file mutex.h.
References OSB_LIB::RwShared< T >::readLock().
void OSB_LIB::RwShared< T * >::readUnlock | ( | ) | [inline] |
Remove a read lock.
Definition at line 1143 of file mutex.h.
References OSB_LIB::RwShared< T >::readUnlock().
const T* OSB_LIB::RwShared< T * >::tryReadLock | ( | ) | [inline] |
T* OSB_LIB::RwShared< T * >::tryWriteLock | ( | ) | [inline] |
T* OSB_LIB::RwShared< T * >::writeLock | ( | ) | [inline] |
Get a write lock for the shared resource.
Definition at line 1128 of file mutex.h.
References OSB_LIB::RwShared< T >::writeLock().
void OSB_LIB::RwShared< T * >::writeUnlock | ( | ) | [inline] |
RwMutex OSB_LIB::RwShared< T * >::mutex_ [private] |
bool OSB_LIB::RwShared< T * >::ownsShared_ [private] |
T* OSB_LIB::RwShared< T * >::pShared_ [private] |