Package svs_simulation :: Package simtime :: Module schedules :: Class SchedulePlayer
[show private | hide private]
[frames | no frames]

Class SchedulePlayer


Provides playback for schedules.
Method Summary
  __init__(self, schedule, startTime, endTime, timeStep, looping)
  nextFrame(self)
Returns next frame in schedule.
  reset(self)
Resets playback time to start.
  setSchedule(self, schedule, startTime)
Sets new schedule and resets playback.
  start(self, timeStep)
Starts playback.
  stop(self)
Stops playback.
  updateTime(self)
Increments SchedulePlayer.currentTime by SchedulePlayer.timeStep.
  updateWorld(self, simTime)
Responds to update cycle in world.

Method Details

nextFrame(self)

Returns next frame in schedule.

reset(self)

Resets playback time to start.

setSchedule(self, schedule, startTime=None)

Sets new schedule and resets playback.

start(self, timeStep=None)

Starts playback. If time step is specified uses this instead of default value (time_const.DEFAULT_TIMESTEP).

stop(self)

Stops playback.

updateTime(self)

Increments SchedulePlayer.currentTime by SchedulePlayer.timeStep.

updateWorld(self, simTime)

Responds to update cycle in world.

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