cz.cuni.amis.pogamut.multi.communication.worldview.object
Interface ISharedWorldObject

Package class diagram package ISharedWorldObject
All Superinterfaces:
Cloneable, IWorldObject

public interface ISharedWorldObject
extends IWorldObject, Cloneable

general interface for all sharedWorldObjects.

Author:
srlok

Method Summary
 ISharedWorldObject clone()
           
 Class getCompositeClass()
           
 Map<PropertyId,ISharedProperty> getProperties()
           
 ISharedProperty getProperty(PropertyId id)
           
 long getSimTime()
          Returns world time when the object was seen/updated for the last time.
 
Methods inherited from interface cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObject
getId
 

Method Detail

getSimTime

long getSimTime()
Returns world time when the object was seen/updated for the last time.

The time suppose to be growing as the simulation carries on.

Always should be actual_timestamp >= any_prevously_recorded_timestamp,

object1.getLastSeenTime() > object2.getLastSeenTime() means that object1 last seen after object2

Specified by:
getSimTime in interface IWorldObject
Returns:

clone

ISharedWorldObject clone()

getProperty

ISharedProperty getProperty(PropertyId id)

getProperties

Map<PropertyId,ISharedProperty> getProperties()

getCompositeClass

Class getCompositeClass()


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