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

#include <bdlcc_boundedqueue.h>

Detailed Description

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

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

See bdlcc_boundedqueue

Public Member Functions

 BoundedQueue_PopCompleteGuard (TYPE *queue, NODE *node)
 
 ~BoundedQueue_PopCompleteGuard ()
 

Constructor & Destructor Documentation

◆ BoundedQueue_PopCompleteGuard()

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

Create a popComplete guard managing the specified queue and node.

◆ ~BoundedQueue_PopCompleteGuard()

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

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


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