UltraScan III
List of all members | Public Slots | Signals | Public Member Functions | Private Member Functions | Private Attributes
WorkerThread2D Class Reference

Worker thread to do actual work of 2DSA analysis. More...

#include "us_worker_2d.h"

Inheritance diagram for WorkerThread2D:
Inheritance graph
[legend]
Collaboration diagram for WorkerThread2D:
Collaboration graph
[legend]

Public Slots

void define_work (WorkPacket2D &)
 Define the work packet for a worker thread. More...
 
void get_result (WorkPacket2D &)
 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 (WorkerThread2D *)
 

Public Member Functions

 WorkerThread2D (QObject *parent=0)
 
 ~WorkerThread2D ()
 

Private Member Functions

void calc_residuals (void)
 
void calc_resids_ratio (void)
 
long int max_rss (void)
 

Private Attributes

long int maxrss
 
double llim_s
 
double llim_k
 
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::EditedDataedata
 
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_SolveSimsolvesim
 
US_SolveSim::DataSet dset_wk
 
QVector< US_Solutesolutes_i
 
QVector< US_Solutesolutes_c
 

Detailed Description

Worker thread to do actual work of 2DSA analysis.

This class is for each of the individual worker threads that do the actual computational work of 2DSA analysis.

Definition at line 50 of file us_worker_2d.h.

Constructor & Destructor Documentation

WorkerThread2D::WorkerThread2D ( QObject *  parent = 0)

Definition at line 15 of file us_worker_2d.cpp.

WorkerThread2D::~WorkerThread2D ( )

Definition at line 26 of file us_worker_2d.cpp.

Member Function Documentation

void WorkerThread2D::calc_resids_ratio ( void  )
private

Definition at line 153 of file us_worker_2d.cpp.

void WorkerThread2D::calc_residuals ( void  )
private

Definition at line 117 of file us_worker_2d.cpp.

void WorkerThread2D::define_work ( WorkPacket2D workin)
slot

Define the work packet for a worker thread.

Parameters
workinInput work definition packet

Definition at line 41 of file us_worker_2d.cpp.

void WorkerThread2D::flag_abort ( )
slot

Set a flag so a worker thread will abort as soon as possible.

Definition at line 111 of file us_worker_2d.cpp.

void WorkerThread2D::forward_progress ( int  steps)
slot

Public slot to forward a progress signal.

Definition at line 147 of file us_worker_2d.cpp.

void WorkerThread2D::get_result ( WorkPacket2D workout)
slot

Get the results work packet of a completed worker thread.

Parameters
workoutOutput work definition packet

Definition at line 74 of file us_worker_2d.cpp.

long int WorkerThread2D::max_rss ( void  )
private
void WorkerThread2D::run ( )
slot

Run the worker thread.

Definition at line 99 of file us_worker_2d.cpp.

void WorkerThread2D::work_complete ( WorkerThread2D )
signal
void WorkerThread2D::work_progress ( int  )
signal

Member Data Documentation

bool WorkerThread2D::abort
private

Definition at line 99 of file us_worker_2d.h.

int WorkerThread2D::dbg_level
private

Definition at line 97 of file us_worker_2d.h.

int WorkerThread2D::depth
private

Definition at line 89 of file us_worker_2d.h.

US_SolveSim::DataSet WorkerThread2D::dset_wk
private

Definition at line 113 of file us_worker_2d.h.

QList< US_SolveSim::DataSet* > WorkerThread2D::dsets
private

Definition at line 110 of file us_worker_2d.h.

US_DataIO::EditedData* WorkerThread2D::edata
private

Definition at line 101 of file us_worker_2d.h.

int WorkerThread2D::iter
private

Definition at line 90 of file us_worker_2d.h.

double WorkerThread2D::llim_k
private

Definition at line 85 of file us_worker_2d.h.

double WorkerThread2D::llim_s
private

Definition at line 84 of file us_worker_2d.h.

long int WorkerThread2D::maxrss
private

Definition at line 82 of file us_worker_2d.h.

int WorkerThread2D::menmcx
private

Definition at line 91 of file us_worker_2d.h.

US_Model WorkerThread2D::model
private

Definition at line 104 of file us_worker_2d.h.

int WorkerThread2D::noisflag
private

Definition at line 96 of file us_worker_2d.h.

int WorkerThread2D::npoints
private

Definition at line 94 of file us_worker_2d.h.

int WorkerThread2D::nscans
private

Definition at line 93 of file us_worker_2d.h.

int WorkerThread2D::nsolutes
private

Definition at line 95 of file us_worker_2d.h.

US_Noise WorkerThread2D::ra_noise
private

Definition at line 107 of file us_worker_2d.h.

US_DataIO::RawData WorkerThread2D::rdata
private

Definition at line 103 of file us_worker_2d.h.

US_Noise WorkerThread2D::ri_noise
private

Definition at line 105 of file us_worker_2d.h.

US_DataIO::RawData WorkerThread2D::sdata
private

Definition at line 102 of file us_worker_2d.h.

US_SolveSim::Simulation WorkerThread2D::sim_vals
private

Definition at line 111 of file us_worker_2d.h.

US_SimulationParameters WorkerThread2D::simparms
private

Definition at line 108 of file us_worker_2d.h.

QVector< US_Solute > WorkerThread2D::solutes_c
private

Definition at line 116 of file us_worker_2d.h.

QVector< US_Solute > WorkerThread2D::solutes_i
private

Definition at line 115 of file us_worker_2d.h.

US_SolveSim* WorkerThread2D::solvesim
private

Definition at line 112 of file us_worker_2d.h.

int WorkerThread2D::taskx
private

Definition at line 88 of file us_worker_2d.h.

int WorkerThread2D::thrn
private

Definition at line 87 of file us_worker_2d.h.

US_Noise WorkerThread2D::ti_noise
private

Definition at line 106 of file us_worker_2d.h.

int WorkerThread2D::typeref
private

Definition at line 92 of file us_worker_2d.h.


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