| Trees | Indices | Help |
|---|
|
|
object --+
|
Base.TaskTools --+
|
System
Provides methods for managing Tiers, Perks, and Tasks.
|
|||
| string |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
| list of string |
|
||
| list of string |
|
||
| list of string |
|
||
| list of string |
|
||
| list of 3-tuple of string |
|
||
| list of 3-tuple of string |
|
||
| list of 3-tuple of string |
|
||
| list of 3-tuple of string |
|
||
| list of string |
|
||
| list of string |
|
||
| list of string |
|
||
| list of string |
|
||
| list of string |
|
||
| list of string |
|
||
| list of string |
|
||
| list of string |
|
||
| list of string |
|
||
| list of string |
|
||
| list of string |
|
||
| list of string |
|
||
|
|||
|
|||
|
|||
|
|||
| Task.Base.Task |
|
||
| list of Task.Base.Task |
|
||
| Task.Base.Task |
|
||
| list of Task.Base.Task |
|
||
| AEState |
|
||
| AEState |
|
||
| boolean |
|
||
| boolean |
|
||
|
|||
|
|||
| AEChooser |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| object |
|
||
|
|||
| object |
|
||
| object |
|
||
| object |
|
||
| object |
|
||
| object |
|
||
|
|||
| list of 2-tuple of string |
|
||
| list of string |
|
||
| list of string |
|
||
| string |
|
||
| string |
|
||
| list of string |
|
||
| list of string |
|
||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Gets the name of the profile LSR is running under.
|
Adds one or more Perks to the top of the stack. If more than one Perk is specified, the last specified Perk will be at the top of the stack when this method completes. That is, the behavior of pushing more than one Perk at a time is the same as if each Perk were pushed individually.
|
Adds one Perk to the stack at the insertion index. Negative indices are valid per Python list convention. |
Removes one or more Perks from the stack given their indices. |
Removes the current Perk from the Tier. No Task.Tools methods should be invoked after this call. |
Reloads all Perks in the current Tier. Any changes made to the Perk logic will take effect immediately after the reload. This method does not refer to the Perks associated with the current profile. It simply reloads all currently loaded Perks. |
Internal method for getting instances of all installed or associated UIElements for the given kind.
Notes:
|
Internal method for getting class names of all installed or associated UIElements for the given kind.
Note: Installed UIEs that are not importable because of missing dependencies are not listed as installed to maintain parity with _getNames and _getDescriptions. |
Internal method for getting names of all installed or associated UIElements for the given kind.
|
Internal method for getting descriptions of all installed or associated UIElements for the given kind.
|
Gets metadata for all Perks in this Tier, all installed Perks, Perks associated with this Tier, or all Perks associated with this profile depending on the which flag. Includes Perk class names, human readable names, and descriptions. The default value is used if which is invalid.
|
Gets metadata for all AEOutput and AEInput devices currently loaded in, installed in, or associated with the active profile depending on the which flag. The default value is used if which is invalid.
|
Gets metadata for all AEMonitors currently loaded in, installed in, or associated with the active profile depending on the which flag. The default value is used if which is invalid.
|
Gets metadata for all AEChoosers installed in or associated with the active profile depending on the which flag. The default value is used if which is invalid.
Note: Getting loaded chooser names is not currently supported. |
Gets the programmatic class names of all AEOutput and AEInput devices currently loaded in, installed in, or associated with the active profile depending on the which flag. The default value is used if which is invalid.
|
Gets the human readable names of all AEOutput and AEInput devices currently loaded in, installed in, or associated with the active profile depending on the which flag. The default value is used if which is invalid.
|
Gets the descriptions of all AEOutput and AEInput devices currently loaded in, installed in, or associated with the active profile depending on the which flag. The default value is used if which is invalid.
|
Gets the programmatic class names of all AEMonitors currently loaded in, installed in, or associated with the active profile depending on the which flag. The default value is used if which is invalid.
|
Gets the human readable names of all AEMonitors currently loaded in, installed in, or associated with the active profile depending on the which flag. The default value is used if which is invalid.
|
Gets the human readable descriptions of all AEMonitors currently loaded in, installed in, or associated with the active profile depending on the which flag. The default value is used if which is invalid.
|
Gets the programmatic class names of all AEChoosers installed in or associated with the active profile depending on the which flag. The default value is used if which is invalid.
Note: Getting loaded chooser names is not currently supported. |
Gets the human readable names of all AEChoosers installed in or associated with the active profile depending on the which flag. The default value is used if which is invalid.
Note: Getting loaded chooser names is not currently supported. |
Gets the descriptions of all AEChoosers installed in or associated with the active profile depending on the which flag. The default value is used if which is invalid.
Note: Getting loaded chooser names is not currently supported. |
Gets the programmatic class names of all Perks in this Tier, all installed Perks, Perks associated with this Tier, or all Perks associated with this profile depending on the which flag. The default value is used if which is invalid.
|
Gets the human readable names of all Perks in this Tier, all installed Perks, Perks associated with this Tier, or all Perks associated with this profile depending on the which flag. The default value is used if which is invalid.
|
Gets the human readable descriptions of all Perks in this Tier, all installed Perks, Perks associated with this Tier, or all Perks associated with this profile depending on the which flag. The default value is used if which is invalid.
|
Universal task registration method. Uses known interfaces to try to register the given Task as an event task, an input task, a timer task, etc. All information for configuring the Task is contained in the task itself.
|
Universal task unregistration method. Uses known interfaces to try to unregister the given Task as an event task, an input task, a timer task, etc. All information for configuring the Task is contained in the task itself.
|
Chains the Task with the given name to the target Task. If link is CHAIN_BEFORE, the linked Task will execute before the target. If link is CHAIN_AFTER, the linked Task will execute after. If link is CHAIN_AROUND, the linked Task will execute in lieu of the target, but can execute the target manually using doTask.
|
Unchains the Task with the given name to the target Task. The link parameter has the same meaning as in chainTask. If link is set to None, one reference to the named Task is removed from the before, after, and around chains.
Note: The target Task must be registered at the time of invocation. |
Gets the Task with the given name if it is registered anywhere in the current Tier. If no Task is registered under the given name, returns None. Calls Tier.Tier.getNamedTask to search across all Perks in the owning Tier.
|
Gets all registered Tasks registered to handle the given AEEvent type on the given layer from the current Tier. Calls Tier.Tier.getEventTasks to search across all Perks in the owning Tier. |
Gets the Task with the given name if it is registered in this Perk only. If no Task is registered under the given name in this Perk, returns None.
See Also: getTierNamedTask |
Get all registered Tasks registered to handle the given AEEvent type in this Perk only.
See Also: getTierEventTasks |
Gets the default AEState associated with an AEOutput or AEInput device currently loaded in the DeviceManager.
|
Gets the AEState associated with a Perk. If the state was previously persisted to disk, it is loaded from disk. If not, a new state object is created for the named Perk and immediately persisted in the user's profile. |
Loads and shows all AEMonitors associated with this profile.
|
Hides and unloads all AEMonitors associated with this profile.
|
Loads and shows one AEMonitor.
|
Hides and unloads one AEMonitor.
|
Loads an AEChooser dialog with the given name from disk. Passes the keyword arguments to the init method of the chooser. This method should typically only be invoked by a Task.ChooserTask subclass.
|
Unloads the given AEChooser dialog. This method should typically only be invoked by a Task.ChooserTask subclass.
|
Immediately executes a Task registered under the given name in this Tier. Keyword arguments for Task execution may be
provided. The The chain parameter dictates whether only the named Task is executed (False), or if all other Tasks chained to it are as well (True). The propagate parameter determines whether the execute or update method is called on the Task. This param is not typically specified by a Task or Perk. It is used internally by Task.CyclicInputTask to handle the propagation flag in Task chains.
|
Blocks Tasks of the given type from executing in response to the next n events. This is a convenience shortcut to avoid registering one-shot Tasks in Perks to do exactly the same thing. |
Associates a Perk with the active profile.
|
Disassociates a Perk from the active profile.
|
Associates a AEMonitor with the active profile. Loads it immediately.
|
Associates a AEMonitor with the active profile. Unloads it immediately.
|
Associates a AEOutput or AEInput device with the active profile. Does not load it immediately. See refreshDevices for that functionality.
|
Disassociates a AEOutput or AEInput device from the active profile. Does not unload it immediately. See refreshDevices for that functionality.
|
Stores the given value under the given name. The data will be available via getTempVal to all Tasks executing or updating in response to the current AEEvent. This includes cascading Task.EventTasks, chained Task.InputTasks with names, etc. Once the event has been handled by all Tasks, all stored information is discarded automatically. The name must be an immutable object. The value can be an arbitrary object. Only the value from the most recent call with a given name is stored.
|
Gets the value previously stored under the given name using setTempVal. See that method for details. If no value has been stored under the given name, None is returned.
|
Adds new constants to AEConstants such that they are visible to other Perks. If any of the named constants do not exist, an exception will be raised. If any of the named constants are already registered, they will be silently ignored by AEConstants.register.
|
Gets the Perk with the given name. If no perk is registered under the given name, KeyError is raised.
|
Gets the Perk instance variable with the given name. If no perk is registered under the given name a KeyError is raised if the perk does not contain var_name an AttributeError is raised.
|
Sets the Perk instance variable with the given name to value. If no perk is registered under the given name a KeyError is raised if the perk does not contain var_name an AttributeError is raised.
|
Gets the Perk Setting state variable with the given name. If no perk is registered under the given name or
|
Gets the value of the Perk Setting state variable with the given name. If no perk is registered under the given name or if
|
Sets the value of the Perk Setting state variable with the given name. If no perk is registered under the given name or if |
Gets the zipped contents of getTaskHistory and getPerkHistory. This method does not involve extra processing because the history is already zipped in the Tier. In fact, the other methods require the extra work of unzipping. The history is ordered from the first Task to respond to an event to the most recent Task to respond, including the current Task. |
Gets the identities of all Tasks that have executed in response to the event currently being processed. This includes all chained Tasks and all Tasks executed using doTask flattened into a linear history. If any Task that executed did not have an identity, None is substituted in its place. The history is ordered from the first Task to respond to an event to the most recent Task to respond, including the current Task.
|
Gets the class names of all Perks that have executed in response to the event currently being processed. The contents of the list returned by this method have a one-to-one pairing with the list contents from getTaskHistory. The history is ordered from the first Perk to respond to an event to the most recent Perk to respond, including the current Perk.
|
Gets the identity of the Task which this one is executing before, after, or around according to a previous chaining. If this Task is not executing as part of a chain, returns None.
|
Gets the class name of the Perk owning the Task that would be returned by getAnchorTaskId.
See Also: getAnchorTaskId |
Gets the names of all Tasks currently registered in the named Perk. If no name is given, this Perk is used. If the named Perk is not found, an exception is raised. |
Gets the names of all Tasks currently registered in this Tier.
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0beta1 on Mon Jun 4 15:33:24 2007 | http://epydoc.sourceforge.net |