CARMA C++
carma::util::ScopedSharedLockManager< L > Class Template Reference

Scoped manager class for shared PthreadRWLock locks. More...

#include <carma/util/ScopedSharedLockManager.h>

Public Member Functions

void lock ()
 
 ScopedSharedLockManager (L &l)
 
bool tryLock ()
 
void unlock ()
 

Detailed Description

template<typename L>
class carma::util::ScopedSharedLockManager< L >

Scoped manager class for shared PthreadRWLock locks.

Can be used for any type lock provided the following functions are defined for those locks. void sharedLock( LockType & ); void trySharedLock( LockType & ); void sharedUnlock( LockType & );

Copied entirely from other Scoped Managers by Tom Costa.

See Also
carma::util::PthreadRWLock
carma::util::ScopedSharedLock

Definition at line 25 of file ScopedSharedLockManager.h.


The documentation for this class was generated from the following file: