All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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

◆ CGlobalLockUnlocker() [1/2]

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

Definition at line 295 of file GCSynch.h.

◆ ~CGlobalLockUnlocker()

GENICAM_NAMESPACE::CGlobalLockUnlocker::~CGlobalLockUnlocker ( )
inline

Definition at line 302 of file GCSynch.h.

◆ CGlobalLockUnlocker() [2/2]

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

Member Function Documentation

◆ operator=()

CGlobalLockUnlocker& GENICAM_NAMESPACE::CGlobalLockUnlocker::operator= ( const CGlobalLockUnlocker )
private

◆ UnlockEarly()

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

◆ m_enabled

bool GENICAM_NAMESPACE::CGlobalLockUnlocker::m_enabled
protected

Definition at line 292 of file GCSynch.h.

◆ m_Lock

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 Dec 4 2024 03:10:13