CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::CompositeTimedAlgorithm Class Referenceabstract

#include <cxCompositeTimedAlgorithm.h>

Inheritance diagram for cx::CompositeTimedAlgorithm:
cx::TimedBaseAlgorithm cx::CompositeParallelTimedAlgorithm cx::CompositeSerialTimedAlgorithm

Public Member Functions

 CompositeTimedAlgorithm (QString name)
 
virtual void append (TimedAlgorithmPtr child)
 
virtual void clear ()=0
 
- Public Member Functions inherited from cx::TimedBaseAlgorithm
 TimedBaseAlgorithm (QString product, int secondsBetweenAnnounce)
 
virtual ~TimedBaseAlgorithm ()
 
virtual QString getProduct () const
 
virtual void execute ()=0
 
virtual bool isFinished () const =0
 
virtual bool isRunning () const =0
 

Protected Attributes

std::vector< TimedAlgorithmPtrmChildren
 
- Protected Attributes inherited from cx::TimedBaseAlgorithm
bool mUseDefaultMessages
 

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
virtual void finishedSlot ()
 
virtual void postProcessingSlot ()
 
- Protected Member Functions inherited from cx::TimedBaseAlgorithm
void startTiming ()
 
void stopTiming ()
 
QString getSecondsPassedAsString () const
 

Detailed Description

Definition at line 48 of file cxCompositeTimedAlgorithm.h.

Constructor & Destructor Documentation

cx::CompositeTimedAlgorithm::CompositeTimedAlgorithm ( QString  name)

Definition at line 42 of file cxCompositeTimedAlgorithm.cpp.

Member Function Documentation

void cx::CompositeTimedAlgorithm::append ( TimedAlgorithmPtr  child)
virtual

Definition at line 47 of file cxCompositeTimedAlgorithm.cpp.

virtual void cx::CompositeTimedAlgorithm::clear ( )
pure virtual

Member Data Documentation

std::vector<TimedAlgorithmPtr> cx::CompositeTimedAlgorithm::mChildren
protected

Definition at line 56 of file cxCompositeTimedAlgorithm.h.


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