Class MultiMotionAxesEnumerator
Auxiliary object that implements enumerator for the multimotion's axes list and allows to use foreach syntax.
Inheritance
object
MultiMotionAxesEnumerator
Implements
System.Collections.IEnumerator
Namespace: DotnetPostprocessing.SDK
Assembly: DotnetPostprocessing.SDK.dll
Syntax
public class MultiMotionAxesEnumerator : Object, IEnumerator
Constructors
MultiMotionAxesEnumerator(ICLDMultiAxisArray)
Instantiate a new MultiMotionAxesEnumerator object for the specified multimotion command.
Declaration
public MultiMotionAxesEnumerator(ICLDMultiAxisArray Cmd)
Parameters
Type | Name | Description |
---|---|---|
ICLDMultiAxisArray | Cmd |
Methods
MoveNext()
Makes the next axis in the list current if the end of the list has not yet been reached.
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
bool | Returns "false" if it is impossible to change the current position of the enumerator, since the end of the list has already been reached. |
Reset()
Reset current position of the enumerator to the initial state.
Declaration
public void Reset()
Implements
System.Collections.IEnumerator