cz.cuni.amis.pogamut.base.communication.worldview
Interface IWorldChangeEventInput

All Superinterfaces:
IComponent
All Known Subinterfaces:
ILockableVisionWorldView, ILockableWorldView, IVisionWorldView, IWorldView
All Known Implementing Classes:
AbstractWorldView, BatchAwareWorldView, EventDrivenWorldView, LockableBatchAwareWorldView, LockableWorldView, SyncLockableBatchAwareWorldView, UT2004LockableWorldView, UT2004SyncLockableWorldView, UT2004WorldView, VisionWorldView

public interface IWorldChangeEventInput
extends IComponent

Input interface for the world view. IWorldView receives new events through this interface.


Method Summary
 void notify(IWorldChangeEvent event)
          New event was generated from the world.
 void notifyImmediately(IWorldChangeEvent event)
          Notify immediately will process the event right away, it won't use "event recoursion buffer" to postpone the processing of the event.
 
Methods inherited from interface cz.cuni.amis.pogamut.base.component.IComponent
getComponentId
 

Method Detail

notify

void notify(IWorldChangeEvent event)
            throws ComponentNotRunningException,
                   ComponentPausedException
New event was generated from the world.

Parameters:
event -
Throws:
ComponentNotRunningException
ComponentPausedException

notifyImmediately

void notifyImmediately(IWorldChangeEvent event)
                       throws ComponentNotRunningException,
                              ComponentPausedException
Notify immediately will process the event right away, it won't use "event recoursion buffer" to postpone the processing of the event.

This will work even if the world view is locked!

Parameters:
event -
Throws:
ComponentNotRunningException
ComponentPausedException