casa
$Rev:20696$
|
Abstract class, for a synchronization mutex specific to the threading library used by the plotting implementations. More...
#include <PlotOperation.h>
Public Member Functions | |
PlotMutex () | |
Constructor. | |
virtual | ~PlotMutex () |
Destructor. | |
virtual void | lock ()=0 |
ABSTRACT METHODS //. | |
virtual void | unlock ()=0 |
Unlocks the mutex. | |
virtual bool | tryLock ()=0 |
Tries to lock the mutex, and returns immediately with either true for success (mutex is now locked), or false (mutex is unavailable). |
Abstract class, for a synchronization mutex specific to the threading library used by the plotting implementations.
Definition at line 46 of file PlotOperation.h.
casa::PlotMutex::PlotMutex | ( | ) | [inline] |
Constructor.
Definition at line 49 of file PlotOperation.h.
virtual casa::PlotMutex::~PlotMutex | ( | ) | [inline, virtual] |
Destructor.
Definition at line 52 of file PlotOperation.h.
virtual void casa::PlotMutex::lock | ( | ) | [pure virtual] |
virtual bool casa::PlotMutex::tryLock | ( | ) | [pure virtual] |
Tries to lock the mutex, and returns immediately with either true for success (mutex is now locked), or false (mutex is unavailable).
Implemented in casa::PlotMSMutex.
virtual void casa::PlotMutex::unlock | ( | ) | [pure virtual] |
Unlocks the mutex.
Implemented in casa::PlotMSMutex.