casa
5.7.0-16
|
#include <ActionCache.h>
Public Member Functions | |
ActionCache (Client *client) | |
ActionCache (Client *client, std::vector< PlotMSPlot * > plots, PMSPTMethod postThreadMethod=NULL) | |
virtual | ~ActionCache () |
Public Member Functions inherited from casa::PlotMSAction | |
PlotMSAction (Client *client, PMSPTMethod postThreadMethod=NULL, std::vector< PlotMSPlot * > postThreadObject=std::vector< PlotMSPlot * >()) | |
Non-Static //. More... | |
virtual | ~PlotMSAction () |
Destructor. More... | |
bool | doAction (PlotMSApp *plotms) |
Performs the action, using the given PlotMSApp, and returns true for success or false or failure. More... | |
void | setUseThreading (bool useThread) |
virtual bool | doActionWithResponse (PlotMSApp *plotms, casacore::Record &retval) |
const casacore::String & | doActionResult () const |
Returns the result of doAction(), if applicable. More... | |
Protected Member Functions | |
bool | doWork () |
virtual bool | isAxesValid (std::vector< PMS::Axis > cacheAxes, int plotIndex, int axisIndex) const =0 |
virtual bool | loadParameters () |
virtual bool | loadAxes ()=0 |
virtual void | checkFeasibility (PlotMSApp *plotms, int plotIndex, std::vector< PMS::Axis > &a) const |
virtual void | setUpWorkParameters (CacheThread *cacheThread, int plotIndex, std::vector< PMS::Axis > &axes)=0 |
virtual bool | doActionSpecific (PlotMSApp *plotms) |
Protected Member Functions inherited from casa::PlotMSAction | |
void | setUpClientCommunication (BackgroundThread *thread, int index) |
bool | initiateWork (BackgroundThread *thread) |
Protected Attributes | |
std::vector< PlotMSPlot * > | plots |
std::vector< std::vector < PMS::Axis > > | axes |
Protected Attributes inherited from casa::PlotMSAction | |
bool | useThreading |
Client * | client |
Type | itsType_ |
Action type. More... | |
casacore::String | itsDoActionResult_ |
Result of doAction, if applicable. More... | |
ThreadController * | threadController |
std::vector< PlotMSPlot * > | postThreadObject |
PMSPTMethod * | postThreadMethod |
Additional Inherited Members | |
Public Types inherited from casa::PlotMSAction | |
enum | Type { SEL_FLAG, SEL_UNFLAG, SEL_LOCATE, SEL_INFO, SEL_CLEAR_REGIONS, ITER_FIRST, ITER_PREV, ITER_NEXT, ITER_LAST, TOOL_MARK_REGIONS, TOOL_SUBTRACT_REGIONS, TOOL_ZOOM, TOOL_PAN, TOOL_ANNOTATE_TEXT, TOOL_ANNOTATE_RECTANGLE, TOOL_FLAG_ALL, TRACKER_ENABLE_HOVER, TRACKER_ENABLE_DISPLAY, STACK_BACK, STACK_BASE, STACK_FORWARD, CACHE_LOAD, CACHE_RELEASE, MS_SUMMARY, SUMMARY_DIALOG, PLOT, PLOT_EXPORT, EXPORT_DIALOG, HOLD_RELEASE_DRAWING, CLEAR_PLOTTER, QUIT, OPEN } |
Static // Enum for implemented actions. More... | |
Definition at line 37 of file ActionCache.h.
casa::ActionCache::ActionCache | ( | Client * | client | ) |
casa::ActionCache::ActionCache | ( | Client * | client, |
std::vector< PlotMSPlot * > | plots, | ||
PMSPTMethod | postThreadMethod = NULL |
||
) |
|
virtual |
|
protectedvirtual |
Reimplemented in casa::ActionCacheRelease.
|
protectedvirtual |
Implements casa::PlotMSAction.
|
protected |
|
protectedpure virtual |
Implemented in casa::ActionCacheLoad, and casa::ActionCacheRelease.
|
protectedpure virtual |
Implemented in casa::ActionCacheLoad, and casa::ActionCacheRelease.
|
protectedvirtual |
Reimplemented from casa::PlotMSAction.
|
protectedpure virtual |
Implemented in casa::ActionCacheLoad, and casa::ActionCacheRelease.
|
protected |
Definition at line 51 of file ActionCache.h.
|
protected |
Definition at line 50 of file ActionCache.h.