Skip to content

Commit

Permalink
aigr-nodes for machinery... updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Albert Mietus authored and Albert Mietus committed Apr 9, 2024
1 parent 19317d2 commit 0c4e78a
Showing 1 changed file with 35 additions and 6 deletions.
41 changes: 35 additions & 6 deletions CCastle/DocParts/Design/50.notes/240408-aigr-machinery.rst
Expand Up @@ -8,18 +8,38 @@ AIGR nodes for Machinery (240408)

package machinery {

class DispatchTable {
class "machinery" as M {
delegate: implementation
}
note right #aquamarine
There are many Machineries (options).
All implementation details are
stored the the delegate.
(None when abstract)
endnote


abstract DispatchTable {
handlers: List
}
DispatchTable <|-- eDispatchTable
note right: Event DispatchTable
note right: **E**vent DispatchTable
abstract send_proto {
+ outport
# receiver
# handlers: DispatchTable
- index:
}
note left #aqua
This represents a
line-of-code to
**send** event/data
over a connection
end note
class sendStream <<ToDo>> {}
class sendData <<ToDo>> {}
class sendEvent {}
send_proto <|-- sendStream
send_proto <|-- sendData
send_proto <|-- sendEvent
Expand All @@ -31,9 +51,18 @@ AIGR nodes for Machinery (240408)
- in: <inport, component>
# protocol
}
note right #aqua
This is the result of
a line-of-code that
connects two ports
endnote
M <|--- send_proto
M <|--- connection
M <|--- send_proto
M <|--- DispatchTable

}
AIGR <|--machinery
AIGR <|--M
class EventHandler
note left: A component-callable\n per event (in a Protocol),\n per port
Expand All @@ -43,14 +72,14 @@ AIGR nodes for Machinery (240408)
'metaclass Component
class Component

connection *-> Port: out
connection *-> Port: in
connection o-> Port: out
connection o-> Port: in
connection .. Protocol : //indirect//
Protocol .. Port
Port "*" <-* Component

eDispatchTable -> "*" EventHandler
eDispatchTable "1" <-* "1" Port
eDispatchTable "1" <... "1" Port
Component *--> "*" EventHandler

@enduml
Expand Down

0 comments on commit 0c4e78a

Please sign in to comment.