T
- class type for the generic versionpublic class StopOnEvent<T extends EventDetector> extends Object implements EventHandler<T>
stop
as a state.Constructor and Description |
---|
StopOnEvent() |
Modifier and Type | Method and Description |
---|---|
Action |
eventOccurred(SpacecraftState s,
T detector,
boolean increasing)
Specific implementation of the eventOccurred interface.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init, resetState
public Action eventOccurred(SpacecraftState s, T detector, boolean increasing)
eventOccurred
in interface EventHandler<T extends EventDetector>
s
- SpaceCraft state to be used in the evaluationdetector
- object with appropriate type that can be used in determining correct return stateincreasing
- with the event occurred in an "increasing" or "decreasing" slope directionstop
under all circumstancesCopyright © 2002-2022 CS GROUP. All rights reserved.