SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MFXMutex Class Reference

#include <MFXMutex.h>

Inheritance diagram for MFXMutex:
AbstractMutex

Public Member Functions

void lock ()
 lock mutex
FXbool locked ()
 MFXMutex ()
 create me a mutex :-)
void unlock ()
 release mutex lock
virtual ~MFXMutex ()
 dtor

Protected Attributes

FXuint lock_

Private Member Functions

 MFXMutex (const MFXMutex &)
MFXMutexoperator= (const MFXMutex &)

Private Attributes

FXThreadMutex mutexHandle

Detailed Description

Recursive mutual exclusion object. Unlocks on destruction

Definition at line 56 of file MFXMutex.h.

Constructor & Destructor Documentation

MFXMutex::MFXMutex ( )

create me a mutex :-)

Definition at line 50 of file MFXMutex.cpp.

References mutexHandle.

MFXMutex::~MFXMutex ( )
virtual

dtor

Definition at line 72 of file MFXMutex.cpp.

References lock_, and mutexHandle.

MFXMutex::MFXMutex ( const MFXMutex )
private

Member Function Documentation

MFXMutex& MFXMutex::operator= ( const MFXMutex )
private

Field Documentation

FXuint MFXMutex::lock_
protected

Definition at line 75 of file MFXMutex.h.

Referenced by lock(), locked(), unlock(), and ~MFXMutex().

FXThreadMutex MFXMutex::mutexHandle
private

Definition at line 78 of file MFXMutex.h.

Referenced by lock(), MFXMutex(), unlock(), and ~MFXMutex().


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