class documentation
class Observable(Synchronization):
Known subclasses: smartcard.CardConnection.CardConnection, smartcard.ReaderMonitoring.ReaderMonitor, smartcard.CardMonitoring.CardMonitor.__CardMonitorSingleton
Observable
| Method | __init__ |
Undocumented |
| Method | add |
Add an observer |
| Method | clear |
Clear the change flag |
| Method | count |
Return the number of Observers |
| Method | delete |
Remove an observer |
| Method | delete |
Remove all observers |
| Method | has |
Somethig has changed? |
| Method | notify |
If 'changed' indicates that this object has changed, notify all its observers, then call clearChanged(). Each observer has its update() called with two arguments: this observable object and the generic 'handlers'. |
| Method | set |
Set the change flag |
| Instance Variable | changed |
Undocumented |
| Instance Variable | obs |
Undocumented |
Inherited from Synchronization:
| Instance Variable | mutex |
Undocumented |
overridden in
smartcard.CardConnection.CardConnection, smartcard.ReaderMonitoring.ReaderMonitor, smartcard.CardMonitoring.CardMonitor.__CardMonitorSingletonRemove an observer