public class HeadingSpeedDepth extends DefaultManeuver implements IMCSerialization
Maneuver.SPEED_UNITS, Maneuver.Z_UNITS
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
DEFAULT_ROOT_ELEMENT |
java.lang.String |
id |
circleDiam, CT_BOOLEAN, CT_NUMBER, CT_STRING, customSettings, customSettingsTypeHint, endActions, startActions
Constructor and Description |
---|
HeadingSpeedDepth() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Vector<com.l2fprod.common.propertysheet.DefaultProperty> |
additionalProperties() |
java.lang.Object |
clone()
A maneuver must have a way to clone itself.
|
double |
getDepth() |
int |
getDuration() |
double |
getHeading() |
java.lang.String |
getId() |
org.dom4j.Document |
getManeuverAsDocument(java.lang.String rootElementName) |
java.lang.String |
getPropertiesDialogTitle() |
java.lang.String[] |
getPropertiesErrors(com.l2fprod.common.propertysheet.Property[] properties) |
double |
getSpeed() |
double |
getSpeedTolerance() |
java.lang.String |
getTooltipText() |
java.lang.String |
getType()
The extending classes should provide a type name that will be shown to the user related to that maneuver.
|
java.lang.String |
getUnits() |
boolean |
isUseDepth() |
boolean |
isUseHeading() |
boolean |
isUseSpeed() |
void |
loadFromXML(java.lang.String xml) |
SystemPositionAndAttitude |
ManeuverFunction(SystemPositionAndAttitude lastVehicleState) |
void |
parseIMCMessage(pt.lsts.imc.IMCMessage message) |
pt.lsts.imc.IMCMessage |
serializeToIMC() |
void |
setDepth(double depth) |
void |
setDuration(int duration) |
void |
setHeading(double heading) |
void |
setId(java.lang.String id) |
void |
setProperties(com.l2fprod.common.propertysheet.Property[] properties) |
void |
setSpeed(double speed) |
void |
setSpeedTolerance(double speedTolerance) |
void |
setUnits(java.lang.String units) |
void |
setUseDepth(boolean useDepth) |
void |
setUseHeading(boolean useHeading) |
void |
setUseSpeed(boolean useSpeed) |
addTransition, asDocument, asDocument, asElement, asElement, asXML, asXML, clone, cloneActions, compareTo, createFromXML, endManeuver, getCustomSettings, getCustomSettingsTypeHint, getEndActions, getIcon, getManeuverXml, getMaxTime, getMinTime, getMissionType, getProperties, getReacheableManeuvers, getSamePositionManeuvers, getStartActions, getTransitionCondition, getXPosition, getYPosition, hasEnded, interpolate, isInitialManeuver, loadFromXMLExtraParameters, loadFromXMLExtraParameters, loadManeuverXml, paintOnMap, removeTransition, setCustomSettings, setCustomSettingsTypeHint, setInitialManeuver, setMaxTime, setMinTime, setMissionType, setXPosition, setYPosition, toString
protected static final java.lang.String DEFAULT_ROOT_ELEMENT
public java.lang.String id
public java.lang.String getType()
Maneuver
getType
in class DefaultManeuver
public org.dom4j.Document getManeuverAsDocument(java.lang.String rootElementName)
getManeuverAsDocument
in class DefaultManeuver
public void loadFromXML(java.lang.String xml)
loadFromXML
in class DefaultManeuver
public SystemPositionAndAttitude ManeuverFunction(SystemPositionAndAttitude lastVehicleState)
public boolean isUseHeading()
public void setUseHeading(boolean useHeading)
useHeading
- the useHeading to setpublic boolean isUseSpeed()
public void setUseSpeed(boolean useSpeed)
useSpeed
- the useSpeed to setpublic boolean isUseDepth()
public void setUseDepth(boolean useDepth)
useDepth
- the useDepth to setpublic double getDepth()
public void setDepth(double depth)
public java.lang.String getUnits()
public void setUnits(java.lang.String units)
public double getSpeed()
public void setSpeed(double speed)
public double getSpeedTolerance()
public void setSpeedTolerance(double speedTolerance)
public double getHeading()
public void setHeading(double heading)
public int getDuration()
public void setDuration(int duration)
duration
- the duration to setpublic java.lang.Object clone()
Maneuver
clone
in class DefaultManeuver
protected java.util.Vector<com.l2fprod.common.propertysheet.DefaultProperty> additionalProperties()
additionalProperties
in class Maneuver
public java.lang.String getPropertiesDialogTitle()
getPropertiesDialogTitle
in interface PropertiesProvider
getPropertiesDialogTitle
in class Maneuver
public void setProperties(com.l2fprod.common.propertysheet.Property[] properties)
setProperties
in interface PropertiesProvider
setProperties
in class Maneuver
public java.lang.String[] getPropertiesErrors(com.l2fprod.common.propertysheet.Property[] properties)
getPropertiesErrors
in interface PropertiesProvider
getPropertiesErrors
in class Maneuver
public java.lang.String getTooltipText()
getTooltipText
in class Maneuver
public void parseIMCMessage(pt.lsts.imc.IMCMessage message)
parseIMCMessage
in interface IMCSerialization
public pt.lsts.imc.IMCMessage serializeToIMC()
serializeToIMC
in interface IMCSerialization
Copyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.