SMILE  v2.5
Schwarzschild Modelling Interactive expLoratory Environment
Public Slots | Signals | Public Member Functions | Private Attributes | List of all members
smile::CSchwarzschildWorker Class Reference

Worker object that runs Schwarzschild model optimization solver. More...

#include <core.h>

Inheritance diagram for smile::CSchwarzschildWorker:
Inheritance graph
[legend]
Collaboration diagram for smile::CSchwarzschildWorker:
Collaboration graph
[legend]

Public Slots

void doWork ()
 call model->performModelling()
 

Signals

void message (const QString &result)
 communicate the modelling result
 
void workDone ()
 tell that it is safe to delete the helper thread
 

Public Member Functions

 CSchwarzschildWorker (CBasicSchwModel *_model)
 

Private Attributes

CBasicSchwModelmodel
 pointer to an existing schwarzschild model object
 

Detailed Description

Worker object that runs Schwarzschild model optimization solver.

It is created by CSmileCore and put into a separate thread, so that the main program continues. When the optimization is done, emit a signal with text representation of the result from model or the error from the solver.


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