Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
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

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

Definition at line 184 of file checkqueue.h.

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

Definition at line 207 of file checkqueue.h.

Here is the call graph for this function:

Member Function Documentation

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

Definition at line 201 of file checkqueue.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 192 of file checkqueue.h.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

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

Definition at line 178 of file checkqueue.h.

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

Definition at line 177 of file checkqueue.h.


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