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

Responsible for running the search algorithm in the background so that we don't freeze the GUI. More...

#include <SearchMoleculesWidget.qo.h>

Inheritance diagram for casa::SearchThread:

Public Member Functions

 SearchThread (Searcher *searcher, int offset)
 
casacore::String getErrorMessage () const
 
casacore::String getErrorMessageCount () const
 
void setCountNeeded (bool needed)
 
long getResultsCount () const
 
std::vector< SplatResultgetResults () const
 
void stopSearch ()
 
void run ()
 
 ~SearchThread ()
 

Private Attributes

Searchersearcher
 
int searchResultsCount
 
int offset
 
bool countNeeded
 
std::vector< SplatResultsearchResults
 
string errorMsg
 
string errorMsgCount
 

Detailed Description

Responsible for running the search algorithm in the background so that we don't freeze the GUI.

Definition at line 53 of file SearchMoleculesWidget.qo.h.

Constructor & Destructor Documentation

casa::SearchThread::SearchThread ( Searcher searcher,
int  offset 
)
inline

Definition at line 55 of file SearchMoleculesWidget.qo.h.

References countNeeded, offset, and searcher.

casa::SearchThread::~SearchThread ( )
inline

Definition at line 93 of file SearchMoleculesWidget.qo.h.

Member Function Documentation

casacore::String casa::SearchThread::getErrorMessage ( ) const
inline

Definition at line 60 of file SearchMoleculesWidget.qo.h.

References errorMsg.

casacore::String casa::SearchThread::getErrorMessageCount ( ) const
inline

Definition at line 63 of file SearchMoleculesWidget.qo.h.

References errorMsgCount.

std::vector<SplatResult> casa::SearchThread::getResults ( ) const
inline

Definition at line 75 of file SearchMoleculesWidget.qo.h.

References searchResults.

long casa::SearchThread::getResultsCount ( ) const
inline

Definition at line 71 of file SearchMoleculesWidget.qo.h.

References searchResultsCount.

void casa::SearchThread::run ( )
inline
void casa::SearchThread::setCountNeeded ( bool  needed)
inline

Definition at line 67 of file SearchMoleculesWidget.qo.h.

References countNeeded.

void casa::SearchThread::stopSearch ( )
inline

Definition at line 79 of file SearchMoleculesWidget.qo.h.

References searcher, and casa::Searcher::stopSearch().

Member Data Documentation

bool casa::SearchThread::countNeeded
private

Definition at line 99 of file SearchMoleculesWidget.qo.h.

Referenced by run(), SearchThread(), and setCountNeeded().

string casa::SearchThread::errorMsg
private

Definition at line 101 of file SearchMoleculesWidget.qo.h.

Referenced by getErrorMessage(), and run().

string casa::SearchThread::errorMsgCount
private

Definition at line 102 of file SearchMoleculesWidget.qo.h.

Referenced by getErrorMessageCount(), and run().

int casa::SearchThread::offset
private

Definition at line 98 of file SearchMoleculesWidget.qo.h.

Referenced by run(), and SearchThread().

Searcher* casa::SearchThread::searcher
private

Definition at line 96 of file SearchMoleculesWidget.qo.h.

Referenced by run(), SearchThread(), and stopSearch().

std::vector<SplatResult> casa::SearchThread::searchResults
private

Definition at line 100 of file SearchMoleculesWidget.qo.h.

Referenced by getResults(), and run().

int casa::SearchThread::searchResultsCount
private

Definition at line 97 of file SearchMoleculesWidget.qo.h.

Referenced by getResultsCount(), and run().


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