Package svs_analysis :: Package visualisation :: Module timeline :: Class TimeFrame
[show private | hide private]
[frames | no frames]

Class TimeFrame

Jellyable --+        
            |        
 Serializable --+    
                |    
         Copyable --+
                    |
  Unjellyable --+   |
                |   |
       RemoteCopy --+
                    |
                   TimeFrame


Holds data for an individual frame within a node.
Method Summary
  __init__(self)
  addEvent(self, newevent)
Adds an event to this frame.
  display(self, displayContext)
  getStateToCopy(self)
Gather state to send when I am serialized for a peer.
  setCopyableState(self, state)
I will be invoked with the state to copy locally.
    Inherited from Copyable
  getStateToCopyFor(self, perspective)
Gather state to send when I am serialized for a particular perspective.
  getTypeToCopy(self)
Determine what type tag to send for me.
  getTypeToCopyFor(self, perspective)
Determine what type tag to send for me.
  jellyFor(self, jellier)
Assemble type tag and state to copy for this broker.
    Inherited from Serializable
  processUniqueID(self)
Return an ID which uniquely represents this object for this process.
    Inherited from Jellyable
  getStateFor(self, jellier)
    Inherited from RemoteCopy
  unjellyFor(self, unjellier, jellyList)
    Inherited from Unjellyable
  setStateFor(self, unjellier, state)

Class Variable Summary
    Inherited from Serializable
Implements __implemented__ = <implementedBy twisted.spread.flavors....
_implementsTuple __implements__ = (<MetaInterface twisted.spread.interfac...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
    Inherited from Jellyable
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...

Method Details

addEvent(self, newevent)

Adds an event to this frame.

getStateToCopy(self)

Gather state to send when I am serialized for a peer.

I will default to returning self.__dict__. Override this to customize this behavior.
Overrides:
twisted.spread.flavors.Copyable.getStateToCopy (inherited documentation)

setCopyableState(self, state)

I will be invoked with the state to copy locally.

'state' is the data returned from the remote object's 'getStateToCopyFor' method, which will often be the remote object's dictionary (or a filtered approximation of it depending on my peer's perspective).
Overrides:
twisted.spread.flavors.RemoteCopy.setCopyableState (inherited documentation)

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