BDE 4.14.0 Production release
|
#include <bdlcc_singleconsumerqueueimpl.h>
Public Member Functions | |
SingleConsumerQueueImpl_MarkReclaimProctor (TYPE *queue, NODE *node) | |
~SingleConsumerQueueImpl_MarkReclaimProctor () | |
void | release () |
This class implements a proctor that, unless its release
method has previously been invoked, automatically invokes markReclaim
on a NODE
upon destruction.
bdlcc::SingleConsumerQueueImpl_MarkReclaimProctor< TYPE, NODE >::SingleConsumerQueueImpl_MarkReclaimProctor | ( | TYPE * | queue, |
NODE * | node | ||
) |
Create a markReclaim
proctor managing the specified node
of the specified queue
.
bdlcc::SingleConsumerQueueImpl_MarkReclaimProctor< TYPE, NODE >::~SingleConsumerQueueImpl_MarkReclaimProctor | ( | ) |
Destroy this object and, if release
has not been invoked, invoke the managed queue's markReclaim
method with the managed node.
void bdlcc::SingleConsumerQueueImpl_MarkReclaimProctor< TYPE, NODE >::release | ( | ) |
Release from management the queue and node currently managed by this proctor. If no queue, this method has no effect.