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
Name |
Description |
|
Constructors |
|
Completes any outstanding checks (if not already done) and releases the lock. |
|
Deleted copy assignment; the controller holds an exclusive lock. |
Adds a batch of checks to the controlled queue. |
|
Waits for all queued checks to finish and returns any failure. |
Created with MrDocs