fr.cnes.genopus.nonWidget.maneuvers
Class CustomManeuverSequence

java.lang.Object
  extended by fr.cnes.sirius.patrius.forces.maneuvers.ManeuversSequence
      extended by fr.cnes.genopus.nonWidget.maneuvers.CustomManeuverSequence

public class CustomManeuverSequence
extends fr.cnes.sirius.patrius.forces.maneuvers.ManeuversSequence

This class contains the maneuvers sequence data.

Author:
sumelzi, bacr, ffsm

Constructor Summary
CustomManeuverSequence(ArrayList<CustomManeuverInterface> maneuversList, double constraintImpulsive, double constraintContinuous)
          Creates a new instance with a list of custom maneuvers.
 
Method Summary
 void addManeuver(CustomManeuverInterface man)
          Method to add a maneuver to the maneuver sequence.
 double getConstraintContinuous()
          Get the time constraint for continuous maneuvers.
 double getConstraintImpulsive()
          Get the time constraint for impulsive maneuvers.
 List<org.orekit.propagation.events.EventDetector> getLoggedManeuversDetectors()
          Get list of maneuvers events.
 ArrayList<CustomManeuverInterface> getManeuversList()
          Get the custom maneuvers list.
 void setManeuversDetectors(fr.cnes.sirius.patrius.events.CodedEventsLogger logger)
          Set list of maneuvers events.
 String toString()
          
 
Methods inherited from class fr.cnes.sirius.patrius.forces.maneuvers.ManeuversSequence
add, add, add, applyTo, getSize, remove, remove, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CustomManeuverSequence

public CustomManeuverSequence(ArrayList<CustomManeuverInterface> maneuversList,
                              double constraintImpulsive,
                              double constraintContinuous)
Creates a new instance with a list of custom maneuvers.

Parameters:
maneuversList - the maneuvers list
constraintImpulsive - time constraint for impulsive maneuvers
constraintContinuous - time constraint for continuous maneuvers
Method Detail

getManeuversList

public ArrayList<CustomManeuverInterface> getManeuversList()
Get the custom maneuvers list.

Returns:
the custom maneuvers list

getConstraintImpulsive

public double getConstraintImpulsive()
Get the time constraint for impulsive maneuvers.

Returns:
the time constraint

getConstraintContinuous

public double getConstraintContinuous()
Get the time constraint for continuous maneuvers.

Returns:
the time constraint

addManeuver

public void addManeuver(CustomManeuverInterface man)
                 throws NonWidgetException
Method to add a maneuver to the maneuver sequence. IMPORTANT! it is mandatory to use this method instead of ManeuversSequence#add() to avoid disorders in the maneuvers list.

Parameters:
man - maneuver to be added
Throws:
NonWidgetException - if the Maneuver type is not accepted or if the constraints are not respected.

setManeuversDetectors

public void setManeuversDetectors(fr.cnes.sirius.patrius.events.CodedEventsLogger logger)
                           throws NonWidgetException
Set list of maneuvers events.

Parameters:
logger - coded events logger
Throws:
NonWidgetException - if maneuvers are wrongly defined

getLoggedManeuversDetectors

public List<org.orekit.propagation.events.EventDetector> getLoggedManeuversDetectors()
                                                                              throws NonWidgetException
Get list of maneuvers events.

Returns:
the listEventDetectors
Throws:
NonWidgetException - if events list was not previously set

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2017. All rights reserved.