casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
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>

List of all members.

Public Member Functions

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

Private Attributes

Searchersearcher
int searchResultsCount
int offset
bool countNeeded
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 52 of file SearchMoleculesWidget.qo.h.


Constructor & Destructor Documentation

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

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

References countNeeded, offset, and searcher.

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


Member Function Documentation

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

References errorMsg.

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

References errorMsgCount.

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

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

References searchResults.

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

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

References searchResultsCount.

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

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

References countNeeded.

void casa::SearchThread::stopSearch ( ) [inline]

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

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


Member Data Documentation

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().

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

Referenced by getErrorMessageCount(), and run().

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

Referenced by run(), and SearchThread().

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

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

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

Referenced by getResults(), and run().

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: