Elements.pyECSS.Event.EventManager¶
- class Elements.pyECSS.Event.EventManager[source]¶
Main Mediator (Subject/Publisher) class that contains list of Observers/Subscribers (Components) that is being subscribed (notified) from and delegates to Systems to act upon these events invoked from these Components.
Methods
__init__()Initialize self.
actuate(system)getClassName()notify(sender, event)the main mediator pattern type notification
print()debug output
publish(component)subscribe(component)unactuate(system)unpublish(component)unsubscribe(component)