Public Member Functions | Protected Attributes | Private Member Functions | List of all members
GENICAM_NAMESPACE::CGlobalLockUnlocker Class Reference

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. More...
 
 ~CGlobalLockUnlocker ()
 

Protected Attributes

bool m_enabled
 
CGlobalLockm_Lock
 

Private Member Functions

 CGlobalLockUnlocker (const CGlobalLockUnlocker &)
 
CGlobalLockUnlockeroperator= (const CGlobalLockUnlocker &)
 

Detailed Description

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

Definition at line 288 of file GCSynch.h.

Constructor & Destructor Documentation

GENICAM_NAMESPACE::CGlobalLockUnlocker::CGlobalLockUnlocker ( CGlobalLock lock)
inline

Definition at line 295 of file GCSynch.h.

GENICAM_NAMESPACE::CGlobalLockUnlocker::~CGlobalLockUnlocker ( )
inline

Definition at line 302 of file GCSynch.h.

GENICAM_NAMESPACE::CGlobalLockUnlocker::CGlobalLockUnlocker ( const CGlobalLockUnlocker )
private

Member Function Documentation

CGlobalLockUnlocker& GENICAM_NAMESPACE::CGlobalLockUnlocker::operator= ( const CGlobalLockUnlocker )
private
void GENICAM_NAMESPACE::CGlobalLockUnlocker::UnlockEarly ( void  )
inline

This function allows to unlock the object early before the object is destroyed.

Definition at line 308 of file GCSynch.h.

Member Data Documentation

bool GENICAM_NAMESPACE::CGlobalLockUnlocker::m_enabled
protected

Definition at line 292 of file GCSynch.h.

CGlobalLock& GENICAM_NAMESPACE::CGlobalLockUnlocker::m_Lock
protected

Definition at line 291 of file GCSynch.h.


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


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Mar 17 2021 02:48:42