Package elisa :: Package core :: Package observers :: Module dict :: Class DictObservable
[hide private]
[frames] | no frames]

Class DictObservable

source code


Instance Methods [hide private]
 
__init__(self, *args, **kw)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__hash__(self)
hash(x)
source code
 
__repr__(self)
repr(x)
source code
 
__eq__(self, other)
x==y
source code
 
__setitem__(self, key, value)
x[i]=y
source code
 
add_observer(self, observer)
Attach an observer which will then be notified of all the changes applied to the observable.
source code
 
remove_observer(self, observer)
Detach an observer which will not be notified anymore of changes applied to the observable.
source code
 
_send_message_to_observers(self, message, *args) source code

Inherited from extern.log.log.Loggable: debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure

Inherited from dict: __cmp__, __contains__, __delitem__, __ge__, __getattribute__, __getitem__, __gt__, __iter__, __le__, __len__, __lt__, __ne__, __new__, clear, copy, fromkeys, get, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, update, values

Inherited from object: __delattr__, __reduce__, __reduce_ex__, __setattr__, __str__

Class Variables [hide private]

Inherited from extern.log.log.Loggable: logCategory

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kw)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: log.Loggable.__init__

__hash__(self)
(Hashing function)

source code 
hash(x)
Overrides: dict.__hash__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 
repr(x)
Overrides: dict.__repr__
(inherited documentation)

__eq__(self, other)
(Equality operator)

source code 
x==y
Overrides: dict.__eq__
(inherited documentation)

__setitem__(self, key, value)
(Index assignment operator)

source code 
x[i]=y
Overrides: dict.__setitem__
(inherited documentation)

add_observer(self, observer)

source code 
Attach an observer which will then be notified of all the changes applied to the observable.
Parameters:

remove_observer(self, observer)

source code 
Detach an observer which will not be notified anymore of changes applied to the observable.
Parameters: