Statistics
| Branch: | Revision:

urtware / doc / classdiagrams / primitives.svg @ 4d55cea4

History | View | Annotate | Download (15.96 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:718px;height:378px;" version="1.1" viewBox="0 0 718 378" width="718px" zoomAndPan="magnify"><defs><filter height="300%" id="fbkdx6pnpy5u4" 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="318.5" y="16.708">µRtWare</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="88" x="319" y="37.6611">Primitives</text><!--MD5=[9f69b6f4e23017059189983d6906a1eb]
2
class urt_nodestage_t--><rect fill="#FEFECE" filter="url(#fbkdx6pnpy5u4)" 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(#fbkdx6pnpy5u4)" 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(#fbkdx6pnpy5u4)" 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(#fbkdx6pnpy5u4)" height="86.4141" id="urt_status_t" style="stroke: #A80036; stroke-width: 1.5;" width="194" x="17" y="274.4063"/><ellipse cx="72.25" cy="290.4063" fill="#00CFFF" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M73.0938,297.1563 L70.6406,297.1563 L70.6406,286.9063 L67.5,286.9063 L67.5,284.7656 L76.2344,284.7656 L76.2344,286.9063 L73.0938,286.9063 L73.0938,297.1563 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="75" x="92.75" y="294.5605">urt_status_t</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="18" x2="210" y1="306.4063" y2="306.4063"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="147" x="23" y="320.6167">URT_STATUS_OK = 0x0..0</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="182" x="23" y="333.4214">URT_STATUS_WARNING = 0x4..0</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="168" x="23" y="346.2261">URT_STATUS_ERROR = 0x8..0</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="18" x2="210" y1="352.8203" y2="352.8203"/><!--MD5=[15452fea434e71f16c7de0feaca2b066]
6
class urt_delay_t--><rect fill="#FEFECE" filter="url(#fbkdx6pnpy5u4)" height="99.2188" id="urt_delay_t" style="stroke: #A80036; stroke-width: 1.5;" width="181" x="246.5" y="267.9063"/><ellipse cx="298.75" cy="283.9063" fill="#00CFFF" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M299.5938,290.6563 L297.1406,290.6563 L297.1406,280.4063 L294,280.4063 L294,278.2656 L302.7344,278.2656 L302.7344,280.4063 L299.5938,280.4063 L299.5938,290.6563 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="68" x="319.25" y="288.0605">urt_delay_t</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="247.5" x2="426.5" y1="299.9063" y2="299.9063"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="45" x="252.5" y="330.9214">uint32_t</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="247.5" x2="250.5" y1="314.3086" y2="314.3086"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="173" x="250.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="423.5" x2="426.5" y1="314.3086" y2="314.3086"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="45" x="252.5" y="360.5308">uint64_t</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="247.5" x2="250.5" y1="343.918" y2="343.918"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="173" x="250.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="423.5" x2="426.5" y1="343.918" y2="343.918"/><!--MD5=[f106a25c06a671b3918b1a8f37571a4d]
7
class urt_debug--><rect fill="#FEFECE" filter="url(#fbkdx6pnpy5u4)" height="60.8047" id="urt_debug" style="stroke: #A80036; stroke-width: 1.5;" width="245" x="462.5" y="286.9063"/><ellipse cx="548.75" cy="302.9063" fill="#E0E0E0" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M552.9844,298.6719 L547.7031,298.6719 L547.7031,301.3438 L552.5,301.3438 L552.5,303.5 L547.7031,303.5 L547.7031,308.9063 L545.2656,308.9063 L545.2656,296.5156 L552.9844,296.5156 L552.9844,298.6719 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="64" x="569.25" y="307.0605">urt_debug</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="463.5" x2="706.5" y1="318.9063" y2="318.9063"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="463.5" x2="706.5" y1="326.9063" y2="326.9063"/><ellipse cx="473.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="482.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=[8ba44c420f44eb37d42ac56f2cffc170]
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_WARNING = 0x4..0
65
  URT_STATUS_ERROR = 0x8..0
66
}
67

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

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

    
79

    
80

    
81

    
82

    
83
@enduml
84

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