27 #ifndef PLOTMSCACHETHREAD_QO_H_
28 #define PLOTMSCACHETHREAD_QO_H_
43 class PlotMSCacheBase;
71 virtual QString
getName()
const;
virtual void cancelOperation()
Specifies averaging parameters for an MS.
virtual void postThreadMethod()
Executes the post-thread method as needed.
PlotMSCacheThread operator=(const PlotMSCacheThread &other)
PlotMSAveraging itsAveraging_
PlotMSSelection itsSelection_
Specifies an casacore::MS selection.
PlotMSCacheBase * itsCache_
Data.
PlotMSCacheThread(QtProgressWidget *progress, PlotMSPlotter *plotter, PMSPTMethod postThreadMethod=NULL, PMSPTObject postThreadObject=NULL)
void * PMSPTObject
Typedefs for using post-thread methods.
casacore::String itsMSName_
casacore::MS selection/averaging info
std::vector< PMS::DataColumn > itsAxesData_
Axes data columns.
bool itsSetupPlot_
Whether to set up the cache afterwards.
friend class PlotMSCacheThreadHelper
virtual QString getName() const
casacore::String itsLastStatus_
Last set status.
void setProgress(unsigned int progress)
Allows the cache to set the progress.
PlotMSPlotter * itsPlotter_
Plotter.
PlotMSTransformations itsTransformations_
Abstract class to control a threaded operation from the GUI.
void PMSPTMethod(PMSPTObject, bool)
virtual bool isCacheThread() const
virtual void threadFinished()
Slot for when the QThread finishes.
~PlotMSCacheThread()
Destructor.
virtual void startOperation()
Implements PlotMSThread::startOperation().
ABSTRACT CLASSES Deliberately vague to be general enough to allow for many different types of but is it too vague to be useful Since the interface is meant to be a simple plotter
String: the storage and methods of handling collections of characters.
std::vector< PMS::Axis > itsAxes_
Axes.
High(ish)-level plotter class that manages the GUI (semi-) transparently to the rest of PlotMS...
bool itsLoad_
Load (true) or release (false) axes.
void setStatus(const casacore::String &status)
Allows the cache to set the status.
void setProgressAndStatus(unsigned int progress, const casacore::String &status)
Allows the cache to set the progress and the status.
Subclass of PlotMSThread for loading axes in a PlotMSCache.
unsigned int itsLastProgress_
Last set progress.