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

Class StandaloneProcessHandler

ProcessHandler --+
                 |
                StandaloneProcessHandler


Does all processing as for world running as standalone process.
Method Summary
  __init__(self)
  addToWorld(self, world)
Called when added to simulation 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.
  notifyOfEvents(self, events)
Forwards event messages.
  postEvent(self, event)
Receives change event from component.
  setup(self, name)
  startWorld(self, simTime)
Forwards start call from world.
  stopWorld(self, simTime)
Forwards stop call from world.
  updateWorld(self, simTime)
Forwards update call from world.

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