campy.util.observable module

File: observable.h

This file defines an abstract superclass named <code>Observable</code> that allows objects to store lists of observers, which are other objects that are notified when some part of the state of the observable object changes. This is an example of the classic Observer/Observable design pattern.

class campy.util.observable.Observable[source]

Bases: object

notify_observers(*args, **kwargs)[source]
class campy.util.observable.Observer[source]

Bases: object

update(observed, *args, **kwargs)[source]