Class Spinnaker::GenApi::CLock¶
A lock class.
#include <Synch.h>
Inherited by the following classes: Spinnaker::GenApi::CLockEx
Public Functions¶
| Type | Name |
|---|---|
| CLock () |
|
| CLock (void * pLock) |
|
| void | Lock () |
| bool | TryLock () |
| void | Unlock () |
| ~CLock () |
Protected Attributes¶
| Type | Name |
|---|---|
| bool | m_bOwnLock |
| void * | m_lock |
Public Functions Documentation¶
function CLock [1/3]¶
Constructor
function CLock [2/3]¶
Constructor
function Lock¶
enters the critical section (may block)
function TryLock¶
tries to enter the critical section; returns true if successful
function Unlock¶
leaves the critical section
function ~CLock¶
Destructor
Protected Attributes Documentation¶
variable m_bOwnLock¶
variable m_lock¶
The documentation for this class was generated from the following file C:/workspace/include/SpinGenApi/Synch.h