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 43 of file PlotOperation.h.
| casa::PlotMutex::PlotMutex | ( | ) | [inline] |
Constructor.
Definition at line 46 of file PlotOperation.h.
| virtual casa::PlotMutex::~PlotMutex | ( | ) | [inline, virtual] |
Destructor.
Definition at line 49 of file PlotOperation.h.
| virtual void casa::PlotMutex::lock | ( | ) | [pure virtual] |
ABSTRACT METHODS //.
Locks the mutex.
| 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).
| virtual void casa::PlotMutex::unlock | ( | ) | [pure virtual] |
Unlocks the mutex.
1.6.1