casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
casa::PlotMutex Class Referenceabstract

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. More...
 
virtual ~PlotMutex ()
 Destructor. More...
 
virtual void lock ()=0
 ABSTRACT METHODS //. More...
 
virtual void unlock ()=0
 Unlocks the mutex. More...
 
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). More...
 

Detailed Description

Abstract class, for a synchronization mutex specific to the threading library used by the plotting implementations.

Definition at line 43 of file PlotOperation.h.

Constructor & Destructor Documentation

casa::PlotMutex::PlotMutex ( )
inline

Constructor.

Definition at line 46 of file PlotOperation.h.

virtual casa::PlotMutex::~PlotMutex ( )
inlinevirtual

Destructor.

Definition at line 49 of file PlotOperation.h.

Member Function Documentation

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.


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