public class PatriusStepHandlerMultiplexer extends Object implements PatriusStepHandler
PatriusStepHandler instances into one.| Constructor and Description |
|---|
PatriusStepHandlerMultiplexer()
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(PatriusStepHandler handler)
Add a step handler.
|
void |
handleStep(PatriusStepInterpolator interpolator,
boolean isLast)
Handle the current step.
|
void |
init(SpacecraftState s0,
AbsoluteDate t)
Initialize step handler at the start of a propagation.
|
public PatriusStepHandlerMultiplexer()
public void add(PatriusStepHandler 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.
init in interface PatriusStepHandlers0 - initial statet - target time for the integrationpublic void handleStep(PatriusStepInterpolator interpolator, boolean isLast) throws PropagationException
handleStep in interface PatriusStepHandlerinterpolator - interpolator set up for the current stepisLast - if true, this is the last integration stepPropagationException - if step cannot be handledCopyright © 2021 CNES. All rights reserved.