BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bdlcc::SingleProducerQueueImpl_PopCompleteGuard< TYPE, NODE > Class Template Reference

#include <bdlcc_singleproducerqueueimpl.h>

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 bdlcc_singleproducerqueueimpl

Constructor & Destructor Documentation

◆ SingleProducerQueueImpl_PopCompleteGuard()

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.

◆ ~SingleProducerQueueImpl_PopCompleteGuard()

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: