Package org.orekit.propagation.sampling
Class OrekitStepHandlerMultiplexer
- java.lang.Object
-
- org.orekit.propagation.sampling.OrekitStepHandlerMultiplexer
-
- All Implemented Interfaces:
OrekitStepHandler
public class OrekitStepHandlerMultiplexer extends Object implements OrekitStepHandler
This class gathers severalOrekitStepHandlerinstances into one.- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description OrekitStepHandlerMultiplexer()Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(OrekitStepHandler handler)Add a step handler.voidhandleStep(OrekitStepInterpolator interpolator, boolean isLast)Handle the current step.voidinit(SpacecraftState s0, AbsoluteDate t)Initialize step handler at the start of a propagation.
-
-
-
Method Detail
-
add
public void add(OrekitStepHandler handler)
Add a step handler.- Parameters:
handler- step handler to add
-
init
public void init(SpacecraftState s0, AbsoluteDate t)
Initialize step handler at the start of a propagation.This method is called once at the start of the propagation. It may be used by the step handler to initialize some internal data if needed.
The default method does nothing
- Specified by:
initin interfaceOrekitStepHandler- Parameters:
s0- initial statet- target time for the integration
-
handleStep
public void handleStep(OrekitStepInterpolator interpolator, boolean isLast)
Handle the current step.- Specified by:
handleStepin interfaceOrekitStepHandler- Parameters:
interpolator- interpolator set up for the current stepisLast- if true, this is the last integration step
-
-