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::ExportThread Class Reference

Exports a plot to a specific format in a background thread. More...

#include <ExportThread.h>

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

Public Member Functions

 ExportThread ()
 
void setExportFormat (PlotExportFormat exportFormat)
 Store the format that will be used to export the plot. More...
 
void setPlots (std::vector< PlotMSPlot * > plots)
 Store the plot to export. More...
 
virtual ~ExportThread ()
 
- Public Member Functions inherited from casa::BackgroundThread
 BackgroundThread ()
 
void setClientCommunication (ThreadCommunication *threadController)
 
bool getResult () const
 
virtual PlotMSPlotgetPlot ()
 
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 cancelWork ()
 
- Protected Member Functions inherited from casa::async::Thread
bool isStarted () const
 

Private Member Functions

 ExportThread (const ExportThread &other)
 
ExportThread operator= (const ExportThread &other)
 

Private Attributes

PlotExportFormat format
 
std::vector< PlotMSPlot * > exportPlots
 

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

Exports a plot to a specific format in a background thread.

Definition at line 41 of file ExportThread.h.

Constructor & Destructor Documentation

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

Member Function Documentation

virtual void casa::ExportThread::cancelWork ( )
protectedvirtual

Reimplemented from casa::BackgroundThread.

virtual bool casa::ExportThread::doWork ( )
protectedvirtual
ExportThread casa::ExportThread::operator= ( const ExportThread other)
private
void casa::ExportThread::setExportFormat ( PlotExportFormat  exportFormat)

Store the format that will be used to export the plot.

void casa::ExportThread::setPlots ( std::vector< PlotMSPlot * >  plots)

Store the plot to export.

Member Data Documentation

std::vector<PlotMSPlot*> casa::ExportThread::exportPlots
private

Definition at line 57 of file ExportThread.h.

PlotExportFormat casa::ExportThread::format
private

Definition at line 56 of file ExportThread.h.


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