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

#include <bdlcc_singleconsumerqueueimpl.h>

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 bdlcc_singleconsumerqueueimpl

Public Member Functions

 SingleConsumerQueueImpl_AllocateLockGuard (TYPE *queue)
 
 ~SingleConsumerQueueImpl_AllocateLockGuard ()
 

Constructor & Destructor Documentation

◆ SingleConsumerQueueImpl_AllocateLockGuard()

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

Create a releaseAllocateLock guard managing the specified queue.

◆ ~SingleConsumerQueueImpl_AllocateLockGuard()

Destroy this object and invoke the managed queue's.


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