sk.robotics.rlcs.data
Class TimedPosition

java.lang.Object
  extended by sk.robotics.rlcs.data.Position
      extended by sk.robotics.rlcs.data.TimedPosition
All Implemented Interfaces:
com.microstepmis.xplatform.CustomXmlMappable, java.lang.Comparable<Position>

public class TimedPosition
extends Position

Robot position at specific time. For use with PositionQueue. Objects of this class are immutable.


Nested Class Summary
 class TimedPosition.XmlMappable
           
 
Constructor Summary
TimedPosition(Position pos)
           
TimedPosition(Position pos, long time)
           
 
Method Summary
 long getTimeStamp()
           
 TimedPosition.XmlMappable getXmlMappable()
           
 
Methods inherited from class sk.robotics.rlcs.data.Position
asPoint2D, compareTo, directionTo, directionTo, directionTo, distance, distance, equals, getHeading, getPosX, getPosY, getX, getY, hashCode, headingDiff, headingDiff, headingDiff, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimedPosition

public TimedPosition(Position pos,
                     long time)

TimedPosition

public TimedPosition(Position pos)
Method Detail

getTimeStamp

public long getTimeStamp()

getXmlMappable

public TimedPosition.XmlMappable getXmlMappable()
Specified by:
getXmlMappable in interface com.microstepmis.xplatform.CustomXmlMappable
Overrides:
getXmlMappable in class Position