Class PythonSwitchHandler

    • Constructor Detail

      • PythonSwitchHandler

        public PythonSwitchHandler()
    • Method Detail

      • pythonExtension

        public void pythonExtension​(long pythonObject)
        Part of JCC Python interface to object
      • pythonExtension

        public long pythonExtension()
        Part of JCC Python interface to object
      • pythonDecRef

        public void pythonDecRef()
        Part of JCC Python interface to object
      • switchOccurred

        public void switchOccurred​(AttitudeProvider preceding,
                                   AttitudeProvider following,
                                   SpacecraftState state)
        Method called when attitude is switched from one law to another law.
        Specified by:
        switchOccurred in interface AttitudesSequence.SwitchHandler
        Parameters:
        preceding - attitude law used preceding the switch (i.e. in the past of the switch event for a forward propagation, or in the future of the switch event for a backward propagation)
        following - attitude law used following the switch (i.e. in the future of the switch event for a forward propagation, or in the past of the switch event for a backward propagation)
        state - state at switch time (with attitude computed using the preceding law)