| Modifier and Type | Method and Description |
|---|---|
ITeamId |
ITeamedAgentId.getTeamId()
Returns the teamId associated with this agentId.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TeamId |
| Modifier and Type | Field and Description |
|---|---|
protected ITeamId |
AgentTeamedId.teamId |
| Modifier and Type | Method and Description |
|---|---|
ITeamId |
TeamedAgentId.getTeamId() |
| Modifier and Type | Method and Description |
|---|---|
ITeamId |
ISharedWorldObjectUpdatedEvent.getTeamId() |
ITeamId |
ISharedPropertyUpdatedEvent.getTeamId() |
| Modifier and Type | Method and Description |
|---|---|
ISharedWorldObject |
ISharedWorldView.getShared(ITeamId teamId,
WorldObjectId objectId,
TimeKey time)
Returns the shared part of a requested object.
|
| Modifier and Type | Field and Description |
|---|---|
protected cz.cuni.amis.utils.maps.HashTriMap<ITeamId,WorldObjectId,PropertyId,ISharedProperty> |
AbstractSharedWorldView.currentSharedProperties
SharedProperties currently considered most-recent.
|
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<ITeamId,Map<WorldObjectId,Map<PropertyId,ISharedProperty>>> |
AbstractSharedWorldView.syncCurrentSharedProperties
Synchronized version of currentSharedProperties.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractSharedWorldView.addOldSharedProperty(ISharedProperty property,
ITeamId teamId,
long eventTime)
Adds the provided sharedProperty for all currently held timeKeys.
|
protected void |
AbstractSharedWorldView.addSharedProperty(ISharedProperty property,
ITeamId teamId)
adds this shared property only for the specified team
|
protected abstract ISharedWorldObject |
AbstractSharedWorldView.createSharedObject(Class msgClass,
WorldObjectId id,
ITeamId teamId,
TimeKey time)
Creates a sharedWorldObject of the specified id.
|
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 void |
EventDrivenSharedWorldView.objectUpdated(ITeamId teamId,
WorldObjectId objectId,
long time)
Must be called whenever an object was updated - raises correct event.
|
protected void |
EventDrivenSharedWorldView.propertyCreated(ISharedProperty property,
ITeamId team)
If team is null, the property will be created for all teams.
|
protected void |
EventDrivenSharedWorldView.propertyUpdated(ISharedProperty property,
ITeamId team)
Updates the property.
|
protected void |
AbstractSharedWorldView.removeSharedProperty(ISharedProperty property,
ITeamId teamId) |
| Modifier and Type | Method and Description |
|---|---|
ISharedPropertyUpdatedEvent |
ISharedProperty.createUpdateEvent(long time,
ITeamId teamId)
Creates an event updating a sharedProperty of the same id and the specified team to the same value as the parent property.
|
| Modifier and Type | Method and Description |
|---|---|
ITeamId |
AbstractSharedProperty.GenericPropertyUpdate.getTeamId() |
| Modifier and Type | Method and Description |
|---|---|
ISharedPropertyUpdatedEvent |
AbstractSharedProperty.createUpdateEvent(long time,
ITeamId teamId) |
| Constructor and Description |
|---|
AbstractSharedProperty.GenericPropertyUpdate(ISharedProperty data,
long time,
ITeamId teamId) |
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.