org.robokind.impl.motion.messaging
Class PortableMotionFrameEvent

java.lang.Object
  extended by org.robokind.impl.motion.messaging.PortableMotionFrameEvent
All Implemented Interfaces:
org.robokind.api.motion.protocol.MotionFrameEvent

public class PortableMotionFrameEvent
extends Object
implements org.robokind.api.motion.protocol.MotionFrameEvent

Author:
Matthew Stevenson

Constructor Summary
PortableMotionFrameEvent(org.robokind.api.motion.protocol.MotionFrameEvent frameEvent)
           
PortableMotionFrameEvent(org.robokind.avrogen.motion.MotionFrameEventRecord frameEventRec)
           
PortableMotionFrameEvent(String sourceId, String destinationId, long currentTimeMillisecUTC, org.robokind.api.motion.protocol.MotionFrame<org.robokind.api.motion.Robot.RobotPositionMap> motionFrame)
           
 
Method Summary
 String getDestinationId()
           
 org.robokind.api.motion.protocol.MotionFrame<org.robokind.api.motion.Robot.RobotPositionMap> getMotionFrame()
           
 org.robokind.avrogen.motion.MotionFrameEventRecord getMotionFrameEventRecord()
           
 String getSourceId()
           
 long getTimestampMillisecUTC()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortableMotionFrameEvent

public PortableMotionFrameEvent(org.robokind.avrogen.motion.MotionFrameEventRecord frameEventRec)

PortableMotionFrameEvent

public PortableMotionFrameEvent(String sourceId,
                                String destinationId,
                                long currentTimeMillisecUTC,
                                org.robokind.api.motion.protocol.MotionFrame<org.robokind.api.motion.Robot.RobotPositionMap> motionFrame)

PortableMotionFrameEvent

public PortableMotionFrameEvent(org.robokind.api.motion.protocol.MotionFrameEvent frameEvent)
Method Detail

getSourceId

public String getSourceId()
Specified by:
getSourceId in interface org.robokind.api.motion.protocol.MotionFrameEvent

getDestinationId

public String getDestinationId()
Specified by:
getDestinationId in interface org.robokind.api.motion.protocol.MotionFrameEvent

getTimestampMillisecUTC

public long getTimestampMillisecUTC()
Specified by:
getTimestampMillisecUTC in interface org.robokind.api.motion.protocol.MotionFrameEvent

getMotionFrame

public org.robokind.api.motion.protocol.MotionFrame<org.robokind.api.motion.Robot.RobotPositionMap> getMotionFrame()
Specified by:
getMotionFrame in interface org.robokind.api.motion.protocol.MotionFrameEvent

getMotionFrameEventRecord

public org.robokind.avrogen.motion.MotionFrameEventRecord getMotionFrameEventRecord()


Copyright © 2011. All Rights Reserved.