Workspace 6.21.5
|
#include <Workspace/DataExecution/Operations/Builtin/paralleliteratingoperationbase.h>
Classes | |
struct | IterationControlParams |
This struct represents the control parameters for a parallel loop. It exists to minimise virtual function calls when obtaining these values from derived classes. More... | |
class | IterationObserver |
Public Member Functions | |
virtual void | onIterationAborted (Workspace &)=0 |
virtual void | onIterationFinished (Workspace &)=0 |
virtual void | onIterationSuccess (Workspace &)=0 |
void | processAbortedIteration (Workspace &) |
Protected Member Functions | |
ParallelIteratingOperationBase () | |
virtual | ~ParallelIteratingOperationBase ()=default |
int | calcProgress (int startValue, int endValue, int counterValue) |
virtual IterationControlParams | getIterationControlParams () const =0 |
int | getIterationCount () |
void | setMethodDispatcher (ParallelIteratingOperationMethodDispatcher *dispatcher) |
void | sleep (int msec) |
Protected Attributes | |
int | counterValue_ |
int | endValue_ |
bool | overflowed_ |
int | startValue_ |
int | stepValue_ |
|
protected |
|
protectedvirtualdefault |
|
protected |
|
protectedpure virtual |
Implemented in CountedLoop.
|
protected |
|
pure virtual |
Implemented in ParallelIteratingOperation< Derived >, and ParallelIteratingOperation< CountedLoop >.
|
pure virtual |
Implemented in ParallelIteratingOperation< Derived >, and ParallelIteratingOperation< CountedLoop >.
|
pure virtual |
Implemented in ParallelIteratingOperation< Derived >, and ParallelIteratingOperation< CountedLoop >.
void processAbortedIteration | ( | Workspace & | workspace | ) |
|
protected |
dispatcher | The method dispatcher to use when iteration messages are received. This object will take ownership of the dispatcher and be responsible for its deletion. |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |