Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

bdlcc::SingleConsumerQueueImpl_PopCompleteGuard< TYPE > Class Template Reference

#include <bdlcc_singleconsumerqueueimpl.h>

List of all members.

Public Member Functions

 SingleConsumerQueueImpl_PopCompleteGuard (TYPE *queue)
 ~SingleConsumerQueueImpl_PopCompleteGuard ()

Detailed Description

template<class TYPE>
class bdlcc::SingleConsumerQueueImpl_PopCompleteGuard< TYPE >

This class implements a guard that automatically invokes popComplete on the managed queue upon destruction.

See Component bdlcc_singleconsumerqueueimpl


Constructor & Destructor Documentation

template<class TYPE >
bdlcc::SingleConsumerQueueImpl_PopCompleteGuard< TYPE >::SingleConsumerQueueImpl_PopCompleteGuard ( TYPE *  queue  )  [explicit]

Create a popComplete guard managing the specified queue.

Destroy this object and invoke the popComplete method on the managed queue.


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