home
wiki
classes/clusters list
class information
+
Point of view
All features
ANY
INTERNALS_HANDLER
All features
deferred class OBSERVABLE
Summary
top
Part of the
Observer
Design Pattern. An object of this class should notify its observers whenever its state changes. Use the
notify
feature for that.
See also
OBSERVER
.
Direct parents
insert list:
ANY
Class invariant
top
notifiable:
observers
/= Void
Overview
top
features
add
(o:
OBSERVER
[OBSERVABLE])
Add an observer that should be notified
remove
(o:
OBSERVER
[OBSERVABLE])
Remove an observer that should not be notified anymore
has
(o:
OBSERVER
[OBSERVABLE]):
BOOLEAN
True if the observer will be notified when the state of Current changes
notify
Notify all the observers that the state of Current changed
observers
:
COLLECTION
[
OBSERVER
[OBSERVABLE]]
The collection of observers
add
(o:
OBSERVER
[OBSERVABLE])
effective procedure
top
Add an observer that should be notified
remove
(o:
OBSERVER
[OBSERVABLE])
effective procedure
top
Remove an observer that should not be notified anymore
require
has
(o)
has
(o:
OBSERVER
[OBSERVABLE]):
BOOLEAN
effective function
top
True if the observer will be notified when the state of Current changes
notify
effective procedure
top
Notify all the observers that the state of Current changed
observers
:
COLLECTION
[
OBSERVER
[OBSERVABLE]]
writable attribute
top
The collection of observers