CustusX  22.04-rc5
An IGT application
cx::Example Class Reference

Implementation of ThreadedTimedAlgorithm that shows the minimum implementation of this class. More...

#include <cxThreadedTimedAlgorithm.h>

Inheritance diagram for cx::Example:
cx::ThreadedTimedAlgorithm< QString > cx::TimedBaseAlgorithm

Public Member Functions

 Example ()
 
virtual ~Example ()
 
- Public Member Functions inherited from cx::ThreadedTimedAlgorithm< QString >
 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
 

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< QString >
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 ()
 
QString 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

Implementation of ThreadedTimedAlgorithm that shows the minimum implementation of this class.

Date
Feb 22, 2011
Author
Janne Beate Bakeng, SINTEF

Definition at line 102 of file cxThreadedTimedAlgorithm.h.

Constructor & Destructor Documentation

cx::Example::Example ( )

Definition at line 42 of file cxThreadedTimedAlgorithm.cpp.

cx::Example::~Example ( )
virtual

Definition at line 49 of file cxThreadedTimedAlgorithm.cpp.


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