T
- class type for the generic versionSerializable
, EventHandler<T>
public class StopOnEvent<T extends EventDetector> extends Object implements EventHandler<T>, Serializable
stop
as a state.EventHandler.Action
Constructor | Description |
---|---|
StopOnEvent() |
Modifier and Type | Method | Description |
---|---|---|
EventHandler.Action |
eventOccurred(SpacecraftState s,
T detector,
boolean increasing) |
Specific implementation of the eventOccurred interface.
|
init, resetState
public EventHandler.Action eventOccurred(SpacecraftState s, T detector, boolean increasing) throws OrekitException
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 circumstancesOrekitException
- if some specific error occursCopyright © 2002-2018 CS Systèmes d'information. All rights reserved.