Skip to content

Class Spinnaker::GenApi::CLock

ClassList > 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]

GenApi::CLock::CLock () 

Constructor


function CLock [2/3]

GenApi::CLock::CLock (
    void * pLock
) 

Constructor


function Lock

void GenApi::CLock::Lock () 

enters the critical section (may block)


function TryLock

bool GenApi::CLock::TryLock () 

tries to enter the critical section; returns true if successful


function Unlock

void GenApi::CLock::Unlock () 

leaves the critical section


function ~CLock

GenApi::CLock::~CLock () 

Destructor


Protected Attributes Documentation

variable m_bOwnLock

bool Spinnaker::GenApi::CLock::m_bOwnLock;

variable m_lock

void* Spinnaker::GenApi::CLock::m_lock;


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