Home | Trees | Indices | Help |
|
---|
|
object --+ | Manager
Manager
This is the base Manager of the BaseComponent which manages an Event Queue, a set of Event Handlers, Channels, Tick Functions, Registered and Hidden Components, a Task and the Running State.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
object |
|
||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Instance Variables | |
manager The Manager of this Component or Manager |
Properties | |
name | |
running | |
state | |
Inherited from |
Method Details |
initializes x; see x.__class__.__doc__ for signature
|
repr(x)
|
len(x) Returns the number of events in the Event Queue. |
x+y (Optional) Convenience operator to register y with x Equivalent to: y.register(x)
|
x += y (Optional) Convenience operator to register y with x Equivalent to: y.register(x)
|
x-y (Optional) Convenience operator to unregister y from x.manager Equivalent to: y.unregister()
|
x -= y (Optional) Convenience operator to unregister y from x Equivalent to: y.unregister()
|
Push a new Event into the queue This will push the given Event, Channel and Target onto the Event Queue for later processing. if target is None, then target will be set as the Channel of the current Component, self.channel (defaulting back to None). If this Component's Manager is itself, enqueue on this Component's Event Queue, otherwise enqueue on this Component's Manager.
|
Flush all Events in the Event Queue This will flush all Events in the Event Queue. If this Component's Manager is itself, flush all Events from this Component's Event Queue, otherwise, flush all Events from this Component's Manager's Event Queue. |
Send a new Event to Event Handlers for the Target and Channel This will send the given Event, to the spcified CHannel on the Target Component's Channel. if target is None, then target will be set as the Channel of the current Component, self.channel (defaulting back to None). If this Component's Manager is itself, enqueue on this Component's Event Queue, otherwise enqueue on this Component's Manager.
|
Property Details |
name
|
running
|
state
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Feb 4 00:24:46 2010 | http://epydoc.sourceforge.net |