diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-04-24 11:17:14 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-04-24 11:17:14 +0200 |
commit | cd6a2cb4ba04a21a4af21513b0c16911ebad481c (patch) | |
tree | e4607f6c45b9f3c14c19fa4d2cf77d4dbff85bb0 /docs | |
parent | 065da834fc351931e49515d6d14b78ad227b9476 (diff) |
more think
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 |