diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/class-diag.puml | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/docs/class-diag.puml b/docs/class-diag.puml index e686fa3..85cb721 100644 --- a/docs/class-diag.puml +++ b/docs/class-diag.puml @@ -1,15 +1,23 @@ @startuml abstract class Node { /' (also ConcreteObserver) '/ - + update() + + label: string + + type: string + + addOutput(Net*) + + addInput(Net*) + - inputs: Net*[] + - outputs: Net*[] } class Net { /' (also ConcreteSubject) '/ - + setLevel(SignalLevel level) + - level: SignalLevel + + setLevel(SignalLevel) + ' only call notify when setLevel actually changes the level!!!!!!! } class Subject { - + attach(Observer* observer) - + detach(Observer* observer) + - observers: Observer*[] + + attach(Observer*) + + detach(Observer*) + notify() } interface Observer { @@ -45,11 +53,14 @@ Observer <|-[dashed]- Node Node -> "owner" Net Observer "*" - Subject -class Circuit { +class Parser { + loadFromFile() +} + +class CircuitFactory { + run() + + configure() } -' only call notify when setLevel actually changes the level!!!!!!! @enduml |