public static interface ThreadRun.Step
Modifier and Type | Method and Description |
---|---|
int |
start(int cycletimeNom)
Invoked one time of start of the thread in the thread routine.
|
int |
step(int cycletimeNom,
int cycletimeLast,
int calctimeLast,
long millisecAbs)
Invoked cyclically.
|
int start(int cycletimeNom)
int step(int cycletimeNom, int cycletimeLast, int calctimeLast, long millisecAbs)
cycletime
- the programmed cycle timelastCalctime
- the last need calculation time.
The step routine can check whether there is a time overflow.