Fraxinus  16.5.0-fx-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::ThreadedTimedReconstructPreprocessor Class Reference

Threading adapter for the reconstruction algorithm. More...

#include <cxReconstructThreads.h>

Inheritance diagram for cx::ThreadedTimedReconstructPreprocessor:
cx::ThreadedTimedAlgorithm< void > cx::TimedBaseAlgorithm

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
 

Detailed Description

Threading adapter for the reconstruction algorithm.

Must be run before ThreadedTimedReconstructCore.

Executes ReconstructCore functions:

  • threadedPreReconstruct() [main thread]
  • threadablePreReconstruct() [work thread]
Date
Jan 27, 2012
Author
Christian Askeland, SINTEF

Definition at line 71 of file cxReconstructThreads.h.

Constructor & Destructor Documentation

cx::ThreadedTimedReconstructPreprocessor::ThreadedTimedReconstructPreprocessor ( PatientModelServicePtr  patientModelService,
ReconstructPreprocessorPtr  input,
std::vector< ReconstructCorePtr cores 
)

Definition at line 50 of file cxReconstructThreads.cpp.

cx::ThreadedTimedReconstructPreprocessor::~ThreadedTimedReconstructPreprocessor ( )
virtual

Definition at line 59 of file cxReconstructThreads.cpp.

Member Function Documentation

static ThreadedTimedReconstructPreprocessorPtr cx::ThreadedTimedReconstructPreprocessor::create ( PatientModelServicePtr  patientModelService,
ReconstructPreprocessorPtr  input,
std::vector< ReconstructCorePtr cores 
)
inlinestatic

Definition at line 75 of file cxReconstructThreads.h.


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