Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
reverse_lock< Lock > Class Template Reference
An RAII-style reverse lock. More...
#include <reverselock.h>
Collaboration diagram for reverse_lock< Lock >:
Public Member Functions | |
reverse_lock (Lock &_lock) | |
~reverse_lock () | |
Private Member Functions | |
reverse_lock (reverse_lock const &) | |
reverse_lock & | operator= (reverse_lock const &) |
Private Attributes | |
Lock & | lock |
Lock | templock |
Detailed Description
template<typename Lock>
class reverse_lock< Lock >
An RAII-style reverse lock.
Unlocks on construction and locks on destruction.
Definition at line 12 of file reverselock.h.
Constructor & Destructor Documentation
◆ reverse_lock() [1/2]
template<typename Lock>
|
inlineexplicit |
Definition at line 16 of file reverselock.h.
References reverse_lock< Lock >::templock.
◆ ~reverse_lock()
template<typename Lock>
|
inline |
Definition at line 21 of file reverselock.h.
References reverse_lock< Lock >::lock, and reverse_lock< Lock >::templock.
◆ reverse_lock() [2/2]
template<typename Lock>
|
private |
Member Function Documentation
◆ operator=()
template<typename Lock>
|
private |
Member Data Documentation
◆ lock
template<typename Lock>
|
private |
Definition at line 30 of file reverselock.h.
Referenced by reverse_lock< Lock >::~reverse_lock().
◆ templock
template<typename Lock>
|
private |
Definition at line 31 of file reverselock.h.
Referenced by reverse_lock< Lock >::reverse_lock(), and reverse_lock< Lock >::~reverse_lock().
The documentation for this class was generated from the following file:
- src/reverselock.h