• R/O
  • SSH

提交

標籤
無標籤

Frequently used words (click to add to your profile)

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

Commit MetaInfo

修訂59f1803d4b4811b6d941948f5219046bd51b51d2 (tree)
時間2023-10-10 20:37:07
作者Albert Mietus < albert AT mietus DOT nl >
CommiterAlbert Mietus < albert AT mietus DOT nl >

Log Message

Updated TD/AIGR uml graphs: added Wrapper for 'SlowStart(1)'

Change Summary

差異

diff -r 68dac609170e -r 59f1803d4b48 CCastle/DocParts/Design/231009_TD-AIGR_3ptotocols.rst
--- a/CCastle/DocParts/Design/231009_TD-AIGR_3ptotocols.rst Mon Oct 09 11:15:38 2023 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
1-.. -*- plantuml -*-
2-
3-TestDoubles/AIGR: The protocols of the Sieve
4-============================================
5-
6-.. uml::
7-
8- @startuml
9-
10- object StartSieve <<EventProtocol>>
11- object runTo <<Event>>{
12- max: int
13- }
14- object newMax <<Event>> {
15- max: int
16- }
17- StartSieve *-- runTo
18- StartSieve *-- newMax
19-
20- '---
21-
22- object SlowStart << EventProtocol>>
23- object queue_max <<TypedParameter>> {
24- :int
25- }
26- object setMax <<Event>> {
27- setMax :int
28- }
29- SlowStart *-- setMax
30- SlowStart *- queue_max
31-
32- '---
33-
34- object SimpleSieve <<EventProtocol>>
35- SlowStart <-- SimpleSieve: based_on
36-
37- object input <<Event>> {
38- try :int
39- }
40- SimpleSieve *--input
41-
42- @enduml
diff -r 68dac609170e -r 59f1803d4b48 CCastle/DocParts/Design/231009a_TD-AIGR_3protocols.rst
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/CCastle/DocParts/Design/231009a_TD-AIGR_3protocols.rst Tue Oct 10 13:37:07 2023 +0200
@@ -0,0 +1,50 @@
1+.. -*- plantuml -*-
2+
3+TestDoubles/AIGR: The protocols of the Sieve
4+============================================
5+
6+.. uml::
7+
8+ @startuml
9+
10+ object StartSieve <<EventProtocol>>
11+ object runTo <<Event>>{
12+ max: int
13+ }
14+ object newMax <<Event>> {
15+ max: int
16+ }
17+ StartSieve *-- runTo
18+ StartSieve *-- newMax
19+
20+ '---
21+
22+ object SlowStart << EventProtocol>>
23+ object queue_max <<TypedParameter>> {
24+ :int
25+ }
26+ object setMax <<Event>> {
27+ setMax :int
28+ }
29+ SlowStart *-- setMax
30+ SlowStart *- queue_max
31+
32+ '---
33+
34+ object "SlowStart(1)" as SlowStart_1 <<ProtocolWrapper>> {
35+ queue_max=1
36+ }
37+ SlowStart <-- SlowStart_1: based on
38+
39+
40+ '---
41+
42+ object SimpleSieve <<EventProtocol>>
43+ SlowStart_1 <-- SimpleSieve: based_on
44+
45+ object input <<Event>> {
46+ try :int
47+ }
48+ SimpleSieve *--input
49+
50+ @enduml
diff -r 68dac609170e -r 59f1803d4b48 CCastle/DocParts/Design/231009b_TD-AIGR_interfaces.rst
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/CCastle/DocParts/Design/231009b_TD-AIGR_interfaces.rst Tue Oct 10 13:37:07 2023 +0200
@@ -0,0 +1,26 @@
1+.. -*- plantuml -*-
2+
3+TestDoubles/AIGR: The interfaces of the SIEVE (BUSY)
4+====================================================
5+
6+.. uml::
7+
8+ @startuml
9+
10+ object "**Sieve**" as Sieve <<ComponentInterface>> {
11+ + {static} new(onPrime:int)
12+ }
13+ note right of Sieve: alt-name: **SieveMoat**
14+ object try <<Port>>{
15+ In: PortDirection
16+ SimpleSieve: type
17+ }
18+ object corprime <<Port>> {
19+ Out: PortDirection
20+ SimpleSieve: type
21+ }
22+
23+ Sieve *-- try
24+ Sieve *-- corprime
25+
26+ @enduml