cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class VehicleLocalImpl.VehicleLocalUpdate

Package class diagram package VehicleLocalImpl.VehicleLocalUpdate
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.VehicleLocalImpl.VehicleLocalUpdate
All Implemented Interfaces:
IWorldChangeEvent, IWorldEvent, IWorldObjectEvent, ILocalWorldObjectUpdatedEvent, IGBWorldObjectEvent, cz.cuni.amis.utils.listener.Event
Enclosing class:
VehicleLocalImpl

public static class VehicleLocalImpl.VehicleLocalUpdate
extends Object
implements ILocalWorldObjectUpdatedEvent, IGBWorldObjectEvent


Field Summary
protected  VehicleLocal data
           
protected  long time
           
 
Constructor Summary
VehicleLocalImpl.VehicleLocalUpdate(VehicleLocal moverLocal, long time)
           
 
Method Summary
 WorldObjectId getId()
           
 IWorldObject getObject()
           
 long getSimTime()
          Simulation time in MILLI SECONDS !!!
 IWorldObjectUpdateResult<ILocalWorldObject> update(ILocalWorldObject object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

time

protected long time

data

protected VehicleLocal data
Constructor Detail

VehicleLocalImpl.VehicleLocalUpdate

public VehicleLocalImpl.VehicleLocalUpdate(VehicleLocal moverLocal,
                                           long time)
Method Detail

update

public IWorldObjectUpdateResult<ILocalWorldObject> update(ILocalWorldObject object)
Specified by:
update in interface ILocalWorldObjectUpdatedEvent

getSimTime

public long getSimTime()
Simulation time in MILLI SECONDS !!!

Specified by:
getSimTime in interface IWorldChangeEvent
Specified by:
getSimTime in interface IWorldEvent

getObject

public IWorldObject getObject()
Specified by:
getObject in interface IWorldObjectEvent

getId

public WorldObjectId getId()
Specified by:
getId in interface IWorldObjectEvent
Specified by:
getId in interface ILocalWorldObjectUpdatedEvent


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.