• R/O
  • SSH

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Castle: The best Real-Time/Embedded/HighTech language EVER. Attempt 2


Commit MetaInfo

修订版c0b6ee0ee86f2a53376f46ad1a9d1ac1b082edcc (tree)
时间2023-10-22 22:20:37
作者Albert Mietus < albert AT mietus DOT nl >
CommiterAlbert Mietus < albert AT mietus DOT nl >

Log Message

refactor (DesignDiagram) added buildin.Protocol & layout/spaces

更改概述

差异

diff -r d96a893c47bd -r c0b6ee0ee86f DocParts/Design/231016_NS.rst
--- a/DocParts/Design/231016_NS.rst Sun Oct 22 14:54:53 2023 +0200
+++ b/DocParts/Design/231016_NS.rst Sun Oct 22 15:20:37 2023 +0200
@@ -15,9 +15,9 @@
1515 }
1616 object StartSieve <<EventProtocol>>
1717
18- start_sieve o-- P1_d
19- P1_d::startSieve -> StartSieve
20- start_sieve <-- StartSieve
18+ start_sieve o-- P1_d
19+ P1_d::startSieve -> StartSieve
20+ start_sieve <-- StartSieve
2121 }
2222
2323 package slow_start {
@@ -31,9 +31,9 @@
3131 queue_max :int
3232 }
3333
34- slow_start o-- P2_d
35- P2_d::slowStart -> SlowStart
36- slow_start <-- SlowStart
34+ slow_start o-- P2_d
35+ P2_d::slowStart -> SlowStart
36+ slow_start <-- SlowStart
3737 }
3838
3939 package simple_sieve {
@@ -48,15 +48,26 @@
4848 queue_max=1
4949 }
5050 object SimpleSieve <<EventProtocol>>
51- SlowStart_1 <|-- SimpleSieve: based on
51+ SlowStart_1 <|-- SimpleSieve: based_on
5252
53- simple_sieve o-- P3_d
54- P3_d::SlowStart_1 -> SlowStart_1
55- P3_d::SimpleSieve -> SimpleSieve
56- simple_sieve <-- SlowStart_1
57- simple_sieve <--- SimpleSieve
53+ simple_sieve o-- P3_d
54+ P3_d::SlowStart_1 -> SlowStart_1
55+ P3_d::SimpleSieve -> SimpleSieve
56+ simple_sieve <-- SlowStart_1
57+ simple_sieve <--- SimpleSieve
5858 }
5959
60- SlowStart <|---- SlowStart_1 #darkblue : based on
60+ SlowStart <|---- SlowStart_1 #darkblue : based_on
6161 }
62+
63+ package "Build-in Protocols" <<Node>> {
64+ package base {
65+ object Protocol <<_RootProtocol>>
66+ }
67+ package buildin {
68+ }
69+ }
70+ Protocol <|.. StartSieve #aqua : based_on
71+ Protocol <|.. SlowStart #aqua : based_on
72+
6273 @enduml
diff -r d96a893c47bd -r c0b6ee0ee86f TestDoubles/reference/interfaces/SieveMoat.rpy
--- a/TestDoubles/reference/interfaces/SieveMoat.rpy Sun Oct 22 14:54:53 2023 +0200
+++ b/TestDoubles/reference/interfaces/SieveMoat.rpy Sun Oct 22 15:20:37 2023 +0200
@@ -17,7 +17,7 @@
1717 cc_CI_Sieve.ports.append(buildin.CC_B_C_PortID(name="try",
1818 portNo=2, # XXXX
1919 protocol=SimpleSieve.cc_P_SimpleSieve,
20- direction=buildin.PortDirection.In, ## or base.?
20+ direction=buildin.PortDirection.In,
2121 part_of=cc_CI_Sieve))
2222 cc_CI_Sieve.ports.append(buildin.CC_B_C_PortID(name="coprime",
2323 portNo=3, #XXX