Class StopOnEvent<T extends EventDetector>

    • Constructor Detail

      • StopOnEvent

        public StopOnEvent()
    • Method Detail

      • eventOccurred

        public EventHandler.Action eventOccurred​(SpacecraftState s,
                                                 T detector,
                                                 boolean increasing)
        Specific implementation of the eventOccurred interface.
        Specified by:
        eventOccurred in interface EventHandler<T extends EventDetector>
        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