pydistsim.observers.ObserverManagerMixin

class ObserverManagerMixin(*args, **kwargs)[source]

Bases: object

Mixin class for objects that can have observers.

Subclasses must call the super().__init__() method in their __init__() method or add the observers attribute.

Methods

__init__

add_observers

clear_observers

notify_observers