casa::PlotMSCacheThread Class Reference

Subclass of PlotMSThread for loading axes in a PlotMSCache. More...

#include <PlotMSCacheThread.qo.h>

Inheritance diagram for casa::PlotMSCacheThread:
casa::PlotMSThread casa::ThreadController casa::ThreadCommunication

List of all members.

Public Member Functions

 PlotMSCacheThread (QtProgressWidget *progress, PlotMSPlotter *plotter, PMSPTMethod postThreadMethod=NULL, PMSPTObject postThreadObject=NULL)
 ~PlotMSCacheThread ()
 Destructor.
virtual void startOperation ()
 Implements PlotMSThread::startOperation().
virtual void cancelOperation ()
virtual QString getName () const
virtual bool isCacheThread () const

Protected Member Functions

void setProgress (unsigned int progress)
 Allows the cache to set the progress.
void setStatus (const String &status)
 Allows the cache to set the status.
void setProgressAndStatus (unsigned int progress, const String &status)
 Allows the cache to set the progress and the status.
virtual void threadFinished ()
 Slot for when the QThread finishes.

Private Member Functions

 PlotMSCacheThread (const PlotMSCacheThread &other)
PlotMSCacheThread operator= (const PlotMSCacheThread &other)

Private Attributes

PlotMSPlotteritsPlotter_
 Plotter.
PlotMSCacheBaseitsCache_
 Data.
bool itsLoad_
 Load (true) or release (false) axes.
std::vector< PMS::Axis > itsAxes_
 Axes.
std::vector< PMS::DataColumn > itsAxesData_
 Axes data columns.
String itsMSName_
 MS selection/averaging info.
PlotMSSelection itsSelection_
PlotMSAveraging itsAveraging_
PlotMSTransformations itsTransformations_
bool itsSetupPlot_
 Whether to set up the cache afterwards.
unsigned int itsLastProgress_
 Last set progress.
String itsLastStatus_
 Last set status.

Friends

class PlotMSCacheBase
class MSCache
class CalCache
class PlotMSCacheThreadHelper

Detailed Description

Subclass of PlotMSThread for loading axes in a PlotMSCache.

Definition at line 47 of file PlotMSCacheThread.qo.h.


Constructor & Destructor Documentation

casa::PlotMSCacheThread::PlotMSCacheThread ( QtProgressWidget progress,
PlotMSPlotter plotter,
PMSPTMethod  postThreadMethod = NULL,
PMSPTObject  postThreadObject = NULL 
)
casa::PlotMSCacheThread::~PlotMSCacheThread (  ) 

Destructor.

casa::PlotMSCacheThread::PlotMSCacheThread ( const PlotMSCacheThread other  )  [private]

Member Function Documentation

virtual void casa::PlotMSCacheThread::cancelOperation (  )  [virtual]
virtual QString casa::PlotMSCacheThread::getName (  )  const [virtual]

Implements casa::PlotMSThread.

virtual bool casa::PlotMSCacheThread::isCacheThread (  )  const [virtual]

Reimplemented from casa::PlotMSThread.

PlotMSCacheThread casa::PlotMSCacheThread::operator= ( const PlotMSCacheThread other  )  [private]

Reimplemented from casa::ThreadController.

void casa::PlotMSCacheThread::setProgress ( unsigned int  progress  )  [inline, protected, virtual]

Allows the cache to set the progress.

Reimplemented from casa::ThreadController.

Definition at line 78 of file PlotMSCacheThread.qo.h.

References itsLastStatus_, and setProgressAndStatus().

void casa::PlotMSCacheThread::setProgressAndStatus ( unsigned int  progress,
const String &  status 
) [protected]

Allows the cache to set the progress and the status.

Referenced by setProgress(), and setStatus().

void casa::PlotMSCacheThread::setStatus ( const String &  status  )  [inline, protected, virtual]

Allows the cache to set the status.

Reimplemented from casa::ThreadController.

Definition at line 82 of file PlotMSCacheThread.qo.h.

References itsLastProgress_, and setProgressAndStatus().

virtual void casa::PlotMSCacheThread::startOperation (  )  [virtual]
virtual void casa::PlotMSCacheThread::threadFinished (  )  [protected, virtual]

Slot for when the QThread finishes.

Reimplemented from casa::PlotMSThread.


Friends And Related Function Documentation

friend class CalCache [friend]

Definition at line 53 of file PlotMSCacheThread.qo.h.

friend class MSCache [friend]

Definition at line 52 of file PlotMSCacheThread.qo.h.

friend class PlotMSCacheBase [friend]

Definition at line 51 of file PlotMSCacheThread.qo.h.

friend class PlotMSCacheThreadHelper [friend]

Definition at line 54 of file PlotMSCacheThread.qo.h.


Member Data Documentation

Definition at line 113 of file PlotMSCacheThread.qo.h.

std::vector<PMS::Axis> casa::PlotMSCacheThread::itsAxes_ [private]

Axes.

Definition at line 105 of file PlotMSCacheThread.qo.h.

std::vector<PMS::DataColumn> casa::PlotMSCacheThread::itsAxesData_ [private]

Axes data columns.

Definition at line 108 of file PlotMSCacheThread.qo.h.

Data.

Definition at line 99 of file PlotMSCacheThread.qo.h.

Last set progress.

Definition at line 120 of file PlotMSCacheThread.qo.h.

Referenced by setStatus().

Last set status.

Definition at line 123 of file PlotMSCacheThread.qo.h.

Referenced by setProgress().

Load (true) or release (false) axes.

Definition at line 102 of file PlotMSCacheThread.qo.h.

MS selection/averaging info.

Definition at line 111 of file PlotMSCacheThread.qo.h.

Plotter.

Definition at line 96 of file PlotMSCacheThread.qo.h.

Definition at line 112 of file PlotMSCacheThread.qo.h.

Whether to set up the cache afterwards.

Definition at line 117 of file PlotMSCacheThread.qo.h.

Definition at line 114 of file PlotMSCacheThread.qo.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1