Class StopOnEvent<T extends EventDetector>
- java.lang.Object
-
- org.orekit.propagation.events.handlers.StopOnEvent<T>
-
- Type Parameters:
T
- class type for the generic version
- All Implemented Interfaces:
Serializable
,EventHandler<T>
public class StopOnEvent<T extends EventDetector> extends Object implements EventHandler<T>, Serializable
Event handler which will always returnstop
as a state.- Since:
- 6.1
- Author:
- Hank Grabowski
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.orekit.propagation.events.handlers.EventHandler
EventHandler.Action
-
-
Constructor Summary
Constructors Constructor Description StopOnEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventHandler.Action
eventOccurred(SpacecraftState s, T detector, boolean increasing)
Specific implementation of the eventOccurred interface.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.propagation.events.handlers.EventHandler
init, resetState
-
-
-
-
Method Detail
-
eventOccurred
public EventHandler.Action eventOccurred(SpacecraftState s, T detector, boolean increasing)
Specific implementation of the eventOccurred interface.- Specified by:
eventOccurred
in interfaceEventHandler<T extends EventDetector>
- Parameters:
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 direction- Returns:
stop
under all circumstances
-
-