sk.robotics.rlcs.data
Class DetectionData

java.lang.Object
  extended by sk.robotics.rlcs.data.DetectionData
All Implemented Interfaces:
com.microstepmis.xplatform.CustomXmlMappable

public class DetectionData
extends java.lang.Object
implements com.microstepmis.xplatform.CustomXmlMappable

Structure for data received from detection. Objects of this class are mutable, detected robot positions get associated with robots upon identification, but no synchronization is needed to access objects of this class.


Nested Class Summary
static class DetectionData.Robot
           
 class DetectionData.XmlMappable
           
 
Constructor Summary
DetectionData(long timestamp, java.util.Collection<Position> robotPositions, java.awt.geom.AffineTransform transform)
           
 
Method Summary
 java.util.Collection<DetectionData.Robot> getRobots()
           
 long getTimeStamp()
           
 java.awt.geom.AffineTransform getTransform()
           
 java.lang.Object getXmlMappable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DetectionData

public DetectionData(long timestamp,
                     java.util.Collection<Position> robotPositions,
                     java.awt.geom.AffineTransform transform)
Method Detail

getTimeStamp

public long getTimeStamp()

getRobots

public java.util.Collection<DetectionData.Robot> getRobots()

getTransform

public java.awt.geom.AffineTransform getTransform()

getXmlMappable

public java.lang.Object getXmlMappable()
Specified by:
getXmlMappable in interface com.microstepmis.xplatform.CustomXmlMappable