casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
casa::PlotMSMutex Class Reference

Implementation of PlotMutex for QThreads using a QMutex. More...

#include <PlotMSThread.qo.h>

Inheritance diagram for casa::PlotMSMutex:
casa::PlotMutex

List of all members.

Public Member Functions

 PlotMSMutex ()
 Constructor.
 ~PlotMSMutex ()
 Destructor.
void lock ()
 Implements PlotMutex::lock().
void unlock ()
 Implements PlotMutex::unlock().
bool tryLock ()
 Implements PlotMutex::tryLock().

Private Attributes

QMutex itsMutex_
 Mutex.

Detailed Description

Implementation of PlotMutex for QThreads using a QMutex.

Note: this is a duplication of QPMutex in the QwtPlotter, but this is a small and simple class and its re-implementation avoids a dependency on the QwtPlotter.

Definition at line 156 of file PlotMSThread.qo.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 159 of file PlotMSThread.qo.h.

Destructor.

Definition at line 162 of file PlotMSThread.qo.h.


Member Function Documentation

void casa::PlotMSMutex::lock ( ) [inline, virtual]

Implements PlotMutex::lock().

Implements casa::PlotMutex.

Definition at line 166 of file PlotMSThread.qo.h.

References itsMutex_.

bool casa::PlotMSMutex::tryLock ( ) [inline, virtual]

Implements PlotMutex::tryLock().

Implements casa::PlotMutex.

Definition at line 172 of file PlotMSThread.qo.h.

References itsMutex_.

void casa::PlotMSMutex::unlock ( ) [inline, virtual]

Implements PlotMutex::unlock().

Implements casa::PlotMutex.

Definition at line 169 of file PlotMSThread.qo.h.

References itsMutex_.


Member Data Documentation

QMutex casa::PlotMSMutex::itsMutex_ [private]

Mutex.

Definition at line 176 of file PlotMSThread.qo.h.

Referenced by lock(), tryLock(), and unlock().


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