Public Member Functions | Private Attributes | List of all members
AVT::VmbAPI::ConditionHelper Class Reference

#include <ConditionHelper.h>

Public Member Functions

 ConditionHelper ()
 
bool EnterReadLock (BasicLockable &rLockable)
 
bool EnterReadLock (MutexPtr pMutex)
 
bool EnterWriteLock (BasicLockable &rLockable, bool bExclusive=false)
 
bool EnterWriteLock (MutexPtr pMutex, bool bExclusive=false)
 
void ExitReadLock (BasicLockable &rLockable)
 
void ExitReadLock (MutexPtr pMutex)
 
void ExitWriteLock (BasicLockable &rLockable)
 
void ExitWriteLock (MutexPtr pMutex)
 

Private Attributes

bool m_bExclusive
 
bool m_bIsWritingList
 
int m_nNumListReads
 
Condition m_ReadCondition
 
Condition m_WriteCondition
 

Detailed Description

Definition at line 39 of file ConditionHelper.h.

Constructor & Destructor Documentation

AVT::VmbAPI::ConditionHelper::ConditionHelper ( )

Definition at line 36 of file ConditionHelper.cpp.

Member Function Documentation

bool AVT::VmbAPI::ConditionHelper::EnterReadLock ( BasicLockable rLockable)

Definition at line 43 of file ConditionHelper.cpp.

bool AVT::VmbAPI::ConditionHelper::EnterReadLock ( MutexPtr  pMutex)

Definition at line 47 of file ConditionHelper.cpp.

bool AVT::VmbAPI::ConditionHelper::EnterWriteLock ( BasicLockable rLockable,
bool  bExclusive = false 
)

Definition at line 79 of file ConditionHelper.cpp.

bool AVT::VmbAPI::ConditionHelper::EnterWriteLock ( MutexPtr  pMutex,
bool  bExclusive = false 
)

Definition at line 83 of file ConditionHelper.cpp.

void AVT::VmbAPI::ConditionHelper::ExitReadLock ( BasicLockable rLockable)

Definition at line 65 of file ConditionHelper.cpp.

void AVT::VmbAPI::ConditionHelper::ExitReadLock ( MutexPtr  pMutex)

Definition at line 69 of file ConditionHelper.cpp.

void AVT::VmbAPI::ConditionHelper::ExitWriteLock ( BasicLockable rLockable)

Definition at line 106 of file ConditionHelper.cpp.

void AVT::VmbAPI::ConditionHelper::ExitWriteLock ( MutexPtr  pMutex)

Definition at line 110 of file ConditionHelper.cpp.

Member Data Documentation

bool AVT::VmbAPI::ConditionHelper::m_bExclusive
private

Definition at line 62 of file ConditionHelper.h.

bool AVT::VmbAPI::ConditionHelper::m_bIsWritingList
private

Definition at line 61 of file ConditionHelper.h.

int AVT::VmbAPI::ConditionHelper::m_nNumListReads
private

Definition at line 63 of file ConditionHelper.h.

Condition AVT::VmbAPI::ConditionHelper::m_ReadCondition
private

Definition at line 59 of file ConditionHelper.h.

Condition AVT::VmbAPI::ConditionHelper::m_WriteCondition
private

Definition at line 60 of file ConditionHelper.h.


The documentation for this class was generated from the following files:


avt_vimba_camera
Author(s): Miquel Massot , Allied Vision Technologies
autogenerated on Mon Jun 10 2019 12:50:39