SUMO - Simulation of Urban MObility
AbstractMutex Class Reference

An abstract class for encapsulating mutex implementations. More...

#include <AbstractMutex.h>

Inheritance diagram for AbstractMutex:
MFXMutex

Public Member Functions

 AbstractMutex ()
 Constructor.
virtual void lock ()=0
 Locks the mutex.
virtual void unlock ()=0
 Unlocks the mutex.
virtual ~AbstractMutex ()
 Destructor.

Detailed Description

An abstract class for encapsulating mutex implementations.

This class defines access to a mutex. The implementation may differ. Within gui-applications, FXMutexes may be used while this is improper for command-line applications. Normally, they do not need mutexes unless a synchronized communication with an external application is established. In these cases, a further class should be implemented.

Definition at line 48 of file AbstractMutex.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 51 of file AbstractMutex.h.

virtual AbstractMutex::~AbstractMutex ( ) [inline, virtual]

Destructor.

Definition at line 55 of file AbstractMutex.h.


Member Function Documentation


The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines