BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bdlcc::SingleProducerQueueImpl_ReleaseAllRawProctor< TYPE > Class Template Reference

#include <bdlcc_singleproducerqueueimpl.h>

Public Member Functions

 SingleProducerQueueImpl_ReleaseAllRawProctor (TYPE *queue)
 
 ~SingleProducerQueueImpl_ReleaseAllRawProctor ()
 
void release ()
 

Detailed Description

template<class TYPE>
class bdlcc::SingleProducerQueueImpl_ReleaseAllRawProctor< TYPE >

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

See bdlcc_singleproducerqueueimpl

Constructor & Destructor Documentation

◆ SingleProducerQueueImpl_ReleaseAllRawProctor()

template<class TYPE >
bdlcc::SingleProducerQueueImpl_ReleaseAllRawProctor< TYPE >::SingleProducerQueueImpl_ReleaseAllRawProctor ( TYPE *  queue)

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

◆ ~SingleProducerQueueImpl_ReleaseAllRawProctor()

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

Member Function Documentation

◆ release()

template<class TYPE >
void bdlcc::SingleProducerQueueImpl_ReleaseAllRawProctor< TYPE >::release ( )

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


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