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

#include <bdlcc_boundedqueue.h>

Public Member Functions

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

Detailed Description

template<class TYPE>
class bdlcc::BoundedQueue_PushExceptionCompleteProctor< TYPE >

This class implements a proctor that invokes TYPE::pushExceptionComplete upon destruction unless release has been called.

See bdlcc_boundedqueue

Constructor & Destructor Documentation

◆ BoundedQueue_PushExceptionCompleteProctor()

template<class TYPE >
bdlcc::BoundedQueue_PushExceptionCompleteProctor< TYPE >::BoundedQueue_PushExceptionCompleteProctor ( TYPE *  queue)
inlineexplicit

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

◆ ~BoundedQueue_PushExceptionCompleteProctor()

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

Member Function Documentation

◆ release()

template<class TYPE >
void bdlcc::BoundedQueue_PushExceptionCompleteProctor< TYPE >::release ( )
inline

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


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