Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

bdlcc::SingleConsumerQueueImpl_MarkReclaimProctor< TYPE, NODE > Class Template Reference

#include <bdlcc_singleconsumerqueueimpl.h>

List of all members.

Public Member Functions

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

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 Component bdlcc_singleconsumerqueueimpl


Constructor & Destructor Documentation

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.

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


Member Function Documentation

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: