cmlabs::WriteAccessMutex Class Reference

#include <JSemaphore.h>

Inheritance diagram for cmlabs::WriteAccessMutex:

Inheritance graph
[legend]
Collaboration diagram for cmlabs::WriteAccessMutex:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 WriteAccessMutex ()
 ~WriteAccessMutex ()
Objectclone () const
bool gainReadAccess (long ms=-1)
bool releaseReadAccess ()
bool gainWriteAccess (long ms=-1)
bool releaseWriteAccess ()

Private Attributes

int currentReadCount
JMutex accessMutex


Detailed Description

Definition at line 131 of file JSemaphore.h.


Constructor & Destructor Documentation

cmlabs::WriteAccessMutex::WriteAccessMutex (  ) 

Definition at line 61 of file JSemaphore.cpp.

cmlabs::WriteAccessMutex::~WriteAccessMutex (  ) 

Definition at line 65 of file JSemaphore.cpp.


Member Function Documentation

Object* cmlabs::WriteAccessMutex::clone (  )  const [virtual]

Implements cmlabs::Object.

Definition at line 136 of file JSemaphore.h.

bool cmlabs::WriteAccessMutex::gainReadAccess ( long  ms = -1  ) 

Definition at line 69 of file JSemaphore.cpp.

bool cmlabs::WriteAccessMutex::releaseReadAccess (  ) 

Definition at line 77 of file JSemaphore.cpp.

bool cmlabs::WriteAccessMutex::gainWriteAccess ( long  ms = -1  ) 

Definition at line 86 of file JSemaphore.cpp.

bool cmlabs::WriteAccessMutex::releaseWriteAccess (  ) 

Definition at line 116 of file JSemaphore.cpp.


Member Data Documentation

Definition at line 146 of file JSemaphore.h.

Definition at line 147 of file JSemaphore.h.


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

Generated on Tue Jul 7 16:22:48 2009 for CoreLibrary by  doxygen 1.5.6