public class FieldOrekitStepHandlerMultiplexer<T extends RealFieldElement<T>> extends Object implements FieldOrekitStepHandler<T>
OrekitStepHandler
instances into one.Constructor and Description |
---|
FieldOrekitStepHandlerMultiplexer()
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(FieldOrekitStepHandler<T> handler)
Add a step handler.
|
void |
handleStep(FieldOrekitStepInterpolator<T> interpolator,
boolean isLast)
Handle the current step.
|
void |
init(FieldSpacecraftState<T> s0,
FieldAbsoluteDate<T> t)
Initialize step handler at the start of a propagation.
|
public FieldOrekitStepHandlerMultiplexer()
public void add(FieldOrekitStepHandler<T> handler)
handler
- step handler to addpublic void init(FieldSpacecraftState<T> s0, FieldAbsoluteDate<T> t) throws OrekitException
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.
init
in interface FieldOrekitStepHandler<T extends RealFieldElement<T>>
s0
- initial statet
- target time for the integrationOrekitException
- if step handler cannot be initializedpublic void handleStep(FieldOrekitStepInterpolator<T> interpolator, boolean isLast) throws OrekitException
handleStep
in interface FieldOrekitStepHandler<T extends RealFieldElement<T>>
interpolator
- interpolator set up for the current stepisLast
- if true, this is the last integration stepOrekitException
- if step cannot be handledCopyright © 2002-2017 CS Systèmes d'information. All rights reserved.