Workspace 6.21.5
Public Member Functions | Public Attributes | List of all members
ParallelIteratingOperationBase::IterationControlParams Struct Reference

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...

#include <Workspace/DataExecution/Operations/Builtin/paralleliteratingoperationbase.h>

Public Member Functions

 IterationControlParams (int startValue, int endValue, int stepValue)
 

Public Attributes

int endValue_
 
int startValue_
 
int stepValue_
 

Detailed Description

To iterate in parallel in a loop, at the very least we need to be able to compute how many iterations we're going to execute. We don't use inputs directly, as some iterators may not use numbers directly, they may simply have iterators, so these numbers would need to be computed.

Constructor & Destructor Documentation

◆ IterationControlParams()

IterationControlParams ( int  startValue,
int  endValue,
int  stepValue 
)
inline

Member Data Documentation

◆ endValue_

int endValue_

◆ startValue_

int startValue_

◆ stepValue_

int stepValue_