casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
casa::ActionCache Class Referenceabstract

#include <ActionCache.h>

Inheritance diagram for casa::ActionCache:
casa::PlotMSAction casa::ActionCacheLoad casa::ActionCacheRelease

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::StringdoActionResult () 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
 
Clientclient
 
Type itsType_
 Action type. More...
 
casacore::String itsDoActionResult_
 Result of doAction, if applicable. More...
 
ThreadControllerthreadController
 
std::vector< PlotMSPlot * > postThreadObject
 
PMSPTMethodpostThreadMethod
 

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...
 

Detailed Description

Definition at line 37 of file ActionCache.h.

Constructor & Destructor Documentation

casa::ActionCache::ActionCache ( Client client)
casa::ActionCache::ActionCache ( Client client,
std::vector< PlotMSPlot * >  plots,
PMSPTMethod  postThreadMethod = NULL 
)
virtual casa::ActionCache::~ActionCache ( )
virtual

Member Function Documentation

virtual void casa::ActionCache::checkFeasibility ( PlotMSApp plotms,
int  plotIndex,
std::vector< PMS::Axis > &  a 
) const
protectedvirtual

Reimplemented in casa::ActionCacheRelease.

virtual bool casa::ActionCache::doActionSpecific ( PlotMSApp plotms)
protectedvirtual

Implements casa::PlotMSAction.

bool casa::ActionCache::doWork ( )
protected
virtual bool casa::ActionCache::isAxesValid ( std::vector< PMS::Axis >  cacheAxes,
int  plotIndex,
int  axisIndex 
) const
protectedpure virtual
virtual bool casa::ActionCache::loadAxes ( )
protectedpure virtual
virtual bool casa::ActionCache::loadParameters ( )
protectedvirtual

Reimplemented from casa::PlotMSAction.

virtual void casa::ActionCache::setUpWorkParameters ( CacheThread cacheThread,
int  plotIndex,
std::vector< PMS::Axis > &  axes 
)
protectedpure virtual

Member Data Documentation

std::vector<std::vector<PMS::Axis> > casa::ActionCache::axes
protected

Definition at line 51 of file ActionCache.h.

std::vector<PlotMSPlot*> casa::ActionCache::plots
protected

Definition at line 50 of file ActionCache.h.


The documentation for this class was generated from the following file: