A lock class. More...
#include <GCSynch.h>
Public Member Functions | |
CLock () | |
Constructor. | |
void | Lock () |
enters the critical section (may block) | |
bool | TryLock () |
tries to enter the critical section; returns true if successful | |
void | Unlock () |
leaves the critical section | |
~CLock () | |
Destructor. | |
Private Member Functions | |
CLock (const CLock &) | |
no copy constructor | |
CLock & | operator= (const CLock &) |
no assignment operator |
Constructor.
Destructor.
GENICAM_NAMESPACE::CLock::CLock | ( | const CLock & | ) | [private] |
no copy constructor
void GENICAM_NAMESPACE::CLock::Lock | ( | ) |
enters the critical section (may block)
bool GENICAM_NAMESPACE::CLock::TryLock | ( | ) |
tries to enter the critical section; returns true if successful
void GENICAM_NAMESPACE::CLock::Unlock | ( | ) |
leaves the critical section