Skip to content

Class Spinnaker::GenICam::CGlobalLockUnlocker

ClassList > GenICam > CGlobalLockUnlocker

Unlocks the global lock object on destruction. More...

  • #include <GCSynch.h>

Public Functions

Type Name
CGlobalLockUnlocker (CGlobalLock & lock)
void UnlockEarly (void)
~CGlobalLockUnlocker ()

Protected Attributes

Type Name
CGlobalLock & m_Lock
bool m_enabled

Detailed Description

This is for automatic UNLOCKING only. We can't do automatic locking here since there is no returnvalue for contructors

Public Functions Documentation

function CGlobalLockUnlocker [1/2]

inline GenICam::CGlobalLockUnlocker::CGlobalLockUnlocker (
    CGlobalLock & lock
) 

function UnlockEarly

inline void GenICam::CGlobalLockUnlocker::UnlockEarly (
    void
) 

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


function ~CGlobalLockUnlocker

inline GenICam::CGlobalLockUnlocker::~CGlobalLockUnlocker () 

Protected Attributes Documentation

variable m_Lock

CGlobalLock& Spinnaker::GenICam::CGlobalLockUnlocker::m_Lock;

variable m_enabled

bool Spinnaker::GenICam::CGlobalLockUnlocker::m_enabled;


The documentation for this class was generated from the following file /workspace/include/SpinGenApi/GCSynch.h