Package svs_core :: Package time :: Module timeline :: Class Timeline
[show private | hide private]
[frames | no frames]

Class Timeline


Holds time-based representation of CVS project, enabling it to be accessed at different points of time.
Method Summary
  __init__(self)
  addEvent(self, newEvent)
Adds a new event into the timeline.
  addFrame(self, frame, timecode, merge)
Adds frame into timeline at specified index.
TimeFrame getFrame(self, timecode, defaultReturn)
Returns frame at specified timecode on node.

Method Details

addEvent(self, newEvent)

Adds a new event into the timeline.

addFrame(self, frame, timecode=None, merge=False)

Adds frame into timeline at specified index.

The position of the frame is determined by its own timecode, or one that is specified with the command. If a timecode is given, this replaces the original timecode of the frame.
Raises:
TimelineException - If no timecode is specified nor defined by the frame itself.

getFrame(self, timecode, defaultReturn=None)

Returns frame at specified timecode on node.

If no frame is found at specified timecode, returns None or the specified defaultReturn object.
Parameters:
timecode - timecode to search for frame
           (type=Timecode)
defaultReturn - returned if nothing found
           (type=object)
Returns:
frame at specified path timecode
           (type=TimeFrame)

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