#include <ActionCache.h>
Public Member Functions | |
ActionCache (Client *client) | |
ActionCache (Client *client, std::vector< PlotMSPlot * > plots, PMSPTMethod postThreadMethod=NULL) | |
virtual | ~ActionCache () |
Protected Member Functions | |
bool | doWork () |
virtual bool | isAxesValid (std::vector< std::pair< PMS::Axis, unsigned int > > 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 Attributes | |
std::vector< PlotMSPlot * > | plots |
std::vector< std::vector < PMS::Axis > > | axes |
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 casa::ActionCache::~ActionCache | ( | ) | [virtual] |
virtual void casa::ActionCache::checkFeasibility | ( | PlotMSApp * | plotms, | |
int | plotIndex, | |||
std::vector< PMS::Axis > & | a | |||
) | const [protected, virtual] |
Reimplemented in casa::ActionCacheRelease.
virtual bool casa::ActionCache::doActionSpecific | ( | PlotMSApp * | plotms | ) | [protected, virtual] |
Implements casa::PlotMSAction.
bool casa::ActionCache::doWork | ( | ) | [protected] |
virtual bool casa::ActionCache::isAxesValid | ( | std::vector< std::pair< PMS::Axis, unsigned int > > | cacheAxes, | |
int | plotIndex, | |||
int | axisIndex | |||
) | const [protected, pure virtual] |
Implemented in casa::ActionCacheLoad, and casa::ActionCacheRelease.
virtual bool casa::ActionCache::loadAxes | ( | ) | [protected, pure virtual] |
Implemented in casa::ActionCacheLoad, and casa::ActionCacheRelease.
virtual bool casa::ActionCache::loadParameters | ( | ) | [protected, virtual] |
Reimplemented from casa::PlotMSAction.
virtual void casa::ActionCache::setUpWorkParameters | ( | CacheThread * | cacheThread, | |
int | plotIndex, | |||
std::vector< PMS::Axis > & | axes | |||
) | [protected, pure virtual] |
Implemented in casa::ActionCacheLoad, and casa::ActionCacheRelease.
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.