CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
classLock< T, M > Class Template Reference

#include <MutexUtils.h>

Inheritance diagram for classLock< T, M >:
lockSentry< M >

Public Member Functions

 classLock (const T *me)
 
 ~classLock ()
 

Additional Inherited Members

- Private Types inherited from lockSentry< M >
typedef M Mutex
 
- Private Member Functions inherited from lockSentry< M >
 lockSentry (M &im)
 
 operator typename M::scoped_lock & ()
 
M::scoped_lock & operator() ()
 
 ~lockSentry ()
 

Detailed Description

template<class T, class M = boost::recursive_mutex>
class classLock< T, M >

Definition at line 93 of file MutexUtils.h.

Constructor & Destructor Documentation

template<class T , class M = boost::recursive_mutex>
classLock< T, M >::classLock ( const T me)
inlineexplicit

Definition at line 95 of file MutexUtils.h.

static Mutex & myMutex(const T *)
a static safe class level mutex...
Definition: MutexUtils.h:83
template<class T , class M = boost::recursive_mutex>
classLock< T, M >::~classLock ( )
inline

Definition at line 96 of file MutexUtils.h.

96 {}