PRCYCoin  2.0.0.7rc1
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 (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 16 of file checkqueue.h.

Constructor & Destructor Documentation

◆ CCheckQueueControl()

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

Definition at line 182 of file checkqueue.h.

◆ ~CCheckQueueControl()

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

Definition at line 206 of file checkqueue.h.

Here is the call graph for this function:

Member Function Documentation

◆ Add()

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

Definition at line 200 of file checkqueue.h.

◆ Wait()

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

Definition at line 191 of file checkqueue.h.

Here is the caller graph for this function:

Member Data Documentation

◆ fDone

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

Definition at line 179 of file checkqueue.h.

◆ pqueue

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

Definition at line 178 of file checkqueue.h.


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