CustusX
22.04-rc5
An IGT application
|
Threading adapter for the reconstruction algorithm. More...
#include <cxReconstructThreads.h>
Public Member Functions | |
ThreadedTimedReconstructPreprocessor (PatientModelServicePtr patientModelService, ReconstructPreprocessorPtr input, std::vector< ReconstructCorePtr > cores) | |
virtual | ~ThreadedTimedReconstructPreprocessor () |
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 ThreadedTimedReconstructPreprocessorPtr | create (PatientModelServicePtr patientModelService, ReconstructPreprocessorPtr input, std::vector< ReconstructCorePtr > cores) |
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 before ThreadedTimedReconstructCore.
Executes ReconstructCore functions:
Definition at line 50 of file cxReconstructThreads.h.
cx::ThreadedTimedReconstructPreprocessor::ThreadedTimedReconstructPreprocessor | ( | PatientModelServicePtr | patientModelService, |
ReconstructPreprocessorPtr | input, | ||
std::vector< ReconstructCorePtr > | cores | ||
) |
Definition at line 29 of file cxReconstructThreads.cpp.
|
virtual |
Definition at line 38 of file cxReconstructThreads.cpp.
|
inlinestatic |
Definition at line 54 of file cxReconstructThreads.h.