| Trees | Indices | Help |
|---|
|
|
object --+
|
TaskTools
Provides initialize and finalize methods for preparing and unpreparing the
data required by L{Tools} subclasses while a L{Task} or L{Perk} is executing.
Temporarily stores information such as the event layer, event L{POR}, and
timestamp.
@ivar acc_eng: Reference to L{AccessEngine} for task context
@type acc_eng: L{AccessEngine}
@ivar event_man: Reference to the L{EventManager}
@type event_man: L{EventManager}
@ivar view_man: Reference to the L{ViewManager}
@type view_man: L{ViewManager}
@ivar tier_man: Reference to the L{TierManager}
@type tier_man: L{TierManager}
@ivar device_man: Reference to the L{DeviceManager}
@type device_man: L{DeviceManager}
@ivar sett_man: Reference to the L{SettingsManager}
@type sett_man: L{SettingsManager}
@ivar tier: The L{Tier} owning the L{Task} or L{Perk} subclass
@type tier: L{Tier}
@ivar perk: The L{Perk} owning the L{Task} subclass
@type perk: L{Perk}
@ivar layer: Layer on which the event occurred
@type layer: integer
@ivar lsr_state: The state object shared across all L{Tier}s
@type lsr_state: L{AEState.AEState}
@ivar perk_state: The state object shared across all instances of this
L{Perk}
@type perk_state: L{AEState.AEState}
@ivar task_por: The L{POR} for the Task or Perk subclass, set by
L{preExecute}
@type task_por: L{POR}
@ivar tools_initialized: Is the instance ready to be executed?
@type tools_initialized: boolean
@ivar tools_auto_pointer: Should the task_por become the pointer after
execution?
@type tools_auto_pointer: boolean
@ivar def_out: Default output device to use for all
L{Task.Tools.Output.Output.say}
calls in this L{Perk} module.
@type def_out: weakref.proxy to L{AEOutput}
|
|||
|
|||
| boolean |
|
||
|
|||
|
|||
|
|||
| boolean |
|
||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Create the ivars and initialize them to None or reasonable defaults.
|
Initializes the references to the Perk, Tier, AccessEngine owning this instance of the TaskTools. Contacts the AccessEngine to get refs to all managers. These references are fixed throughout the life of the tools object. Called before state information is loaded from disk. |
Does nothing. Reserved for subclasses to initialize themselves. |
Frees the references to the Tier, Perk, and AccessEngine as well as all borrowed references from the AccessEngine. Releases references to state information. Intended to be called after close. |
Does nothing. Reserved for subclasses to finalize themselves. |
Configures this TaskTools object before execution.
|
Unconfigures this TaskTools object after execution. Automatically updates
the Tier pointer POR if , the |
Gets an output device based on the ideal capabilities requested by the current Perk. Creates a weak proxy for the device object. When the weak ref is no longer valid, this method is called again to find another suitable device.
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0beta1 on Mon Jun 4 15:33:23 2007 | http://epydoc.sourceforge.net |