@SCJAllowed public class PeriodicParameters extends ReleaseParameters
| Constructor and Description |
|---|
PeriodicParameters(RelativeTime start,
RelativeTime period)
Constructs a new object within the current memory area.
|
PeriodicParameters(RelativeTime start,
RelativeTime period,
RelativeTime deadline,
AperiodicEventHandler missHandler)
Constructs a new object within the current memory area.
|
| Modifier and Type | Method and Description |
|---|---|
RelativeTime |
getPeriod() |
RelativeTime |
getStart() |
getDeadlinepublic PeriodicParameters(RelativeTime start, RelativeTime period)
period.start - is the time of the first release relative to start of the mission.
A null value defaults to a value of zero milliseconds.period - is the is the time between each release of an associated schedulable object.java.lang.IllegalArgumentException - if period is null.@SCJAllowed(value=LEVEL_1) public PeriodicParameters(RelativeTime start, RelativeTime period, RelativeTime deadline, AperiodicEventHandler missHandler)
start - is time of the first release of the associated schedulable relative to the start
of the mission. A null value defaults to zero milliseconds.period - is the time between each release of the associated schedulable object.deadline - is an offset from the release time by which the release should finish.
A null deadline indicates the same value as the period.missHandler - is the event handler to be released if the deadline is missed.
A null value means that misses are not handled.java.lang.IllegalArgumentException - if period is null.public RelativeTime getPeriod()
public RelativeTime getStart()