OrekitStepHandler
public class OrekitStepHandlerMultiplexer extends Object implements OrekitStepHandler
OrekitStepHandler
instances into one.Constructor | Description |
---|---|
OrekitStepHandlerMultiplexer() |
Simple constructor.
|
Modifier and Type | Method | Description |
---|---|---|
void |
add(OrekitStepHandler handler) |
Add a step handler.
|
void |
handleStep(OrekitStepInterpolator interpolator,
boolean isLast) |
Handle the current step.
|
void |
init(SpacecraftState s0,
AbsoluteDate t) |
Initialize step handler at the start of a propagation.
|
public OrekitStepHandlerMultiplexer()
public void add(OrekitStepHandler handler)
handler
- step handler to addpublic void init(SpacecraftState s0, AbsoluteDate t)
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
init
in interface OrekitStepHandler
s0
- initial statet
- target time for the integrationpublic void handleStep(OrekitStepInterpolator interpolator, boolean isLast)
handleStep
in interface OrekitStepHandler
interpolator
- interpolator set up for the current stepisLast
- if true, this is the last integration stepCopyright © 2002-2019 CS Systèmes d'information. All rights reserved.