| Trees | Indices | Help |
|---|
|
|
object --+
|
pyLinAcc.Event.Manager --+
|
EventManager
Watches for AT-SPI events and reports them to observers. Maintains a queue of AEEvent that are executed on a set interval.
|
|||
|
|||
|
|||
|
|||
|
|||
| AEMonitor.MonitorCollection |
|
||
|
|||
| True |
|
||
|
|||
|
|||
|
|||
| boolean |
|
||
| boolean |
|
||
|
Inherited from Inherited from Inherited from |
|||
|
|||
| AccessEngine |
acc_eng Reference to the AccessEngine object |
||
| Queue.Queue |
ae_queue FIFO queue of AEEvent to be executed |
||
| AEEvent | last_event | ||
| Queue.Queue |
raw_queue FIFO queue of pyLinAcc.Event.Events to be dispatched |
||
| TierManager |
tier_manager Reference to the TierManager object |
||
| integer |
timer_id ID of the timer pumping the event queue |
||
| ViewManager |
view_manager Reference to the ViewManager object |
||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Initializes the parent class. Creates an event queue. Asks the AccessEngine to schedule interval callbacks to the EventManager.onPumpRawEvents and EventManager.onPumpAEEvents methods.
|
Stores references to the ViewManager and TierManager. Instantiates all AEMonitor UIEs registered with UIRegistrar to be loaded at startup. Called by AccessEngine at startup.
|
Throws away all events in the raw_queue and ae_queue. Calls the parent class close method.
|
Adds one or more AEMonitors to the list of monitors to be notified about events. |
|
Informs AEMonitors added via addMonitors of a raw event.
|
Executes the provided AEEvent. Provides references to all managers as named parameters to the event's execute method. Catches and logs all exceptions to prevent bad events from getting re-queued for later execution.
|
Add AEEvents to the queue. Events can be added by any part of the system Events marked with immediate priority are executed now instead of being added to the queue. Immediate execution is necessary for some kinds of events.
|
Overrides the base implementation of handleEvent so that all pyLinAcc.Event.Events of interest are queued rather than immediately dispatched. This breaks the synchronous connection between LSR and the rest of the desktop. See pyLinAcc.Event.Manager.handleEvent for more details.
|
Pumps all pyLinAcc.Event.Events in the raw_queue. Calls the inherited pyLinAcc.Event.Manager._dispatchEvent method to forward to the event to all registered clients. Catches and logs all exceptions to prevent them from propogating to the main loop that called this method. This method is called on a set interval by the main event loop in AccessEngine.AccessEngine.run. It is registered for callbacks in the constructor of this class.
|
Pumps all AEEvents in the ae_queue. Executes each event pumped. Re-queues events for later execution that return False from their execute methods. This method is called on a set interval by the main event loop in AccessEngine.AccessEngine.run. It is registered for callbacks in the constructor of this class.
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0beta1 on Mon Jun 4 15:33:20 2007 | http://epydoc.sourceforge.net |