sardanaevent
This module is part of the Python Pool libray. It defines the base classes for pool event mechanism
Classes
EventGenerator
![Inheritance diagram of EventGenerator](../../../_images/inheritance-ebc67f4c5a96f072555be75ca848db7279849ff0.png)
- class EventGenerator(max_queue_len=10, listeners=None)[source]
A class capable of generating events to their listeners
- add_listener(listener)[source]
Adds a new listener for this object.
- Parameters:
listener – a listener
- remove_listener(listener)[source]
Removes an existing listener for this object.
- Parameters:
listener – the listener to be removed
- Returns:
True is succeeded or False otherwise
EventReceiver
![Inheritance diagram of EventReceiver](../../../_images/inheritance-a94020217e2cea251ab723fee0110e3d9f1ad834.png)
EventType
![Inheritance diagram of EventType](../../../_images/inheritance-54c97642afe9f2503ba56d4cf7595a3b05ad712b.png)