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 > > 
- Protected Attributes inherited from casa::PlotMSAction
bool useThreading
Type itsType_
 Action type. More...
casacore::String itsDoActionResult_
 Result of doAction, if applicable. More...
std::vector< PlotMSPlot * > postThreadObject

Additional Inherited Members

- Public Types inherited from casa::PlotMSAction
enum  Type {
 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 ( )

Member Function Documentation

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

Reimplemented in casa::ActionCacheRelease.

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

Implements casa::PlotMSAction.

bool casa::ActionCache::doWork ( )
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 ( )

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

Definition at line 51 of file ActionCache.h.

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

Definition at line 50 of file ActionCache.h.

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