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 LogReplayComponent
public void cleanup()
cleanup
in interface LogReplayComponent
public boolean canBeApplied(IMraLogGroup source, LogReplayComponent.Context context)
canBeApplied
in interface LogReplayComponent
public void parse(IMraLogGroup source)
parse
in interface LogReplayComponent
public java.lang.String[] getObservedMessages()
getObservedMessages
in interface LogReplayComponent
public void onMessage(pt.lsts.imc.IMCMessage message)
onMessage
in interface LogReplayComponent
public void paint(java.awt.Graphics2D g, StateRenderer2D renderer)
paint
in interface Renderer2DPainter
public boolean getVisibleByDefault()
getVisibleByDefault
in interface LogReplayComponent
Copyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.