public abstract class UT2004VisionLocalWorldView extends BatchAwareLocalWorldView
AbstractLocalWorldView.LazyCompositeObjectMap<T extends ICompositeWorldObject>| Modifier and Type | Field and Description |
|---|---|
protected Collection<WorldObjectId> |
currentBatch |
protected Collection<WorldObjectId> |
lastBatch |
bufferedEvents, eventBuffersyncVisibleClassMap, syncVisibleMap, visibleClassMap, visibleMapnotifyEventsList, receiveEventProcessing, WORLDVIEW_DEPENDENCYactLocalWorldObjects, agentId, classMap, COMPONENT_ID, control, controller, eventBus, log, sharedWorldView, syncClassMap| Constructor and Description |
|---|
UT2004VisionLocalWorldView(ComponentDependencies dependencies,
ILifecycleBus bus,
IAgentLogger logger,
ISharedWorldView parentWorldView,
ITeamedAgentId agentId) |
| Modifier and Type | Method and Description |
|---|---|
protected ICompositeWorldObject |
createCompositeObject(ILocalWorldObject localObject,
ISharedWorldObject sharedObject,
IStaticWorldObject staticObject) |
protected void |
disappearObject(WorldObjectId id,
long time) |
protected void |
localEventNotify(ILocalWorldObjectUpdatedEvent event)
If the event updates a Viewable object, this method manages making it disappear when no update is recieved for it
- this means the object is not in FoW of our agent.
|
void |
notify(IWorldChangeEvent event) |
bufferObjectEvent, flushEvents, isBatchBeginEvent, isBatchEndEvent, isLocked, kill, lock, notifySharedBegin, objectAppeared, objectCreated, objectDestroyed, objectDisappeared, objectUpdated, sharedBatchFinished, stop, unlockaddVisible, getAllVisible, getAllVisible, getVisible, getVisible, objectUpdatedEvent, removeVisibleinnerNotify, notifyAfterPropagation, notifyImmediately, raiseEventaddEventListener, addLocalWorldObject, addObjectListener, addObjectListener, addObjectListener, addObjectListener, addOldLocalWorldObject, cleanUp, get, get, get, get, get, getAgentId, getAll, getAll, getAll, getAll, getComponentId, getCurrentTimeKey, getEventBus, getLocal, getLocal, getMostRecentLocalWorldObject, getSingle, getSingle, isListening, isListening, isListening, isListening, isListening, isListening, isPaused, isRunning, lockTime, pause, prePause, preStop, removeEventListener, removeListener, removeLocalWorldObject, removeObjectListener, removeObjectListener, removeObjectListener, removeObjectListener, reset, resume, setCurrentTime, setInitialTime, start, unlockTimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddEventListener, addObjectListener, addObjectListener, addObjectListener, addObjectListener, get, get, get, getAgentId, getAll, getAll, getCurrentTimeKey, getEventBus, getLocal, getSingle, isListening, isListening, isListening, isListening, isListening, isListening, lockTime, notifyImmediately, removeEventListener, removeListener, removeObjectListener, removeObjectListener, removeObjectListener, removeObjectListener, setCurrentTime, setInitialTime, unlockTimenotifyAfterPropagationgetComponentIdprotected Collection<WorldObjectId> lastBatch
protected Collection<WorldObjectId> currentBatch
public UT2004VisionLocalWorldView(ComponentDependencies dependencies, ILifecycleBus bus, IAgentLogger logger, ISharedWorldView parentWorldView, ITeamedAgentId agentId)
protected ICompositeWorldObject createCompositeObject(ILocalWorldObject localObject, ISharedWorldObject sharedObject, IStaticWorldObject staticObject)
createCompositeObject in class AbstractLocalWorldViewpublic void notify(IWorldChangeEvent event)
notify in interface IWorldChangeEventInputnotify in class BatchAwareLocalWorldViewprotected void disappearObject(WorldObjectId id, long time)
disappearObject in class BatchAwareLocalWorldViewprotected void localEventNotify(ILocalWorldObjectUpdatedEvent event)
event - Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.