CCheckQueueControl

RAII-style controller object for a CCheckQueue that guarantees the passed queue is finished before continuing.

Synopsis

Declared in <checkqueue.h>

template<
    typename T,
    typename R = std::remove_cvref_t<decltype(std::declval<T>()().value())>>
class [[scoped_lockable]] CCheckQueueControl;

Member Functions

NameDescription
CCheckQueueControl [constructor]Constructors
~CCheckQueueControl [destructor]Completes any outstanding checks (if not already done) and releases the lock.
operator= [deleted]Deleted copy assignment; the controller holds an exclusive lock.
Add Adds a batch of checks to the controlled queue.
Complete Waits for all queued checks to finish and returns any failure.