BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bdlcc::SingleConsumerQueueImpl_MarkReclaimProctor< TYPE, NODE > Class Template Reference

#include <bdlcc_singleconsumerqueueimpl.h>

Detailed Description

template<class TYPE, class NODE>
class bdlcc::SingleConsumerQueueImpl_MarkReclaimProctor< TYPE, NODE >

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

See bdlcc_singleconsumerqueueimpl

Public Member Functions

 SingleConsumerQueueImpl_MarkReclaimProctor (TYPE *queue, NODE *node)
 
 ~SingleConsumerQueueImpl_MarkReclaimProctor ()
 
void release ()
 

Constructor & Destructor Documentation

◆ SingleConsumerQueueImpl_MarkReclaimProctor()

template<class TYPE , class NODE >
bdlcc::SingleConsumerQueueImpl_MarkReclaimProctor< TYPE, NODE >::SingleConsumerQueueImpl_MarkReclaimProctor ( TYPE *  queue,
NODE *  node 
)

Create a markReclaim proctor managing the specified node of the specified queue.

◆ ~SingleConsumerQueueImpl_MarkReclaimProctor()

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

Member Function Documentation

◆ release()

template<class TYPE , class 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.


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