zeus::TMutex Class Reference
#include <Mutex.h>
List of all members.
Detailed Description
Implementation of a mutex. For Linux systems this is similar to the critical section which is implemented using mutex as well.
Constructor & Destructor Documentation
Creates a named mutex
- Parameters:
-
| rName | : Name of the mutex |
| TMutex::TMutex |
( |
const TString & |
rName, |
|
|
bool |
bOpenExisting = false | |
|
) |
| | |
Creates a named mutex
- Parameters:
-
| rName | : Name of the mutex |
| bOpenExisting | : Opens the mutex only if it exists already |
| TMutex::~TMutex |
( |
|
) |
[protected, virtual] |
Member Function Documentation
| bool TMutex::existedAlready |
( |
|
) |
const |
checks if the mutex already existed
| bool TMutex::hasError |
( |
|
) |
const |
returns true if the semaphore has an error
| bool TMutex::isLocked |
( |
|
) |
const |
Tests if the semaphore is locked
| bool TMutex::isNamed |
( |
|
) |
const |
returns true if the object has been named
| bool TMutex::isValid |
( |
|
) |
const |
Checks if the mutex is valid
| void MQUALIFIER TMutex::enter |
( |
|
) |
[virtual] |
| void MQUALIFIER TMutex::leave |
( |
|
) |
[virtual] |
| virtual Retval MQUALIFIER zeus::TMutex::askForInterface |
( |
Uint |
uiInterfaceID, |
|
|
IZUnknown *& |
rpIface | |
|
) |
| | [virtual] |
| virtual void MQUALIFIER zeus::TMutex::addRef |
( |
|
) |
const [virtual] |
| virtual void MQUALIFIER zeus::TMutex::release |
( |
|
) |
const [virtual] |
The documentation for this class was generated from the following files: