DABC (Data Acquisition Backbone Core)
2.9.9
|
Guard for integer value. More...
#include <dabc/threads.h>
Public Member Functions | |
IntGuard (const int &value) | |
IntGuard (const int *value) | |
int * | ptr () |
~IntGuard () | |
Private Attributes | |
int * | fInt |
Guard for integer value.
Analog to dabc::LockGuard. Increase int value in constructor and decrease it at the time when guard is destroyed.