Statistics
| Branch: | Revision:

urtware / doc / classdiagrams / primitives.svg @ 056e40d2

History | View | Annotate | Download (15.776 KB)

1
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="378px" preserveAspectRatio="none" style="width:711px;height:378px;" version="1.1" viewBox="0 0 711 378" width="711px" zoomAndPan="magnify"><defs><filter height="300%" id="f1vrmgz8ekumzz" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><text fill="#000000" font-family="sans-serif" font-size="18" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="89" x="315" y="16.708">µRtWare</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="88" x="315.5" y="37.6611">Primitives</text><!--MD5=[9f69b6f4e23017059189983d6906a1eb]
2
class urt_nodestage_t--><rect fill="#FEFECE" filter="url(#f1vrmgz8ekumzz)" height="158.4375" id="urt_nodestage_t" style="stroke: #A80036; stroke-width: 1.5;" width="216" x="6" y="49.9063"/><ellipse cx="58.25" cy="65.9063" fill="#00CFFF" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M59.0938,72.6563 L56.6406,72.6563 L56.6406,62.4063 L53.5,62.4063 L53.5,60.2656 L62.2344,60.2656 L62.2344,62.4063 L59.0938,62.4063 L59.0938,72.6563 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="103" x="78.75" y="70.0605">urt_nodestage_t</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="7" x2="221" y1="81.9063" y2="81.9063"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="34" x="12" y="112.9214">uin8_t</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="7" x2="13.5" y1="96.3086" y2="96.3086"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="201" x="13.5" y="99.6167">URT_CFG_NODESTAGE_WIDTH == 8</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="214.5" x2="221" y1="96.3086" y2="96.3086"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="45" x="12" y="142.5308">uint16_t</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="7" x2="10" y1="125.918" y2="125.918"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="208" x="10" y="129.2261">URT_CFG_NODESTAGE_WIDTH == 16</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="218" x2="221" y1="125.918" y2="125.918"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="45" x="12" y="172.1401">uint32_t</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="7" x2="10" y1="155.5273" y2="155.5273"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="208" x="10" y="158.8354">URT_CFG_NODESTAGE_WIDTH == 32</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="218" x2="221" y1="155.5273" y2="155.5273"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="45" x="12" y="201.7495">uint64_t</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="7" x2="10" y1="185.1367" y2="185.1367"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="208" x="10" y="188.4448">URT_CFG_NODESTAGE_WIDTH == 64</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="218" x2="221" y1="185.1367" y2="185.1367"/><!--MD5=[a55671f9c3a4eb2d749fd774fc81a82b]
3
class urt_topicid_t--><rect fill="#FEFECE" filter="url(#f1vrmgz8ekumzz)" height="158.4375" id="urt_topicid_t" style="stroke: #A80036; stroke-width: 1.5;" width="191" x="257.5" y="49.9063"/><ellipse cx="310.25" cy="65.9063" fill="#00CFFF" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M311.0938,72.6563 L308.6406,72.6563 L308.6406,62.4063 L305.5,62.4063 L305.5,60.2656 L314.2344,60.2656 L314.2344,62.4063 L311.0938,62.4063 L311.0938,72.6563 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="77" x="330.75" y="70.0605">urt_topicid_t</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="258.5" x2="447.5" y1="81.9063" y2="81.9063"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="34" x="263.5" y="112.9214">uin8_t</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="258.5" x2="265" y1="96.3086" y2="96.3086"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="176" x="265" y="99.6167">URT_CFG_TOPICID_WIDTH == 8</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="441" x2="447.5" y1="96.3086" y2="96.3086"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="45" x="263.5" y="142.5308">uint16_t</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="258.5" x2="261.5" y1="125.918" y2="125.918"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="183" x="261.5" y="129.2261">URT_CFG_TOPICID_WIDTH == 16</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="444.5" x2="447.5" y1="125.918" y2="125.918"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="45" x="263.5" y="172.1401">uint32_t</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="258.5" x2="261.5" y1="155.5273" y2="155.5273"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="183" x="261.5" y="158.8354">URT_CFG_TOPICID_WIDTH == 32</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="444.5" x2="447.5" y1="155.5273" y2="155.5273"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="45" x="263.5" y="201.7495">uint64_t</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="258.5" x2="261.5" y1="185.1367" y2="185.1367"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="183" x="261.5" y="188.4448">URT_CFG_TOPICID_WIDTH == 64</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="444.5" x2="447.5" y1="185.1367" y2="185.1367"/><!--MD5=[4d8326c7af3a397210cbde406c7c860c]
4
class urt_serviceid_t--><rect fill="#FEFECE" filter="url(#f1vrmgz8ekumzz)" height="158.4375" id="urt_serviceid_t" style="stroke: #A80036; stroke-width: 1.5;" width="204" x="484" y="49.9063"/><ellipse cx="536.75" cy="65.9063" fill="#00CFFF" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M537.5938,72.6563 L535.1406,72.6563 L535.1406,62.4063 L532,62.4063 L532,60.2656 L540.7344,60.2656 L540.7344,62.4063 L537.5938,62.4063 L537.5938,72.6563 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="90" x="557.25" y="70.0605">urt_serviceid_t</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="485" x2="687" y1="81.9063" y2="81.9063"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="34" x="490" y="112.9214">uin8_t</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="485" x2="491.5" y1="96.3086" y2="96.3086"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="189" x="491.5" y="99.6167">URT_CFG_SERVICEID_WIDTH == 8</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="680.5" x2="687" y1="96.3086" y2="96.3086"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="45" x="490" y="142.5308">uint16_t</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="485" x2="488" y1="125.918" y2="125.918"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="196" x="488" y="129.2261">URT_CFG_SERVICEID_WIDTH == 16</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="684" x2="687" y1="125.918" y2="125.918"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="45" x="490" y="172.1401">uint32_t</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="485" x2="488" y1="155.5273" y2="155.5273"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="196" x="488" y="158.8354">URT_CFG_SERVICEID_WIDTH == 32</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="684" x2="687" y1="155.5273" y2="155.5273"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="45" x="490" y="201.7495">uint64_t</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="485" x2="488" y1="185.1367" y2="185.1367"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="196" x="488" y="188.4448">URT_CFG_SERVICEID_WIDTH == 64</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="684" x2="687" y1="185.1367" y2="185.1367"/><!--MD5=[e750dab3ce4ebe0433cc930181355272]
5
class urt_status_t--><rect fill="#FEFECE" filter="url(#f1vrmgz8ekumzz)" height="73.6094" id="urt_status_t" style="stroke: #A80036; stroke-width: 1.5;" width="180" x="24" y="280.4063"/><ellipse cx="72.25" cy="296.4063" fill="#00CFFF" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M73.0938,303.1563 L70.6406,303.1563 L70.6406,292.9063 L67.5,292.9063 L67.5,290.7656 L76.2344,290.7656 L76.2344,292.9063 L73.0938,292.9063 L73.0938,303.1563 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="75" x="92.75" y="300.5605">urt_status_t</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="25" x2="203" y1="312.4063" y2="312.4063"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="147" x="30" y="326.6167">URT_STATUS_OK = 0x0..0</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="168" x="30" y="339.4214">URT_STATUS_ERROR = 0x8..0</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="25" x2="203" y1="346.0156" y2="346.0156"/><!--MD5=[15452fea434e71f16c7de0feaca2b066]
6
class urt_delay_t--><rect fill="#FEFECE" filter="url(#f1vrmgz8ekumzz)" height="99.2188" id="urt_delay_t" style="stroke: #A80036; stroke-width: 1.5;" width="181" x="239.5" y="267.9063"/><ellipse cx="291.75" cy="283.9063" fill="#00CFFF" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M292.5938,290.6563 L290.1406,290.6563 L290.1406,280.4063 L287,280.4063 L287,278.2656 L295.7344,278.2656 L295.7344,280.4063 L292.5938,280.4063 L292.5938,290.6563 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="68" x="312.25" y="288.0605">urt_delay_t</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="240.5" x2="419.5" y1="299.9063" y2="299.9063"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="45" x="245.5" y="330.9214">uint32_t</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="240.5" x2="243.5" y1="314.3086" y2="314.3086"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="173" x="243.5" y="317.6167">URT_CFG_DELAY_WIDTH == 32</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="416.5" x2="419.5" y1="314.3086" y2="314.3086"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="45" x="245.5" y="360.5308">uint64_t</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="240.5" x2="243.5" y1="343.918" y2="343.918"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="173" x="243.5" y="347.2261">URT_CFG_DELAY_WIDTH == 64</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="416.5" x2="419.5" y1="343.918" y2="343.918"/><!--MD5=[f106a25c06a671b3918b1a8f37571a4d]
7
class urt_debug--><rect fill="#FEFECE" filter="url(#f1vrmgz8ekumzz)" height="60.8047" id="urt_debug" style="stroke: #A80036; stroke-width: 1.5;" width="245" x="455.5" y="286.9063"/><ellipse cx="541.75" cy="302.9063" fill="#E0E0E0" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M545.9844,298.6719 L540.7031,298.6719 L540.7031,301.3438 L545.5,301.3438 L545.5,303.5 L540.7031,303.5 L540.7031,308.9063 L538.2656,308.9063 L538.2656,296.5156 L545.9844,296.5156 L545.9844,298.6719 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="64" x="562.25" y="307.0605">urt_debug</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="456.5" x2="699.5" y1="318.9063" y2="318.9063"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="456.5" x2="699.5" y1="326.9063" y2="326.9063"/><ellipse cx="466.5" cy="337.9063" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="219" x="475.5" y="341.1167">urtDebugAssert(condition : bool) : void</text><!--MD5=[f9393016d83893cc69adca47e14d25aa]
8
link urt_nodestage_t to urt_topicid_t--><!--MD5=[c6f96cd30898e29141426d9ce096f647]
9
link urt_topicid_t to urt_serviceid_t--><!--MD5=[57d19166c65e42cc1c6ff95821e3adaa]
10
link urt_nodestage_t to urt_status_t--><!--MD5=[813d32f7bec798f07672e4472717de3c]
11
link urt_status_t to urt_delay_t--><!--MD5=[ae008965e40a1a222e02eb93f0709805]
12
link urt_delay_t to urt_debug--><!--MD5=[76b30d8fefefa10a1e5a550aa620ce3f]
13
@startuml
14

    
15
title **µRtWare**\nPrimitives
16

    
17

    
18

    
19

    
20

    
21

    
22

    
23

    
24

    
25

    
26

    
27

    
28

    
29
  class urt_nodestage_t <<T,00CFFF>> {
30
  .. URT_CFG_NODESTAGE_WIDTH == 8 ..
31
  uin8_t
32
  .. URT_CFG_NODESTAGE_WIDTH == 16 ..
33
  uint16_t
34
  .. URT_CFG_NODESTAGE_WIDTH == 32 ..
35
  uint32_t
36
  .. URT_CFG_NODESTAGE_WIDTH == 64 ..
37
  uint64_t
38
}
39

    
40
  class urt_topicid_t <<T,00CFFF>> {
41
  .. URT_CFG_TOPICID_WIDTH == 8 ..
42
  uin8_t
43
  .. URT_CFG_TOPICID_WIDTH == 16 ..
44
  uint16_t
45
  .. URT_CFG_TOPICID_WIDTH == 32 ..
46
  uint32_t
47
  .. URT_CFG_TOPICID_WIDTH == 64 ..
48
  uint64_t
49
}
50

    
51
  class urt_serviceid_t <<T,00CFFF>> {
52
  .. URT_CFG_SERVICEID_WIDTH == 8 ..
53
  uin8_t
54
  .. URT_CFG_SERVICEID_WIDTH == 16 ..
55
  uint16_t
56
  .. URT_CFG_SERVICEID_WIDTH == 32 ..
57
  uint32_t
58
  .. URT_CFG_SERVICEID_WIDTH == 64 ..
59
  uint64_t
60
}
61

    
62
  class urt_status_t <<T,00CFFF>> {
63
  URT_STATUS_OK = 0x0..0
64
  URT_STATUS_ERROR = 0x8..0
65
}
66

    
67
  class urt_delay_t <<T,00CFFF>> {
68
  .. URT_CFG_DELAY_WIDTH == 32 ..
69
  uint32_t
70
  .. URT_CFG_DELAY_WIDTH == 64 ..
71
  uint64_t
72
}
73

    
74
  class urt_debug <<F,E0E0E0>> {
75
  + {method} urtDebugAssert(condition : bool) : void
76
}
77

    
78

    
79

    
80

    
81

    
82
@enduml
83

    
84
PlantUML version 1.2020.00(Sat Jan 11 13:30:53 CET 2020)
85
(GPL source distribution)
86
Java Runtime: OpenJDK Runtime Environment
87
JVM: OpenJDK 64-Bit Server VM
88
Java Version: 11.0.6+10-post-Ubuntu-1ubuntu118.04.1
89
Operating System: Linux
90
Default Encoding: UTF-8
91
Language: en
92
Country: US
93
--></g></svg>