Public Attributes | List of all members
mirtk::Iteration Struct Reference

#include <Event.h>

Collaboration diagram for mirtk::Iteration:
Collaboration graph

Public Attributes

int _Begin
 Start value of iteration counter.
 
int _End
 End value of iteration counter.
 
int _Inc
 Increment after each iteration.
 
int _Iter
 Iteration counter.
 

Detailed Description

Data of IterationStartEvent and IterationEndEvent

This event data structure can further be used as iteration counter directly to avoid the need for unnecessary duplicate counter.

irtkIteration iter(0, 10);
while (iter.Next()) {
Broadcast(IterationEvent, &iter);
// ...
}

Definition at line 74 of file Event.h.


The documentation for this struct was generated from the following file: