CustusX  22.04-rc5
An IGT application
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 27 of file cxCompositeTimedAlgorithm.h.

Constructor & Destructor Documentation

cx::CompositeTimedAlgorithm::CompositeTimedAlgorithm ( QString  name)

Definition at line 21 of file cxCompositeTimedAlgorithm.cpp.

Member Function Documentation

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

Definition at line 26 of file cxCompositeTimedAlgorithm.cpp.

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

Member Data Documentation

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

Definition at line 35 of file cxCompositeTimedAlgorithm.h.


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