casa
$Rev:20696$
|
Responsible for running the search algorithm in the background so that we don't freeze the GUI. More...
#include <SearchMoleculesWidget.qo.h>
Public Member Functions | |
SearchThread (Searcher *searcher, int offset) | |
String | getErrorMessage () const |
String | getErrorMessageCount () const |
void | setCountNeeded (bool needed) |
long | getResultsCount () const |
vector< SplatResult > | getResults () const |
void | stopSearch () |
void | run () |
~SearchThread () | |
Private Attributes | |
Searcher * | searcher |
int | searchResultsCount |
int | offset |
bool | countNeeded |
vector< SplatResult > | searchResults |
string | errorMsg |
string | errorMsgCount |
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.
casa::SearchThread::SearchThread | ( | Searcher * | searcher, |
int | offset | ||
) | [inline] |
Definition at line 54 of file SearchMoleculesWidget.qo.h.
References countNeeded, offset, and searcher.
casa::SearchThread::~SearchThread | ( | ) | [inline] |
Definition at line 93 of file SearchMoleculesWidget.qo.h.
String casa::SearchThread::getErrorMessage | ( | ) | const [inline] |
Definition at line 59 of file SearchMoleculesWidget.qo.h.
References errorMsg.
String casa::SearchThread::getErrorMessageCount | ( | ) | const [inline] |
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] |
Definition at line 82 of file SearchMoleculesWidget.qo.h.
References countNeeded, casa::Searcher::doSearch(), casa::Searcher::doSearchCount(), errorMsg, errorMsgCount, offset, searcher, searchResults, and searchResultsCount.
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().
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().
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().