Master Core  v0.0.9 - 49a5c0d97abf09ef2911ddfe8d9551df59f9efd3-dirty
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Private Attributes
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>

+ Collaboration diagram for CCheckQueueControl< T >:

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

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

Definition at line 188 of file checkqueue.h.

References CCheckQueueControl< T >::Wait().

+ 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 183 of file checkqueue.h.

References CCheckQueue< T >::Add().

Referenced by ConnectBlock().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 175 of file checkqueue.h.

References CCheckQueue< T >::Wait().

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Field Documentation

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

Definition at line 163 of file checkqueue.h.

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

Definition at line 162 of file checkqueue.h.


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