Package svs_simulation :: Package world :: Module processes :: Class AgentGroupProcessHandlerProxy
[show private | hide private]
[frames | no frames]

Class AgentGroupProcessHandlerProxy

        ProcessHandler --+        
                         |        
       ProcessHandlerProxy --+    
                             |    
EntityGroupProcessHandlerProxy --+
                                 |
                                AgentGroupProcessHandlerProxy


Represents remote process handler that manages a group of agents.
Method Summary
  __init__(self, localClient, remoteClient, groupNames)
  addToWorld(self, world)
Called when added to simulation world.
    Inherited from ProcessHandlerProxy
  connectToClient(self, remoteClient)
Called when client connects to world, forwards necessary data.
  disconnectFromClient(self)
Called when client discconnects from world.
  notifyOfEvents(self, events)
Forwards event messages.
  startWorld(self, simTime)
Forwards start call from world.
  stopWorld(self, simTime)
Forwards stop call from world.
  updateWorld(self, simTime)
Forwards update call from world.
    Inherited from ProcessHandler
  addComponent(self, component)
Adds new component to process making sure that it is not already present.
  decode(self, data)
Applies encoded data to self.
  encode(self)
Returns encoded representation of self.
  getChanges(self)
Return changes that have occurred during last update.
  postEvent(self, event)
Receives change event from component.
  setup(self, name)

Method Details

addToWorld(self, world)

Called when added to simulation world.

This should be overridden by extending classes to setup components for processing.
Overrides:
svs_simulation.world.processes.ProcessHandler.addToWorld

Generated by Epydoc 2.1 on Thu Oct 20 15:30:28 2005 http://epydoc.sf.net