Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members

trtMutex Class Reference

#include <trtmutex.h>

Inheritance diagram for trtMutex:

osMutex List of all members.

Public Member Functions

 trtMutex (bool locked=false)
void lock ()
void unlock ()

Private Attributes

trtSemaphore sema

Constructor & Destructor Documentation

trtMutex::trtMutex bool  locked = false  ) 
 

Definition at line 14 of file trtmutex.cc.


Member Function Documentation

void trtMutex::lock  )  [virtual]
 

Implements osMutex.

Definition at line 18 of file trtmutex.cc.

References sema, and trtSemaphore::wait().

void trtMutex::unlock  )  [virtual]
 

Implements osMutex.

Definition at line 23 of file trtmutex.cc.

References sema, and trtSemaphore::signal().


Member Data Documentation

trtSemaphore trtMutex::sema [private]
 

Definition at line 28 of file trtmutex.h.

Referenced by lock(), and unlock().


The documentation for this class was generated from the following files:
Generated on Wed Feb 15 14:52:41 2006 for yapi by doxygen 1.3.2