public class SimulatedStateReplay extends java.lang.Object implements LogReplayLayer
LogReplayComponent.Context| Modifier and Type | Field and Description |
|---|---|
protected int |
currentPos |
protected double |
lastRotation |
protected double |
lastZoom |
protected LocationType |
navStartup |
protected java.awt.geom.GeneralPath |
path1 |
protected java.awt.geom.GeneralPath |
path2 |
protected LocationType |
pos |
protected java.util.Vector<LocationType> |
positions |
protected java.util.Vector<java.lang.Double> |
timestamps |
| Constructor and Description |
|---|
SimulatedStateReplay() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeApplied(IMraLogGroup source,
LogReplayComponent.Context context) |
void |
cleanup() |
java.lang.String |
getName() |
java.lang.String[] |
getObservedMessages() |
boolean |
getVisibleByDefault() |
void |
onMessage(pt.lsts.imc.IMCMessage message) |
void |
paint(java.awt.Graphics2D g,
StateRenderer2D renderer) |
void |
parse(IMraLogGroup source) |
protected java.util.Vector<LocationType> positions
protected java.util.Vector<java.lang.Double> timestamps
protected int currentPos
protected java.awt.geom.GeneralPath path1
protected java.awt.geom.GeneralPath path2
protected double lastZoom
protected double lastRotation
protected LocationType navStartup
protected LocationType pos
public java.lang.String getName()
getName in interface LogReplayComponentpublic void cleanup()
cleanup in interface LogReplayComponentpublic boolean canBeApplied(IMraLogGroup source, LogReplayComponent.Context context)
canBeApplied in interface LogReplayComponentpublic void parse(IMraLogGroup source)
parse in interface LogReplayComponentpublic java.lang.String[] getObservedMessages()
getObservedMessages in interface LogReplayComponentpublic void onMessage(pt.lsts.imc.IMCMessage message)
onMessage in interface LogReplayComponentpublic void paint(java.awt.Graphics2D g,
StateRenderer2D renderer)
paint in interface Renderer2DPainterpublic boolean getVisibleByDefault()
getVisibleByDefault in interface LogReplayComponentCopyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.