![]() |
Master Core
v0.0.9 - 49a5c0d97abf09ef2911ddfe8d9551df59f9efd3-dirty
|
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 |
RAII-style controller object for a CCheckQueue that guarantees the passed queue is finished before continuing.
Definition at line 16 of file checkqueue.h.
|
inline |
Definition at line 166 of file checkqueue.h.
References CCheckQueue< T >::fAllOk, CCheckQueue< T >::nIdle, CCheckQueue< T >::nTodo, and CCheckQueue< T >::nTotal.
|
inline |
Definition at line 188 of file checkqueue.h.
References CCheckQueueControl< T >::Wait().
|
inline |
Definition at line 183 of file checkqueue.h.
References CCheckQueue< T >::Add().
Referenced by ConnectBlock().
|
inline |
Definition at line 175 of file checkqueue.h.
References CCheckQueue< T >::Wait().
Referenced by ConnectBlock(), and CCheckQueueControl< T >::~CCheckQueueControl().
|
private |
Definition at line 163 of file checkqueue.h.
|
private |
Definition at line 162 of file checkqueue.h.