Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

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

#include <bdlcc_singleproducerqueueimpl.h>

List of all members.

Public Member Functions

 SingleProducerQueueImpl_PopCompleteGuard (TYPE *queue, NODE *node, bool isEmpty)
 ~SingleProducerQueueImpl_PopCompleteGuard ()

Detailed Description

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

This class implements a guard automatically invokes popComplete on a NODE upon destruction.

See Component bdlcc_singleproducerqueueimpl


Constructor & Destructor Documentation

template<class TYPE , class NODE >
bdlcc::SingleProducerQueueImpl_PopCompleteGuard< TYPE, NODE >::SingleProducerQueueImpl_PopCompleteGuard ( TYPE *  queue,
NODE *  node,
bool  isEmpty 
)

Create a popComplete guard managing the specified queue and node that will cause the empty condition to be signalled if the specified isEmpty is true.

template<class TYPE , class NODE >
bdlcc::SingleProducerQueueImpl_PopCompleteGuard< TYPE, NODE >::~SingleProducerQueueImpl_PopCompleteGuard (  ) 

Destroy this object and invoke the TYPE::popComplete method with the managed node.


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