Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

CCheckQueueControl< T > Class Template Reference

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
 
CCheckQueueControloperator= (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]

template<typename T>
CCheckQueueControl< T >::CCheckQueueControl ( )
delete

◆ CCheckQueueControl() [2/3]

template<typename T>
CCheckQueueControl< T >::CCheckQueueControl ( const CCheckQueueControl< T > &  )
delete

◆ CCheckQueueControl() [3/3]

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

Definition at line 181 of file checkqueue.h.

References ENTER_CRITICAL_SECTION, and CCheckQueueControl< T >::pqueue.

◆ ~CCheckQueueControl()

Member Function Documentation

◆ Add()

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

◆ operator=()

template<typename T>
CCheckQueueControl& CCheckQueueControl< T >::operator= ( const CCheckQueueControl< T > &  )
delete

◆ Wait()

Member Data Documentation

◆ fDone

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

◆ pqueue


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