org.robokind.impl.animation.messaging
Class PortableAnimationEvent

java.lang.Object
  extended by org.robokind.impl.animation.messaging.PortableAnimationEvent
All Implemented Interfaces:
org.robokind.api.animation.protocol.AnimationEvent

public class PortableAnimationEvent
extends Object
implements org.robokind.api.animation.protocol.AnimationEvent

AnimationEvent which wraps an AnimationEventRecord.

Author:
Matthew Stevenson

Constructor Summary
PortableAnimationEvent(org.robokind.api.animation.protocol.AnimationEvent event)
           
PortableAnimationEvent(org.robokind.avrogen.animation.AnimationEventRecord eventRec)
           
PortableAnimationEvent(String sourceId, String destinationId, long currentTime, org.robokind.api.animation.Animation anim)
           
 
Method Summary
 org.robokind.api.animation.Animation getAnimation()
           
 org.robokind.avrogen.animation.AnimationEventRecord getAnimationEventRecord()
           
 String getDestinationId()
           
 String getSourceId()
           
 long getTimestampMillisecUTC()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortableAnimationEvent

public PortableAnimationEvent(org.robokind.avrogen.animation.AnimationEventRecord eventRec)

PortableAnimationEvent

public PortableAnimationEvent(org.robokind.api.animation.protocol.AnimationEvent event)

PortableAnimationEvent

public PortableAnimationEvent(String sourceId,
                              String destinationId,
                              long currentTime,
                              org.robokind.api.animation.Animation anim)
Method Detail

getSourceId

public String getSourceId()
Specified by:
getSourceId in interface org.robokind.api.animation.protocol.AnimationEvent

getDestinationId

public String getDestinationId()
Specified by:
getDestinationId in interface org.robokind.api.animation.protocol.AnimationEvent

getTimestampMillisecUTC

public long getTimestampMillisecUTC()
Specified by:
getTimestampMillisecUTC in interface org.robokind.api.animation.protocol.AnimationEvent

getAnimation

public org.robokind.api.animation.Animation getAnimation()
Specified by:
getAnimation in interface org.robokind.api.animation.protocol.AnimationEvent

getAnimationEventRecord

public org.robokind.avrogen.animation.AnimationEventRecord getAnimationEventRecord()


Copyright © 2011. All Rights Reserved.