27 #ifndef PLOTMSEXPORTTHREAD_QO_H_
28 #define PLOTMSEXPORTTHREAD_QO_H_
67 virtual QString
getName()
const;
virtual void postThreadMethod()
Executes the post-thread method as needed.
std::vector< PlotMSPlot * > itsPlots_
Plot.
Simple object to synchronize operation progress information across threads.
PlotMSExportThread operator=(const PlotMSExportThread &other)
virtual void startOperation()
Implements PlotMSThread::startOperation().
void * PMSPTObject
Typedefs for using post-thread methods.
Abstract interface for any object that wants to watch a PlotOperation object for changes.
Subclass of PlotMSThread for exporting a plot.
PlotMSExportThread(QtProgressWidget *widget, PlotMSPlotter *plotter, const casacore::String &location, PMSPTMethod postThreadMethod=NULL, PMSPTObject postThreadObject=NULL)
Constructor which takes the plot to export, the export format parameters, and optional post-thread me...
~PlotMSExportThread()
Destructor.
virtual void threadFinished()
Slot for when the QThread finishes.
virtual void cancel()
For when the user requests "cancel" for the thread.
virtual QString getName() const
Abstract class to control a threaded operation from the GUI.
void PMSPTMethod(PMSPTObject, bool)
casacore::String exportLocation
Format.
std::vector< std::vector< PlotOperationPtr > > itsOperations_
Export operations.
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.
High(ish)-level plotter class that manages the GUI (semi-) transparently to the rest of PlotMS...
void operationChanged(const PlotOperation &operation)
Implements PlotOperationWatcher::operationChanged().
PlotMSPlotter * itsPlotter_