![]() |
NorMIT-nav
18.04
An IGT application
|
#include <cxCompositeTimedAlgorithm.h>
Public Member Functions | |
CompositeParallelTimedAlgorithm (QString name="parallel") | |
virtual void | clear () |
virtual QString | getProduct () const |
virtual void | execute () |
virtual bool | isFinished () const |
virtual bool | isRunning () const |
![]() | |
CompositeTimedAlgorithm (QString name) | |
virtual void | append (TimedAlgorithmPtr child) |
![]() | |
TimedBaseAlgorithm (QString product, int secondsBetweenAnnounce) | |
virtual | ~TimedBaseAlgorithm () |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
virtual void | finishedSlot () |
virtual void | postProcessingSlot () |
![]() | |
void | startTiming () |
void | stopTiming () |
QString | getSecondsPassedAsString () const |
![]() | |
std::vector< TimedAlgorithmPtr > | mChildren |
![]() | |
bool | mUseDefaultMessages |
Composition of several TimedBaseAlgorithms executing in parallel.
Usage: Append all algorithms as children then execute. All children will be executed in parallel. started()/finished() will also work.
Definition at line 83 of file cxCompositeTimedAlgorithm.h.
cx::CompositeParallelTimedAlgorithm::CompositeParallelTimedAlgorithm | ( | QString | name = "parallel" | ) |
Definition at line 114 of file cxCompositeTimedAlgorithm.cpp.
|
virtual |
Implements cx::CompositeTimedAlgorithm.
Definition at line 133 of file cxCompositeTimedAlgorithm.cpp.
|
virtual |
Execute the algorithm. Parts of the execution can be in another thread, thus the call usually returns after preprocessing is complete. The exec starts by emitting aboutToStart(), which can be used by callers to set input arguments.
Implements cx::TimedBaseAlgorithm.
Definition at line 146 of file cxCompositeTimedAlgorithm.cpp.
|
virtual |
Reimplemented from cx::TimedBaseAlgorithm.
Definition at line 119 of file cxCompositeTimedAlgorithm.cpp.
|
virtual |
Returns true after the finished() signal is emitted.
Implements cx::TimedBaseAlgorithm.
Definition at line 168 of file cxCompositeTimedAlgorithm.cpp.
|
virtual |
Returns true if preprocess is started and postprocess not complete. (Right after aboutToStart, right before finished())
Implements cx::TimedBaseAlgorithm.
Definition at line 179 of file cxCompositeTimedAlgorithm.cpp.