74 virtual std::vector<casacore::String>
getFiles()
const = 0;
88 const bool async) = 0;
156 virtual bool plot() = 0;
161 virtual bool close() = 0;
virtual std::vector< casacore::String > getFiles() const =0
Return a list of files loaded in the client.
virtual std::vector< std::vector< PMS::Axis > > getSelectedReleaseAxes() const =0
Retrieve the release axes the user has specified.
StatsData< AccumType > copy(const StatsData< AccumType > &stats)
virtual void showError(const casacore::String &message, const casacore::String &title, bool isWarning)=0
Display an error in a client dependent way.
virtual bool isActionEnabled(PlotMSAction::Type type) const =0
Returns whether or not the user can invoke a particular action.
virtual PlotMSFlagging getFlagging() const =0
Retrieve flagging information specified by the client.
virtual std::vector< PlotCanvasPtr > currentCanvases()
virtual int showAndExec(bool show=true)
virtual void releaseDrawing()
virtual bool isDrawing() const =0
virtual Type type()
Return the type enum.
virtual void setOperationCompleted(bool completed)
virtual bool exportPlot(const PlotExportFormat &format, const bool async)=0
Save the current plot to a file.
virtual void canvasAdded(PlotCanvasPtr &canvas)=0
Add a plot to those displayed.
virtual void showMessage(const casacore::String &message, const casacore::String &title, bool warning=false)=0
Display a message.
virtual void doThreadedOperation(ThreadController *controller)=0
The client is responsible for doing threaded operations.
virtual bool exportToFormat(const PlotExportFormat &format)
PlotFactoryPtr itsFactory_
Plot factory.
virtual PlotFactoryPtr getPlotFactory()
PlotterPtr itsPlotter_
Plotter.
virtual PlotSymbolPtr createSymbol(const PlotSymbolPtr ©)
Ask the client to make a deep copy of the given plot symbol.
virtual void holdDrawing()
Keeps resizes from flooding event loop (dragging).
void show(const variant &v)
virtual void setFlagging(PlotMSFlagging flag)=0
Flagging.
virtual bool allDrawingHeld() const
virtual bool isInteractive() const =0
Return whether the client is interactive (a GUI) or noninteractive (a script)
Specifies flagging parameters (including possibly flag extension) for an MS.
Type
Static // Enum for implemented actions.
virtual std::vector< std::vector< PMS::Axis > > getSelectedLoadAxes() const =0
Retrieve the plot load axes the user has specified.
virtual bool guiShown() const =0
Class for a single "plot" concept.
virtual bool isCommonAxisY() const
PlotAxis
Enum for the four plot axes.
Abstraction for the interface between the client (possibly a GUI) and the model (plot engine) that is...
virtual ThreadController * getThreadController(PlotMSAction::Type type, PMSPTMethod postThreadMethod=NULL, PlotMSPlot *postThreadObject=NULL, int index=0)=0
FactoryMethod for producing a thread controller to manage a specific type of threaded operation...
virtual PlotLoggerPtr getLogger()
Logging is client (implementation) specific so that client needs to be asked for the logger...
virtual void setAxisLocation(PlotAxis locationX, PlotAxis locationY)
virtual PlotAxis getAxisLocationX() const
virtual void setCommonAxes(bool commonX, bool commonY)
In the case of a grid of plots whether to use common x- or y- axes.
virtual void setAnnotationModeActive(PlotMSAction::Type, bool)
Use to enable annotations in the GUI client.
void PMSPTMethod(PMSPTObject, bool)
virtual bool isClosed() const =0
virtual void gridSizeChanged(int, int)=0
virtual void showGUI(bool show=true)=0
String: the storage and methods of handling collections of characters.
virtual bool isCommonAxisX() const
virtual PlotAxis getAxisLocationY() const
virtual void clearMessage()=0
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the color(i.e.,"000000"for black) and
virtual bool isVisible(PlotCanvasPtr &canvas)
Is the plot visible?
virtual void setCanvasCachedAxesStackImageSize(int width, int height)
virtual std::vector< PlotMSPlot * > getCurrentPlots() const =0
Return the current client plot.
virtual PlotterPtr getPlotter()
Get the abstraction that holds the plots.