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

#include <bdlcc_singleproducersingleconsumerboundedqueue.h>

Public Member Functions

 SingleProducerSingleConsumerBoundedQueue_PopCompleteGuard (TYPE *queue, NODE *node, Uint64 index)
 
 ~SingleProducerSingleConsumerBoundedQueue_PopCompleteGuard ()
 Destroy this object and invoke the TYPE::popComplete.
 

Detailed Description

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

This class implements a guard that invokes TYPE::popComplete on a NODE upon destruction.

See bdlcc_singleproducersingleconsumerboundedqueue

Constructor & Destructor Documentation

◆ SingleProducerSingleConsumerBoundedQueue_PopCompleteGuard()

template<class TYPE , class NODE >
bdlcc::SingleProducerSingleConsumerBoundedQueue_PopCompleteGuard< TYPE, NODE >::SingleProducerSingleConsumerBoundedQueue_PopCompleteGuard ( TYPE *  queue,
NODE *  node,
Uint64  index 
)
inline

Create a guard managing the specified queue and will invoke popComplete with the specified node and index.

◆ ~SingleProducerSingleConsumerBoundedQueue_PopCompleteGuard()


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