Spinnaker C++
2.6.0.0
Public Member Functions | Protected Attributes | List of all members
CGlobalLockUnlocker Class Reference

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

Public Member Functions

 CGlobalLockUnlocker (CGlobalLock &lock)
 
 ~CGlobalLockUnlocker ()
 
void UnlockEarly (void)
 This function allows to unlock the object early before the object is destroyed. More...
 

Protected Attributes

CGlobalLockm_Lock
 
bool m_enabled
 

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

Constructor & Destructor Documentation

CGlobalLockUnlocker ( CGlobalLock lock)
inline
~CGlobalLockUnlocker ( )
inline

Member Function Documentation

void UnlockEarly ( void  )
inline

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

Member Data Documentation

bool m_enabled
protected
CGlobalLock& m_Lock
protected

The documentation for this class was generated from the following file:
Contact Support Spinnaker® SDK Programmer's Guide and API Reference