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

#include <CacheThread.h>

Inheritance diagram for casa::CacheThread:
casa::BackgroundThread casa::async::Thread

Public Member Functions

 CacheThread ()
 
void setLoad (bool load)
 
void setSetupPlot (bool usePlot)
 
void setPlot (PlotMSPlot *plot)
 
virtual PlotMSPlotgetPlot ()
 
void setCacheBase (PlotMSCacheBase *cacheBase)
 
void setAxes (std::vector< PMS::Axis > axes)
 
void setAxesData (int size)
 
void setAxesData (std::vector< PMS::DataColumn > cachedData)
 
void setName (casacore::String msName)
 
void setSelection (PlotMSSelection selection)
 
void setAveraging (PlotMSAveraging averaging)
 
void setTransformations (PlotMSTransformations transforms)
 
void setCalibration (PlotMSCalibration calibration)
 
virtual ~CacheThread ()
 
- Public Member Functions inherited from casa::BackgroundThread
 BackgroundThread ()
 
void setClientCommunication (ThreadCommunication *threadController)
 
bool getResult () const
 
void * run ()
 
void cancel ()
 
virtual ~BackgroundThread ()
 
- Public Member Functions inherited from casa::async::Thread
 Thread ()
 
virtual ~Thread ()
 
pthread_t getId () const
 
pid_t gettid () const
 
bool isTerminationRequested () const
 
void * join ()
 
void startThread ()
 
virtual void terminate ()
 

Protected Member Functions

virtual bool doWork ()
 
virtual void finished ()
 
- Protected Member Functions inherited from casa::BackgroundThread
virtual void cancelWork ()
 
- Protected Member Functions inherited from casa::async::Thread
bool isStarted () const
 

Private Member Functions

 CacheThread (const CacheThread &other)
 
CacheThread operator= (const CacheThread &other)
 
void handleError (casacore::String message)
 Log error, set status, and do clean up when an exception is thrown. More...
 

Private Attributes

bool itsLoad
 
bool itsSetupPlot
 
PlotMSCacheBaseitsCache
 
std::vector< PMS::Axis > workAxes
 
std::vector< PMS::DataColumn > itsAxesData
 
casacore::String itsMSName
 
PlotMSSelection itsSelection
 
PlotMSAveraging itsAveraging
 
PlotMSTransformations itsTransformations
 
PlotMSCalibration itsCalibration
 
PlotMSPlotitsPlot
 

Additional Inherited Members

- Public Types inherited from casa::async::Thread
typedef void *(* ThreadFunction )(void *)
 
- Static Protected Member Functions inherited from casa::async::Thread
static void * threadFunction (void *)
 
- Protected Attributes inherited from casa::BackgroundThread
ThreadCommunicationthreadController
 
bool result
 

Detailed Description

Definition at line 42 of file CacheThread.h.

Constructor & Destructor Documentation

casa::CacheThread::CacheThread ( )
virtual casa::CacheThread::~CacheThread ( )
virtual
casa::CacheThread::CacheThread ( const CacheThread other)
private

Member Function Documentation

virtual bool casa::CacheThread::doWork ( )
protectedvirtual
virtual void casa::CacheThread::finished ( )
inlineprotectedvirtual

Definition at line 61 of file CacheThread.h.

virtual PlotMSPlot* casa::CacheThread::getPlot ( )
virtual

Reimplemented from casa::BackgroundThread.

void casa::CacheThread::handleError ( casacore::String  message)
private

Log error, set status, and do clean up when an exception is thrown.

CacheThread casa::CacheThread::operator= ( const CacheThread other)
private
void casa::CacheThread::setAveraging ( PlotMSAveraging  averaging)
void casa::CacheThread::setAxes ( std::vector< PMS::Axis >  axes)
void casa::CacheThread::setAxesData ( int  size)
void casa::CacheThread::setAxesData ( std::vector< PMS::DataColumn >  cachedData)
void casa::CacheThread::setCacheBase ( PlotMSCacheBase cacheBase)
void casa::CacheThread::setCalibration ( PlotMSCalibration  calibration)
void casa::CacheThread::setLoad ( bool  load)
void casa::CacheThread::setName ( casacore::String  msName)
void casa::CacheThread::setPlot ( PlotMSPlot plot)
void casa::CacheThread::setSelection ( PlotMSSelection  selection)
void casa::CacheThread::setSetupPlot ( bool  usePlot)
void casa::CacheThread::setTransformations ( PlotMSTransformations  transforms)

Member Data Documentation

PlotMSAveraging casa::CacheThread::itsAveraging
private

Definition at line 77 of file CacheThread.h.

std::vector<PMS::DataColumn> casa::CacheThread::itsAxesData
private

Definition at line 74 of file CacheThread.h.

PlotMSCacheBase* casa::CacheThread::itsCache
private

Definition at line 72 of file CacheThread.h.

PlotMSCalibration casa::CacheThread::itsCalibration
private

Definition at line 79 of file CacheThread.h.

bool casa::CacheThread::itsLoad
private

Definition at line 70 of file CacheThread.h.

casacore::String casa::CacheThread::itsMSName
private

Definition at line 75 of file CacheThread.h.

PlotMSPlot* casa::CacheThread::itsPlot
private

Definition at line 80 of file CacheThread.h.

PlotMSSelection casa::CacheThread::itsSelection
private

Definition at line 76 of file CacheThread.h.

bool casa::CacheThread::itsSetupPlot
private

Definition at line 71 of file CacheThread.h.

PlotMSTransformations casa::CacheThread::itsTransformations
private

Definition at line 78 of file CacheThread.h.

std::vector<PMS::Axis> casa::CacheThread::workAxes
private

Definition at line 73 of file CacheThread.h.


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