Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

bdlcc::SingleConsumerQueueImpl_AllocateLockGuard< TYPE > Class Template Reference

#include <bdlcc_singleconsumerqueueimpl.h>

List of all members.

Public Member Functions

 SingleConsumerQueueImpl_AllocateLockGuard (TYPE *queue)
 ~SingleConsumerQueueImpl_AllocateLockGuard ()

Detailed Description

template<class TYPE>
class bdlcc::SingleConsumerQueueImpl_AllocateLockGuard< TYPE >

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

See Component bdlcc_singleconsumerqueueimpl


Constructor & Destructor Documentation

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

Create a releaseAllocateLock guard managing the specified queue.

Destroy this object and invoke the managed queue's releaseAllocateLock method.


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