Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

CGovernanceManager::ScopedLockBool Class Reference

Public Member Functions

 ScopedLockBool (CCriticalSection &_cs, bool &_ref, bool _value)
 
 ~ScopedLockBool ()
 

Private Attributes

bool & ref
 
bool fPrevValue
 

Detailed Description

Definition at line 256 of file governance.h.

Constructor & Destructor Documentation

◆ ScopedLockBool()

CGovernanceManager::ScopedLockBool::ScopedLockBool ( CCriticalSection _cs,
bool &  _ref,
bool  _value 
)
inline

Definition at line 262 of file governance.h.

References AssertLockHeld(), fPrevValue, and ref.

◆ ~ScopedLockBool()

CGovernanceManager::ScopedLockBool::~ScopedLockBool ( )
inline

Definition at line 270 of file governance.h.

References fPrevValue, and ref.

Member Data Documentation

◆ fPrevValue

bool CGovernanceManager::ScopedLockBool::fPrevValue
private

Definition at line 259 of file governance.h.

Referenced by ScopedLockBool(), and ~ScopedLockBool().

◆ ref

bool& CGovernanceManager::ScopedLockBool::ref
private

Definition at line 258 of file governance.h.

Referenced by ScopedLockBool(), and ~ScopedLockBool().


The documentation for this class was generated from the following file:
Released under the MIT license