| Package | Description |
|---|---|
| cz.cuni.amis.pogamut.multi.communication.worldview | |
| cz.cuni.amis.pogamut.multi.communication.worldview.impl | |
| cz.cuni.amis.pogamut.multi.utils.timekey |
| Modifier and Type | Method and Description |
|---|---|
TimeKey |
ILocalWorldView.getCurrentTimeKey() |
| Modifier and Type | Method and Description |
|---|---|
ISharedWorldObject |
ISharedWorldView.getShared(ITeamId teamId,
WorldObjectId objectId,
TimeKey time)
Returns the shared part of a requested object.
|
boolean |
ILocalWorldView.setCurrentTime(TimeKey timeKey) |
boolean |
ILocalWorldView.setInitialTime(TimeKey timeKey) |
| Modifier and Type | Field and Description |
|---|---|
protected cz.cuni.amis.utils.maps.WeakHashQuadMap<TimeKey,ITeamId,WorldObjectId,PropertyId,ISharedProperty> |
AbstractSharedWorldView.sharedProperties
Holds all sharedProperties in the world weakly-referenced by timeKey, this map is used for storing shadowCopies of properties.
|
protected cz.cuni.amis.utils.maps.WeakHashTriMap<TimeKey,ITeamId,WorldObjectId,ISharedWorldObject> |
AbstractSharedWorldView.sharedWorldObjects
Cached sharedWorldObjects.
|
protected Map<TimeKey,Map<ITeamId,Map<WorldObjectId,Map<PropertyId,ISharedProperty>>>> |
AbstractSharedWorldView.syncSharedProperties
Synchronized version of sharedProperties.
|
protected Map<TimeKey,Map<ITeamId,Map<WorldObjectId,ISharedWorldObject>>> |
AbstractSharedWorldView.syncSharedWorldObjects
Synchronized version of cached sharedWorldObjects.
|
protected Map<TimeKey,Map<Class,Map<WorldObjectId,IViewable>>> |
VisionLocalWorldView.syncVisibleClassMap
Synchronized version of visible objects sorted according to class.
|
protected Map<TimeKey,Map<WorldObjectId,IViewable>> |
VisionLocalWorldView.syncVisibleMap
Synchronized version of visible objects.
|
protected Map<TimeKey,Map<Class,Map<WorldObjectId,IViewable>>> |
VisionLocalWorldView.visibleClassMap
Map of all currently visible objects, sorted according to their classes.
|
protected Map<TimeKey,Map<WorldObjectId,IViewable>> |
VisionLocalWorldView.visibleMap
Map of all currently visible objects.
|
| Modifier and Type | Method and Description |
|---|---|
TimeKey |
AbstractLocalWorldView.getCurrentTimeKey() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ISharedWorldObject |
AbstractSharedWorldView.createSharedObject(Class msgClass,
WorldObjectId id,
ITeamId teamId,
TimeKey time)
Creates a sharedWorldObject of the specified id.
|
protected Map<WorldObjectId,ICompositeWorldObject> |
AbstractLocalWorldView.get(TimeKey time)
Returns a map of all CompositeWorldObjects in the world.
|
protected ICompositeWorldObject |
AbstractLocalWorldView.get(WorldObjectId objectId,
TimeKey time)
Returns the object actual to the specified TimeKey.
|
protected <T extends IWorldObject> |
AbstractLocalWorldView.getAll(Class<T> type,
TimeKey time)
Returns a lazy-implemented classMap containing CompositeWorldObjects current to the specified TimeKey.
|
protected Map<Class,Map<WorldObjectId,ICompositeWorldObject>> |
AbstractLocalWorldView.getAll(TimeKey time)
Returns all objects sorted according to class.
|
protected ILocalWorldObject |
AbstractLocalWorldView.getLocal(WorldObjectId objectId,
TimeKey time)
Returns the LocalObject associated with the provided TimeKey.
|
ISharedWorldObject |
AbstractSharedWorldView.getShared(ITeamId teamId,
WorldObjectId objectId,
TimeKey time) |
protected Collection<ISharedProperty> |
AbstractSharedWorldView.getSharedProperties(WorldObjectId objectId,
ITeamId teamId,
TimeKey time)
Returns all shared properties belonging to the specified object.
|
protected ISharedProperty |
AbstractSharedWorldView.getSharedProperty(PropertyId id,
ITeamId teamId,
TimeKey time)
Returns exactly the requested property
|
protected <T extends IWorldObject> |
AbstractLocalWorldView.getSingle(Class<T> cls,
TimeKey time) |
boolean |
AbstractLocalWorldView.setCurrentTime(TimeKey key) |
boolean |
AbstractLocalWorldView.setInitialTime(TimeKey key)
Method for initializing the first timeKey, returns false if the
TimeKey is already set.s
|
| Modifier and Type | Field and Description |
|---|---|
protected static Map<Long,WeakReference<TimeKey>> |
TimeKey.keys |
| Modifier and Type | Method and Description |
|---|---|
static TimeKey |
TimeKey.get(long time)
Returns the TimeKey object for the required time.
|
| Modifier and Type | Method and Description |
|---|---|
static List<WeakReference<TimeKey>> |
TimeKey.getAllKeys() |
| Modifier and Type | Method and Description |
|---|---|
int |
TimeKey.TimeKeyComparator.compare(TimeKey o1,
TimeKey o2) |
boolean |
TimeKeyManager.isLocked(TimeKey key) |
boolean |
ITimeKeyManager.isLocked(TimeKey key)
True if the provided timeKey is explicitly locked (lock(key) was called).
|
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.