casa::BackgroundThread Class Reference

Manages a thread to do a background operation and communicates back to its controller with regard to work status. More...

#include <BackgroundThread.h>

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

List of all members.

Public Member Functions

 BackgroundThread ()
void setClientCommunication (ThreadCommunication *threadController)
bool getResult () const
virtual PlotMSPlotgetPlot ()
void * run ()
void cancel ()
virtual ~BackgroundThread ()

Protected Member Functions

virtual void cancelWork ()
virtual bool doWork ()=0

Protected Attributes

ThreadCommunicationthreadController
bool result

Private Member Functions

 BackgroundThread (const BackgroundThread &other)

Detailed Description

Manages a thread to do a background operation and communicates back to its controller with regard to work status.

Definition at line 40 of file BackgroundThread.h.


Constructor & Destructor Documentation

casa::BackgroundThread::BackgroundThread (  ) 
virtual casa::BackgroundThread::~BackgroundThread (  )  [virtual]
casa::BackgroundThread::BackgroundThread ( const BackgroundThread other  )  [private]

Member Function Documentation

void casa::BackgroundThread::cancel (  ) 
virtual void casa::BackgroundThread::cancelWork (  )  [protected, virtual]

Reimplemented in casa::ExportThread.

virtual bool casa::BackgroundThread::doWork (  )  [protected, pure virtual]

Implemented in casa::CacheThread, and casa::ExportThread.

virtual PlotMSPlot* casa::BackgroundThread::getPlot (  )  [virtual]

Reimplemented in casa::CacheThread.

bool casa::BackgroundThread::getResult (  )  const
void* casa::BackgroundThread::run (  )  [virtual]

Implements casa::async::Thread.

void casa::BackgroundThread::setClientCommunication ( ThreadCommunication threadController  ) 

Member Data Documentation

Definition at line 53 of file BackgroundThread.h.

Definition at line 52 of file BackgroundThread.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1