T
- class type for the generic versionpublic class StopOnDecreasing<T extends EventDetector> extends Object implements EventHandler<T>
The implementation behavior is to continue
propagation when ascending and to
stop
propagation when descending.
Constructor and Description |
---|
StopOnDecreasing() |
Modifier and Type | Method and Description |
---|---|
Action |
eventOccurred(SpacecraftState s,
T detector,
boolean increasing)
Handle a detection event and choose what to do next.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init, resetState
public Action eventOccurred(SpacecraftState s, T detector, boolean increasing)
The implementation behavior is to continue
propagation when ascending and to
stop
propagation when descending.
eventOccurred
in interface EventHandler<T extends EventDetector>
s
- the current state information : date, kinematics, attitudedetector
- the detector object calling this method (not used in the evaluation)increasing
- if true, the value of the switching function increases
when times increases around eventAction.STOP
or Action.CONTINUE
Copyright © 2002-2020 CS Group. All rights reserved.