Workspace 6.21.5
|
Apart from its basic usage, this operation can be used to accumulate values into an ObjectDictionary each time the operation is updated. This is particularly useful inside loops to accumulate results at each loop iteration, although care must be taken to ensure dependencies are properly handled and to clear the contents when the loop is reset.
Inputs: | |||
---|---|---|---|
Name | QString | ||
Description | QString | ||
Reset accumulation | CSIRO::DataExecution::Dependency | If using this operation to accumulate objects inside a loop body over multiple iterations, this dependency can be connected to something upstream of the loop to clear previously accumulated objects | |
Accumulate each update | bool | If enabled, each time the operation is executed, it adds the object to existing objects added on past executes | |
Copy object | bool | Insert a copy of the source object rather than adding it by reference | |
Object | int | ||
Dictionary | Modified-in-place | CSIRO::DataExecution::ObjectDictionary | |
Outputs: | |||
Dictionary | CSIRO::DataExecution::ObjectDictionary |