Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
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 198 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 207 of file checkqueue.h.

◆ ~CCheckQueueControl()

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

Definition at line 230 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 224 of file checkqueue.h.

Here is the call graph for this function:

◆ operator=()

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

◆ Wait()

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

Definition at line 215 of file checkqueue.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ fDone

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

Definition at line 201 of file checkqueue.h.

◆ pqueue

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

Definition at line 200 of file checkqueue.h.


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