Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::SynchObject Class Reference

Class SynchObject documentation Defines an abstract base class for synchronisation classes like mutexes and semaphores, to be used with the lock class. More...

#include <vcf/FoundationKit/SynchObject.h>

Inheritance diagram for VCF::SynchObject:

VCF::Interface VCF::Mutex VCF::Semaphore List of all members.

Public Member Functions

virtual ~SynchObject ()
virtual bool lock ()=0
 Attempts tp lock the SynchObject and will block indefinitely till a lock is achieved.
virtual bool lock (uint32 timeoutInMilliseconds)=0
 Attempts tp lock the SynchObject and will block for timeoutInMilliseconds till a lock is achieved.
virtual bool unlock ()=0

Detailed Description

Class SynchObject documentation Defines an abstract base class for synchronisation classes like mutexes and semaphores, to be used with the lock class.


Constructor & Destructor Documentation

virtual VCF::SynchObject::~SynchObject  )  [inline, virtual]
 


Member Function Documentation

virtual bool VCF::SynchObject::lock uint32  timeoutInMilliseconds  )  [pure virtual]
 

Attempts tp lock the SynchObject and will block for timeoutInMilliseconds till a lock is achieved.

Implemented in VCF::Mutex, and VCF::Semaphore.

virtual bool VCF::SynchObject::lock  )  [pure virtual]
 

Attempts tp lock the SynchObject and will block indefinitely till a lock is achieved.

Implemented in VCF::Mutex, and VCF::Semaphore.

virtual bool VCF::SynchObject::unlock  )  [pure virtual]
 

Implemented in VCF::Mutex, and VCF::Semaphore.


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information