Package org.orekit.propagation.events.handlers
This package provides an interface and classes dealing with events occurrence only.
It is mainly a trimmed-down version of EventDetector
that allows to separate the handling of the event once it has been
detected from the prior detection itself.
A separate interface allows a simpler use of predefined events, as in this case user only wants to specialize what to do once the event occurs and often does not want to change the detection code. It also allows to share a handler amon several detectors.
- Since:
- 6.1
- Author:
- Hank Grabowski
-
Interface Summary Interface Description EventHandler<T extends EventDetector> An interface defining how to override event handling behavior in the standard propagator eventing classes without requiring subclassing.FieldEventHandler<KK extends FieldEventDetector<T>,T extends org.hipparchus.RealFieldElement<T>> An interface defining how to override event handling behavior in the standard propagator eventing classes without requiring subclassing. -
Class Summary Class Description ContinueOnEvent<T extends EventDetector> Event handler which will always returncontinue
as a state.FieldContinueOnEvent<KK extends FieldEventDetector<T>,T extends org.hipparchus.RealFieldElement<T>> Event handler which will always returncontinue
as a state.FieldStopOnDecreasing<KK extends FieldEventDetector<T>,T extends org.hipparchus.RealFieldElement<T>> Handle a detection event and choose what to do next.FieldStopOnEvent<KK extends FieldEventDetector<T>,T extends org.hipparchus.RealFieldElement<T>> Event handler which will always returncontinue
as a state.FieldStopOnIncreasing<KK extends FieldEventDetector<T>,T extends org.hipparchus.RealFieldElement<T>> Handle a detection event and choose what to do next.RecordAndContinue<T extends EventDetector> Handler that will record every time an event occurs and always returnEventHandler.Action.CONTINUE
.RecordAndContinue.Event<T> A single event detected during propagation.StopOnDecreasing<T extends EventDetector> Handle a detection event and choose what to do next.StopOnEvent<T extends EventDetector> Event handler which will always returnstop
as a state.StopOnIncreasing<T extends EventDetector> Handle a detection event and choose what to do next. -
Enum Summary Enum Description EventHandler.Action Enumerate for actions to be performed when an event occurs.FieldEventHandler.Action Enumerate for actions to be performed when an event occurs.