Quick Links: |
#include <bdlcc_boundedqueue.h>
Public Member Functions | |
BoundedQueue_PushExceptionCompleteProctor (TYPE *queue) | |
~BoundedQueue_PushExceptionCompleteProctor () | |
void | release () |
This class implements a proctor that invokes TYPE::pushExceptionComplete
upon destruction unless release
has been called.
See Component bdlcc_boundedqueue
bdlcc::BoundedQueue_PushExceptionCompleteProctor< TYPE >::BoundedQueue_PushExceptionCompleteProctor | ( | TYPE * | queue | ) | [explicit] |
Create a pushExceptionComplete
proctor that conditionally manages the specified queue
(if non-zero).
bdlcc::BoundedQueue_PushExceptionCompleteProctor< TYPE >::~BoundedQueue_PushExceptionCompleteProctor | ( | ) |
Destroy this object and, if release
has not been invoked', invoke the managed queue's pushExceptionComplete
method.
void bdlcc::BoundedQueue_PushExceptionCompleteProctor< TYPE >::release | ( | ) |
Release from management the queue currently managed by this proctor. If no queue is currently managed, this method has no effect.