|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.concurrencyModel.CyclicTask
public abstract class CyclicTask
A CyclicTask runs within a doCyclic call. It performs cyclic actions in a programmed interval. It the task isn't able to perform it's actions within the interval, the user can choose to fail or to ignore the missing time.
| Constructor Summary | |
|---|---|
CyclicTask()
|
|
| Method Summary | |
|---|---|
protected void |
initialize()
Initializes this cyclic task. |
protected void |
onCancel()
This method is called when the cyclic task is cancelled. |
abstract void |
run()
Runs the cyclic task. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CyclicTask()
| Method Detail |
|---|
public abstract void run()
run in interface Runnableprotected void onCancel()
The method should not take very much time, because it may delay other cyclic tasks in the group which should get cancelled, too.
protected void initialize()
This method is called only once before any task in the task group of this task is executed. It is called on the thread which will execute the task (and all other tasks in the task group).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||