Same as LockRAII but with additional members to implement the LOCKED macro. More...
#include <paraPthLock.h>
Public Member Functions | |
LockRAIIHelper (Lock *l) | |
LockRAIIHelper (Lock *l, char const *file, int line) | |
operator bool () const | |
LockRAIIHelper & | operator++ () |
Public Member Functions inherited from LockRAII | |
LockRAII (Lock *l) | |
Constructor. The constructor calls l->lock() to acquire the lock. More... | |
LockRAII (Lock *l, char const *file, int line) | |
Constructor. The constructor calls l->lock(file,line) to acquire the lock. More... | |
~LockRAII () | |
Destructor. Releases the lock that was acquired in the constructor. More... | |
Private Member Functions | |
LockRAIIHelper (LockRAIIHelper const &) | |
LockRAIIHelper const & | operator= (LockRAIIHelper const &) |
Private Attributes | |
int | count |
Same as LockRAII but with additional members to implement the LOCKED macro.
Definition at line 237 of file paraPthLock.h.
|
private |
LockRAIIHelper | ( | Lock * | l | ) |
Definition at line 250 of file paraPthLock.h.
LockRAIIHelper | ( | Lock * | l, |
char const * | file, | ||
int | line | ||
) |
Definition at line 258 of file paraPthLock.h.
operator bool | ( | ) | const |
Definition at line 268 of file paraPthLock.h.
References LockRAIIHelper::count.
LockRAIIHelper & operator++ | ( | ) |
Definition at line 274 of file paraPthLock.h.
References LockRAIIHelper::count.
|
private |
|
private |
Definition at line 239 of file paraPthLock.h.
Referenced by LockRAIIHelper::operator bool(), and LockRAIIHelper::operator++().