unlocks the global lock object on destruction More...
#include <GCSynch.h>
Public Member Functions | |
| CGlobalLockUnlocker (CGlobalLock &lock) | |
| void | UnlockEarly (void) |
| This function allows to unlock the object early before the object is destroyed. | |
| ~CGlobalLockUnlocker () | |
Protected Attributes | |
| bool | m_enabled |
| CGlobalLock & | m_Lock |
Private Member Functions | |
| CGlobalLockUnlocker (const CGlobalLockUnlocker &) | |
| CGlobalLockUnlocker & | operator= (const CGlobalLockUnlocker &) |
unlocks the global lock object on destruction
This is for automatic UNLOCKING only. We can't do automatic locking here since there is no returnvalue for contructors
| GENICAM_NAMESPACE::CGlobalLockUnlocker::CGlobalLockUnlocker | ( | CGlobalLock & | lock | ) | [inline] |
| GENICAM_NAMESPACE::CGlobalLockUnlocker::CGlobalLockUnlocker | ( | const CGlobalLockUnlocker & | ) | [private] |
| CGlobalLockUnlocker& GENICAM_NAMESPACE::CGlobalLockUnlocker::operator= | ( | const CGlobalLockUnlocker & | ) | [private] |
| void GENICAM_NAMESPACE::CGlobalLockUnlocker::UnlockEarly | ( | void | ) | [inline] |