CustusX
2023.01.05-dev+develop.0da12
An IGT application
|
Threading adapter for the reconstruction algorithm. More...
#include <cxReconstructThreads.h>
Public Member Functions | |
ThreadedTimedReconstructCore (PatientModelServicePtr patientModelService, ViewServicePtr viewService, ReconstructCorePtr reconstructer) | |
virtual | ~ThreadedTimedReconstructCore () |
Public Member Functions inherited from cx::ThreadedTimedAlgorithm< void > | |
ThreadedTimedAlgorithm (QString product, int secondsBetweenAnnounce) | |
virtual | ~ThreadedTimedAlgorithm () |
virtual void | execute () |
virtual bool | isFinished () const |
virtual bool | isRunning () const |
Public Member Functions inherited from cx::TimedBaseAlgorithm | |
TimedBaseAlgorithm (QString product, int secondsBetweenAnnounce) | |
virtual | ~TimedBaseAlgorithm () |
virtual QString | getProduct () const |
Static Public Member Functions | |
static ThreadedTimedReconstructCorePtr | create (PatientModelServicePtr patientModelService, ViewServicePtr viewService, ReconstructCorePtr reconstructer) |
Additional Inherited Members | |
Signals inherited from cx::TimedBaseAlgorithm | |
void | aboutToStart () |
emitted at start of execute. Use to perform preprocessing More... | |
void | started (int maxSteps) |
emitted at start of run. More... | |
void | finished () |
should be emitted when at the end of postProcessingSlot More... | |
void | productChanged () |
emitted whenever product string has changed More... | |
Protected Slots inherited from cx::TimedBaseAlgorithm | |
Protected Member Functions inherited from cx::ThreadedTimedAlgorithm< void > | |
virtual void | preProcessingSlot () |
This happens before the thread (calculate) is started, here non-thread safe functions can be called. More... | |
virtual void | postProcessingSlot ()=0 |
This happens when the thread (calculate) is finished, here non-thread safe functions can be called. More... | |
void | generate () |
void | getResult () |
Protected Member Functions inherited from cx::TimedBaseAlgorithm | |
void | startTiming () |
void | stopTiming () |
QString | getSecondsPassedAsString () const |
Protected Attributes inherited from cx::TimedBaseAlgorithm | |
bool | mUseDefaultMessages |
Threading adapter for the reconstruction algorithm.
Must be run after ThreadedTimedReconstructerStep2.
Executes ReconstructCore functions:
Definition at line 86 of file cxReconstructThreads.h.
cx::ThreadedTimedReconstructCore::ThreadedTimedReconstructCore | ( | PatientModelServicePtr | patientModelService, |
ViewServicePtr | viewService, | ||
ReconstructCorePtr | reconstructer | ||
) |
Definition at line 69 of file cxReconstructThreads.cpp.
|
virtual |
Definition at line 78 of file cxReconstructThreads.cpp.
|
inlinestatic |
Definition at line 90 of file cxReconstructThreads.h.