This class implements a proctor that, unless its release method has previously been invoked, automatically invokes releaseAllRaw on a TYPE upon destruction.

Synopsis

Declared in <bdlcc_singleproducerqueueimpl.h>

template<class TYPE>
class SingleProducerQueueImpl_ReleaseAllRawProctor;

Member Functions

Name

Description

SingleProducerQueueImpl_ReleaseAllRawProctor [constructor]

Create a removeAll proctor that conditionally manages the specified queue (if non‐zero).

~SingleProducerQueueImpl_ReleaseAllRawProctor [destructor]

Destroy this object and, if release has not been invoked, invoke the managed queue's releaseAllRaw method.

release

Release from management the queue currently managed by this proctor. If no queue, this method has no effect.

Created with MrDocs