Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
RAII-style controller object for a CCheckQueue that guarantees the passed queue is finished before continuing. More...
#include <checkqueue.h>
Public Member Functions | |
CCheckQueueControl ()=delete | |
CCheckQueueControl (const CCheckQueueControl &)=delete | |
CCheckQueueControl & | operator= (const CCheckQueueControl &)=delete |
CCheckQueueControl (CCheckQueue< T > *const pqueueIn) | |
bool | Wait () |
void | Add (std::vector< T > &vChecks) |
~CCheckQueueControl () | |
Private Attributes | |
CCheckQueue< T > *const | pqueue |
bool | fDone |
Detailed Description
template<typename T>
class CCheckQueueControl< T >
RAII-style controller object for a CCheckQueue that guarantees the passed queue is finished before continuing.
Definition at line 17 of file checkqueue.h.
Constructor & Destructor Documentation
◆ CCheckQueueControl() [1/3]
|
delete |
◆ CCheckQueueControl() [2/3]
|
delete |
◆ CCheckQueueControl() [3/3]
|
inlineexplicit |
Definition at line 181 of file checkqueue.h.
References ENTER_CRITICAL_SECTION, and CCheckQueueControl< T >::pqueue.
◆ ~CCheckQueueControl()
|
inline |
Definition at line 204 of file checkqueue.h.
References CCheckQueueControl< T >::fDone, LEAVE_CRITICAL_SECTION, CCheckQueueControl< T >::pqueue, and CCheckQueueControl< T >::Wait().
Member Function Documentation
◆ Add()
|
inline |
Definition at line 198 of file checkqueue.h.
References CCheckQueueControl< T >::pqueue.
Referenced by CCheckQueueSpeed(), CCheckQueueSpeedPrevectorJob(), and CChainState::ConnectBlock().
◆ operator=()
|
delete |
◆ Wait()
|
inline |
Definition at line 189 of file checkqueue.h.
References CCheckQueueControl< T >::fDone, and CCheckQueueControl< T >::pqueue.
Referenced by CCheckQueueSpeed(), CCheckQueueSpeedPrevectorJob(), CChainState::ConnectBlock(), and CCheckQueueControl< T >::~CCheckQueueControl().
Member Data Documentation
◆ fDone
|
private |
Definition at line 175 of file checkqueue.h.
Referenced by CCheckQueueControl< T >::Wait(), and CCheckQueueControl< T >::~CCheckQueueControl().
◆ pqueue
|
private |
Definition at line 174 of file checkqueue.h.
Referenced by CCheckQueueControl< T >::Add(), CCheckQueueControl< T >::CCheckQueueControl(), CCheckQueueControl< T >::Wait(), and CCheckQueueControl< T >::~CCheckQueueControl().
The documentation for this class was generated from the following file:
- src/checkqueue.h