Subclass of PlotMSThread for loading axes in a PlotMSCache. More...
#include <PlotMSCacheThread.qo.h>
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 | |
| PlotMSPlotter * | itsPlotter_ |
| Plotter. | |
| PlotMSCacheBase * | itsCache_ |
| 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 |
Subclass of PlotMSThread for loading axes in a PlotMSCache.
Definition at line 47 of file PlotMSCacheThread.qo.h.
| casa::PlotMSCacheThread::PlotMSCacheThread | ( | QtProgressWidget * | progress, | |
| PlotMSPlotter * | plotter, | |||
| PMSPTMethod | postThreadMethod = NULL, |
|||
| PMSPTObject | postThreadObject = NULL | |||
| ) |
| casa::PlotMSCacheThread::~PlotMSCacheThread | ( | ) |
Destructor.
| casa::PlotMSCacheThread::PlotMSCacheThread | ( | const PlotMSCacheThread & | other | ) | [private] |
| 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] |
Implements PlotMSThread::startOperation().
Implements casa::PlotMSThread.
| virtual void casa::PlotMSCacheThread::threadFinished | ( | ) | [protected, virtual] |
Slot for when the QThread finishes.
Reimplemented from casa::PlotMSThread.
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.
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.
unsigned int casa::PlotMSCacheThread::itsLastProgress_ [private] |
Last set progress.
Definition at line 120 of file PlotMSCacheThread.qo.h.
Referenced by setStatus().
String casa::PlotMSCacheThread::itsLastStatus_ [private] |
Last set status.
Definition at line 123 of file PlotMSCacheThread.qo.h.
Referenced by setProgress().
bool casa::PlotMSCacheThread::itsLoad_ [private] |
Load (true) or release (false) axes.
Definition at line 102 of file PlotMSCacheThread.qo.h.
String casa::PlotMSCacheThread::itsMSName_ [private] |
MS selection/averaging info.
Definition at line 111 of file PlotMSCacheThread.qo.h.
Definition at line 96 of file PlotMSCacheThread.qo.h.
Definition at line 112 of file PlotMSCacheThread.qo.h.
bool casa::PlotMSCacheThread::itsSetupPlot_ [private] |
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.
1.6.1