#include <AbstractMutex.h>

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 46 of file AbstractMutex.h.
Public Member Functions | |
| AbstractMutex () | |
| Constructor. | |
| virtual void | lock ()=0 |
| Locks the mutex. | |
| virtual void | unlock ()=0 |
| Unlocks the mutex. | |
| virtual | ~AbstractMutex () |
| Destructor. | |
| AbstractMutex::AbstractMutex | ( | ) | [inline] |
| virtual AbstractMutex::~AbstractMutex | ( | ) | [inline, virtual] |
| virtual void AbstractMutex::lock | ( | ) | [pure virtual] |
Locks the mutex.
Implemented in MFXMutex.
Referenced by MsgHandler::addRetriever(), MsgHandler::beginProcessMsg(), MsgHandler::cleanupOnEnd(), MsgHandler::clear(), MsgHandler::endProcessMsg(), MsgHandler::inform(), MsgHandler::progressMsg(), MsgHandler::removeRetriever(), MsgHandler::report2cerr(), and MsgHandler::report2cout().
| virtual void AbstractMutex::unlock | ( | ) | [pure virtual] |
Unlocks the mutex.
Implemented in MFXMutex.
Referenced by MsgHandler::addRetriever(), MsgHandler::beginProcessMsg(), MsgHandler::cleanupOnEnd(), MsgHandler::clear(), MsgHandler::endProcessMsg(), MsgHandler::inform(), MsgHandler::progressMsg(), MsgHandler::removeRetriever(), MsgHandler::report2cerr(), and MsgHandler::report2cout().
1.5.6