Maria GDK 5.0.0.759
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria::QueueCounter< Key >::ScopeGuard Class Reference

Use to ensure that que counter is always decremented when leaving scope Create on stack, optionally incrementing que counter. More...

#include <MQueueCounter.h>

Public Member Functions

 ScopeGuard (QueueCounter< Key > &qc, int id)
 
 ScopeGuard (const ScopeGuard &src)=delete
 
 ScopeGuard (ScopeGuard &&src)=delete
 
ScopeGuard operator= (const ScopeGuard &src)=delete
 
ScopeGuard operator= (ScopeGuard &&src)=delete
 

Detailed Description

template<typename Key = int>
class Maria::QueueCounter< Key >::ScopeGuard

Use to ensure that que counter is always decremented when leaving scope Create on stack, optionally incrementing que counter.


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