| Trees | Indices | Help |
|---|
|
|
object --+
|
TierManager
Creates Tiers for all processes detectable by pyLinAcc. Routes AEEvents to the active Tier for handling by Tasks registered by Perks. Changes the active Tier as the active top-level application changes.
|
|||
|
|||
|
|||
|
|||
| LSRState |
|
||
| AEMonitor.MonitorCollection |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| Tier |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
| AccessEngine |
acc_eng The Access Engine that started this manager |
||
| Tier |
active_tier Tier for the application currently in focus |
||
| SettingsManager |
sett_manager Reference to the SettingsManager to be used to persist and load LSRState |
||
| LSRState |
state Global state informaion. |
||
| dictionary |
tiers All Tiers created for running applications |
||
| ViewManager |
view_manager Reference to the ViewManager to be used to dynamically change which events should be monitored based on the registered Tasks |
||
|
|||
|
Inherited from |
|||
|
|||
Creates the empty dictionary for storing Tiers and initializes the active tier to None. Stores a reference to AccessEngine.
|
Stores a references to the DeviceManager. Called by AccessEngine at startup.
|
Removes all monitors and persists the current LSRState. Informs all existing Tiers that their state should be persisted also. |
|
|
Adds one or more AEMonitors to the list of monitors to be notified about events. |
Informs AEMonitors added via addMonitors of a Task executing or updating. |
Informs AEMonitors added via addMonitors of an event. |
Informs AEMonitors added via addMonitors of a chained Task executing.
|
Informs AEMonitors added via addMonitors of the propagation return value from a Task.
|
Compares the list of given application names and IDs with those currently associated with Tiers. Frees Tiers in the tiers dictionary that no longer have associated applications.
|
Creates a new Tier using the application name and ID as a hash code. If init is True, only creates the Tier if a specific Perk is associated with this profile for the named application. |
Removes an existing Tier.
|
Switches the active Tier based on the current view's root accessible. The view's root accessible is queried for information that can uniquely identify the Tier to use. If a Tier already exists for the given view, it is activated. If one does not exist, a Tier is created using createTier and made active. |
Informs the ViewManager of a change in interest in AEEvents by some Tier. Used to optimize which system events are monitored in order to improve performance. Just acts as a proxy. |
Dispatches an AEEvent to the Tier to be handled by its Perks. Makes the final determination of on what layer the event occurred. Events from a focused source are already marked as AEConstants.Event.LAYER_FOCUS. Events from a unfocused source in the active Tier are marked as AEConstants.Event.LAYER_TIER. All other events for which a Tier exists to handle them are marked as AEConstants.Event.LAYER_BACKGROUND.
|
Dispatches an AEEvent to the active Tier so that it can determine which registered Task, if any, should be executed in response to some AEInput.Gesture.
|
Dispatches an AEEvent.ChooserChange to the Tier associated with the event so that it can determine which registered Task, if any, should be executed in response to a change in the chooser such as its completion or its cancellation.
|
Dispatches an AEEvent.TimerAlert to the Tier associated with the event so that it can determine which registered Task, if any, should be executed in response to the timer firing.
|
Dispatches an AEEvent.PrivateChange to the active Tier so it can store important information without passing it along to Perks and Tasks.
|
|
|||
stateGlobal state informaion. Has properties representing system-wide settings.
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0beta1 on Mon Jun 4 15:33:26 2007 | http://epydoc.sourceforge.net |