Class ContinueOnEvent<T extends EventDetector>

  • Type Parameters:
    T - class type for the generic version
    All Implemented Interfaces:
    EventHandler<T>

    public class ContinueOnEvent<T extends EventDetector>
    extends Object
    implements EventHandler<T>
    Event handler which will always return continue as a state.
    Since:
    6.1
    Author:
    Hank Grabowski
    • Constructor Detail

      • ContinueOnEvent

        public ContinueOnEvent()
    • Method Detail

      • eventOccurred

        public 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:
        continue under all circumstances