cz.cuni.amis.pogamut.ut2004multi.communication.worldview
Class UT2004LockableLocalWorldView

Package class diagram package UT2004LockableLocalWorldView
java.lang.Object
  extended by cz.cuni.amis.pogamut.multi.communication.worldview.impl.AbstractLocalWorldView
      extended by cz.cuni.amis.pogamut.multi.communication.worldview.impl.EventDrivenLocalWorldView
          extended by cz.cuni.amis.pogamut.multi.communication.worldview.impl.VisionLocalWorldView
              extended by cz.cuni.amis.pogamut.multi.communication.worldview.impl.BatchAwareLocalWorldView
                  extended by cz.cuni.amis.pogamut.ut2004multi.communication.worldview.UT2004VisionLocalWorldView
                      extended by cz.cuni.amis.pogamut.ut2004multi.communication.worldview.UT2004LockableLocalWorldView
All Implemented Interfaces:
IWorldChangeEventInput, IComponent, ILocalWorldView, IVisionLocalWorldView

public class UT2004LockableLocalWorldView
extends UT2004VisionLocalWorldView

Implements the capability to recognize begin and end events and thus brings the capability to lock/unlock worldView.

Author:
srlok

Nested Class Summary
 
Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.multi.communication.worldview.impl.AbstractLocalWorldView
AbstractLocalWorldView.LazyCompositeObjectMap<T extends ICompositeWorldObject>
 
Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004multi.communication.worldview.UT2004VisionLocalWorldView
currentBatch, lastBatch
 
Fields inherited from class cz.cuni.amis.pogamut.multi.communication.worldview.impl.BatchAwareLocalWorldView
bufferedEvents, eventBuffer
 
Fields inherited from class cz.cuni.amis.pogamut.multi.communication.worldview.impl.VisionLocalWorldView
syncVisibleClassMap, syncVisibleMap, visibleClassMap, visibleMap
 
Fields inherited from class cz.cuni.amis.pogamut.multi.communication.worldview.impl.EventDrivenLocalWorldView
notifyEventsList, receiveEventProcessing, WORLDVIEW_DEPENDENCY
 
Fields inherited from class cz.cuni.amis.pogamut.multi.communication.worldview.impl.AbstractLocalWorldView
actLocalWorldObjects, agentId, classMap, COMPONENT_ID, control, controller, eventBus, log, sharedWorldView, syncClassMap
 
Constructor Summary
UT2004LockableLocalWorldView(ComponentDependencies dependencies, ILifecycleBus bus, IAgentLogger logger, IMediator mediator, ISharedWorldView parentWorldView, ITeamedAgentId agentId)
           
 
Method Summary
protected  boolean isBatchBeginEvent(IWorldChangeEvent event)
           
protected  boolean isBatchEndEvent(IWorldChangeEvent event)
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004multi.communication.worldview.UT2004VisionLocalWorldView
createCompositeObject, disappearObject, localEventNotify, notify
 
Methods inherited from class cz.cuni.amis.pogamut.multi.communication.worldview.impl.BatchAwareLocalWorldView
bufferObjectEvent, flushEvents, isLocked, kill, lock, notifySharedBegin, objectAppeared, objectCreated, objectDestroyed, objectDisappeared, objectUpdated, sharedBatchFinished, stop, unlock
 
Methods inherited from class cz.cuni.amis.pogamut.multi.communication.worldview.impl.VisionLocalWorldView
addVisible, getAllVisible, getAllVisible, getVisible, getVisible, objectUpdatedEvent, removeVisible
 
Methods inherited from class cz.cuni.amis.pogamut.multi.communication.worldview.impl.EventDrivenLocalWorldView
innerNotify, notifyAfterPropagation, notifyImmediately, raiseEvent
 
Methods inherited from class cz.cuni.amis.pogamut.multi.communication.worldview.impl.AbstractLocalWorldView
addEventListener, 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, unlockTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface cz.cuni.amis.pogamut.multi.communication.worldview.ILocalWorldView
addEventListener, 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, unlockTime
 
Methods inherited from interface cz.cuni.amis.pogamut.base.communication.worldview.IWorldChangeEventInput
notifyAfterPropagation
 
Methods inherited from interface cz.cuni.amis.pogamut.base.component.IComponent
getComponentId
 

Constructor Detail

UT2004LockableLocalWorldView

@Inject
public UT2004LockableLocalWorldView(ComponentDependencies dependencies,
                                           ILifecycleBus bus,
                                           IAgentLogger logger,
                                           IMediator mediator,
                                           ISharedWorldView parentWorldView,
                                           ITeamedAgentId agentId)
Method Detail

isBatchBeginEvent

protected boolean isBatchBeginEvent(IWorldChangeEvent event)
Specified by:
isBatchBeginEvent in class BatchAwareLocalWorldView

isBatchEndEvent

protected boolean isBatchEndEvent(IWorldChangeEvent event)
Specified by:
isBatchEndEvent in class BatchAwareLocalWorldView


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