Dash Core  0.12.2.1
P2P Digital Currency
CCheckQueueControl< T > Class Template Reference

#include <checkqueue.h>

Public Member Functions

 CCheckQueueControl (CCheckQueue< T > *pqueueIn)
 
bool Wait ()
 
void Add (std::vector< T > &vChecks)
 
 ~CCheckQueueControl ()
 

Private Attributes

CCheckQueue< T > * 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()

template<typename T>
CCheckQueueControl< T >::CCheckQueueControl ( CCheckQueue< T > *  pqueueIn)
inline

Definition at line 184 of file checkqueue.h.

◆ ~CCheckQueueControl()

template<typename T>
CCheckQueueControl< T >::~CCheckQueueControl ( )
inline

Definition at line 208 of file checkqueue.h.

Member Function Documentation

◆ Add()

template<typename T>
void CCheckQueueControl< T >::Add ( std::vector< T > &  vChecks)
inline

Definition at line 202 of file checkqueue.h.

Referenced by ConnectBlock().

◆ Wait()

template<typename T>
bool CCheckQueueControl< T >::Wait ( )
inline

Definition at line 193 of file checkqueue.h.

Referenced by ConnectBlock(), and CCheckQueueControl< T >::~CCheckQueueControl().

Member Data Documentation

◆ fDone

template<typename T>
bool CCheckQueueControl< T >::fDone
private

◆ pqueue

template<typename T>
CCheckQueue<T>* CCheckQueueControl< T >::pqueue
private

The documentation for this class was generated from the following file: