Class ResetDerivativesOnEvent

  • All Implemented Interfaces:
    EventHandler

    public class ResetDerivativesOnEvent
    extends Object
    implements EventHandler
    Event handler which will always return stop as a state.
    Since:
    12.2
    Author:
    Romain Serra
    • Constructor Detail

      • ResetDerivativesOnEvent

        public ResetDerivativesOnEvent()
    • Method Detail

      • eventOccurred

        public Action eventOccurred​(SpacecraftState s,
                                    EventDetector detector,
                                    boolean increasing)
        Specific implementation of the eventOccurred interface.
        Specified by:
        eventOccurred in interface EventHandler
        Parameters:
        s - SpaceCraft state to be used in the evaluation
        detector - object with appropriate type that can be used in determining correct return state
        increasing - with the event occurred in an "increasing" or "decreasing" slope direction
        Returns:
        stop under all circumstances