Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

OFX::MultiThread::Mutex Class Reference

#include <ofxsMultiThread.h>

List of all members.


Detailed Description

An OFX mutex.


Public Member Functions

 Mutex (int lockCount=0)
 ctor
virtual ~Mutex (void)
 dtor
void lock ()
 lock it, blocks until lock is gained
void unlock ()
 unlock it
bool tryLock ()
 attempt to lock, non-blocking

Protected Attributes

OfxMutexHandle _handle
 The handle.


Constructor & Destructor Documentation

OFX::MultiThread::Mutex::Mutex int  lockCount = 0  ) 
 

ctor

OFX::MultiThread::Mutex::~Mutex void   )  [virtual]
 

dtor


Member Function Documentation

void OFX::MultiThread::Mutex::lock  ) 
 

lock it, blocks until lock is gained

bool OFX::MultiThread::Mutex::tryLock  ) 
 

attempt to lock, non-blocking

void OFX::MultiThread::Mutex::unlock  ) 
 

unlock it


Member Data Documentation

OfxMutexHandle OFX::MultiThread::Mutex::_handle [protected]
 

The handle.


The documentation for this class was generated from the following files:
Generated on Thu Oct 9 13:03:50 2008 for OFX Support by  doxygen 1.3.9.1