laymon.interfaces¶
Module Contents¶
Classes¶
Monitor() |
Abstract class to monitor the observers. |
Observer() |
Abstract class to describe and update the state of an observer. |
Display() |
Abstract class to create and update the displays attached to an observer. |
ObserverFactory() |
Abstract class for creating a factory to create new observers with a display attached to them. |
-
class
laymon.interfaces.Monitor[source]¶ Abstract class to monitor the observers. Methods to:
- Add observers
- Remove observers
- Get the list of registered observers
- Notify the observers when there is a change in the monitored parameters.
-
class
laymon.interfaces.Observer[source]¶ Abstract class to describe and update the state of an observer.
-
class
laymon.interfaces.Display[source]¶ Abstract class to create and update the displays attached to an observer.