CustusX  15.3.4-beta
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::FilterTimedAlgorithm Class Reference

#include <cxFilterTimedAlgorithm.h>

Inheritance diagram for cx::FilterTimedAlgorithm:
cx::ThreadedTimedAlgorithm< bool > cx::TimedBaseAlgorithm

Public Member Functions

 FilterTimedAlgorithm (FilterPtr filter)
 
virtual ~FilterTimedAlgorithm ()
 
FilterPtr getFilter ()
 
- Public Member Functions inherited from cx::ThreadedTimedAlgorithm< bool >
 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
 

Protected Slots

virtual void preProcessingSlot ()
 
virtual void postProcessingSlot ()
 
- Protected Slots inherited from cx::TimedBaseAlgorithm

Additional Inherited Members

- Signals inherited from cx::TimedBaseAlgorithm
void aboutToStart ()
 emitted at start of execute. Use to perform preprocessing More...
 
void started (int maxSteps)
 
void finished ()
 < emitted at start of run. More...
 
void productChanged ()
 emitted whenever product string has changed More...
 
- Protected Member Functions inherited from cx::ThreadedTimedAlgorithm< bool >
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 ()
 
bool 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

Wrap a Filter into a TimedAlgorithm

Date
Nov 16, 2012
Author
christiana

Definition at line 51 of file cxFilterTimedAlgorithm.h.

Constructor & Destructor Documentation

cx::FilterTimedAlgorithm::FilterTimedAlgorithm ( FilterPtr  filter)

Definition at line 40 of file cxFilterTimedAlgorithm.cpp.

cx::FilterTimedAlgorithm::~FilterTimedAlgorithm ( )
virtual

Definition at line 47 of file cxFilterTimedAlgorithm.cpp.

Member Function Documentation

FilterPtr cx::FilterTimedAlgorithm::getFilter ( )

Definition at line 50 of file cxFilterTimedAlgorithm.cpp.

void cx::FilterTimedAlgorithm::postProcessingSlot ( )
protectedvirtualslot

Definition at line 60 of file cxFilterTimedAlgorithm.cpp.

void cx::FilterTimedAlgorithm::preProcessingSlot ( )
protectedvirtualslot

Definition at line 55 of file cxFilterTimedAlgorithm.cpp.


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