Worker thread to do the actual computational work of PCSA analysis. More...
#include "us_worker_pc.h"
Public Slots | |
void | define_work (WorkPacketPc &) |
Define the work packet for a worker thread. More... | |
void | get_result (WorkPacketPc &) |
Get the results work packet of a completed worker thread. More... | |
void | run () |
Run the worker thread. More... | |
void | flag_abort () |
Set a flag so a worker thread will abort as soon as possible. More... | |
void | forward_progress (int) |
Public slot to forward a progress signal. More... | |
Signals | |
void | work_progress (int) |
void | work_complete (WorkerThreadPc *) |
Public Member Functions | |
WorkerThreadPc (QObject *parent=0) | |
~WorkerThreadPc () | |
Private Member Functions | |
void | calc_residuals (void) |
void | calc_resids_ratio (void) |
long int | max_rss (void) |
void | apply_alpha (const double, QVector< double > *, QVector< double > *, const int, const int, const int, double &, double &) |
Private Attributes | |
QMutex | mutex |
long int | maxrss |
double | str_y |
double | end_y |
double | par1 |
double | par2 |
double | par3 |
int | thrn |
int | taskx |
int | depth |
int | iter |
int | menmcx |
int | typeref |
int | nscans |
int | npoints |
int | nsolutes |
int | noisflag |
int | dbg_level |
bool | abort |
US_DataIO::EditedData * | edata |
US_DataIO::RawData | sdata |
US_DataIO::RawData | rdata |
US_Model | model |
US_Noise | ri_noise |
US_Noise | ti_noise |
US_Noise | ra_noise |
US_SimulationParameters | simparms |
QList< US_SolveSim::DataSet * > | dsets |
US_SolveSim::Simulation | sim_vals |
US_SolveSim * | solvesim |
US_SolveSim::DataSet | dset_wk |
QVector< US_ZSolute > | solutes_i |
QVector< US_ZSolute > | solutes_c |
QVector< double > * | psv_nnls_a |
QVector< double > * | psv_nnls_b |
Worker thread to do the actual computational work of PCSA analysis.
This class is for each of the individual worker threads that do the actual computational work of PCSA analysis.
Definition at line 51 of file us_worker_pc.h.
WorkerThreadPc::WorkerThreadPc | ( | QObject * | parent = 0 | ) |
Definition at line 15 of file us_worker_pc.cpp.
WorkerThreadPc::~WorkerThreadPc | ( | ) |
Definition at line 27 of file us_worker_pc.cpp.
|
private |
Definition at line 204 of file us_worker_pc.cpp.
|
private |
|
private |
Definition at line 144 of file us_worker_pc.cpp.
|
slot |
Define the work packet for a worker thread.
workin | Input work definition packet |
Definition at line 44 of file us_worker_pc.cpp.
|
slot |
Set a flag so a worker thread will abort as soon as possible.
Definition at line 138 of file us_worker_pc.cpp.
|
slot |
Public slot to forward a progress signal.
Definition at line 199 of file us_worker_pc.cpp.
|
slot |
Get the results work packet of a completed worker thread.
workout | Output work definition packet |
Definition at line 86 of file us_worker_pc.cpp.
|
private |
|
slot |
Run the worker thread.
Definition at line 124 of file us_worker_pc.cpp.
|
signal |
|
signal |
|
private |
Definition at line 108 of file us_worker_pc.h.
|
private |
Definition at line 106 of file us_worker_pc.h.
|
private |
Definition at line 98 of file us_worker_pc.h.
|
private |
Definition at line 122 of file us_worker_pc.h.
|
private |
Definition at line 119 of file us_worker_pc.h.
|
private |
Definition at line 110 of file us_worker_pc.h.
|
private |
Definition at line 91 of file us_worker_pc.h.
|
private |
Definition at line 99 of file us_worker_pc.h.
|
private |
Definition at line 88 of file us_worker_pc.h.
|
private |
Definition at line 100 of file us_worker_pc.h.
|
private |
Definition at line 113 of file us_worker_pc.h.
|
private |
Definition at line 86 of file us_worker_pc.h.
|
private |
Definition at line 105 of file us_worker_pc.h.
|
private |
Definition at line 103 of file us_worker_pc.h.
|
private |
Definition at line 102 of file us_worker_pc.h.
|
private |
Definition at line 104 of file us_worker_pc.h.
|
private |
Definition at line 92 of file us_worker_pc.h.
|
private |
Definition at line 93 of file us_worker_pc.h.
|
private |
Definition at line 94 of file us_worker_pc.h.
|
private |
Definition at line 127 of file us_worker_pc.h.
|
private |
Definition at line 128 of file us_worker_pc.h.
|
private |
Definition at line 116 of file us_worker_pc.h.
|
private |
Definition at line 112 of file us_worker_pc.h.
|
private |
Definition at line 114 of file us_worker_pc.h.
|
private |
Definition at line 111 of file us_worker_pc.h.
|
private |
Definition at line 120 of file us_worker_pc.h.
|
private |
Definition at line 117 of file us_worker_pc.h.
|
private |
Definition at line 125 of file us_worker_pc.h.
|
private |
Definition at line 124 of file us_worker_pc.h.
|
private |
Definition at line 121 of file us_worker_pc.h.
|
private |
Definition at line 90 of file us_worker_pc.h.
|
private |
Definition at line 97 of file us_worker_pc.h.
|
private |
Definition at line 96 of file us_worker_pc.h.
|
private |
Definition at line 115 of file us_worker_pc.h.
|
private |
Definition at line 101 of file us_worker_pc.h.