com.kuka.roboticsAPI.concurrencyModel
Interface ICyclicTaskContainer


public interface ICyclicTaskContainer

This interface represents a container which contains cyclic tasks and let's the user control them.

This element is not in its final state and might change in future versions.

Method Summary
 void cancel()
          Cancels all tasks in the group.
 double getLastDurationMillis()
          Gets the time duration of the last cycle of all tasks in this group in milliseconds.
 boolean isActive()
          Determines if the group is active.
 

Method Detail

isActive

boolean isActive()
Determines if the group is active.

Returns:
True if the group is active.

cancel

void cancel()
Cancels all tasks in the group.

The call blocks until all tasks have finished their last cycle.


getLastDurationMillis

double getLastDurationMillis()
Gets the time duration of the last cycle of all tasks in this group in milliseconds.

Returns:
The time duration of the last cycle of all tasks in this group in milliseconds.


Copyright © 2019. All rights reserved.