Statistics
| Branch: | Revision:

urtware / doc / activitydiagrams / subscriber / urtHrtSubscriberInit.svg @ ee83a495

History | View | Annotate | Download (14.222 KB)

1 ee83a495 Thomas Schöpping
<?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="546px" preserveAspectRatio="none" style="width:856px;height:546px;" version="1.1" viewBox="0 0 856 546" width="856px" zoomAndPan="magnify"><defs><filter height="300%" id="f1igvps5y6mpkd" 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="382.5" y="26.708">µRtWare</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="191" x="331.5" y="47.6611">urtHrtSubscriberInit()</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="0" x="430" y="68.6143"/><path d="M551,72.8594 L551,128.2578 L844,128.2578 L844,82.8594 L834,72.8594 L551,72.8594 " fill="#FBFB77" filter="url(#f1igvps5y6mpkd)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M834,72.8594 L834,82.8594 L844,82.8594 L834,72.8594 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="551" x2="561.5" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="565.5" y="89.4263"/><text fill="#000000" font-family="monospace" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="80" x="565.5" y="89.4263">subscriber</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="176" x="653.5" y="89.4263">: urt_hrtsubscriber_t*</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="833.5" y="89.4263"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="833.5" x2="844" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="198" x="557" y="105.0591">The HRT subscriber to initialize.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="76" x="557" y="120.1919">Must not be</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="637" y="120.1919">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="669" y="120.1919">.</text><ellipse cx="697.5" cy="158.2578" fill="#000000" filter="url(#f1igvps5y6mpkd)" rx="10" ry="10" style="stroke: none; stroke-width: 1.0;"/><path d="M10,178.2578 L10,490.9141 A0,0 0 0 0 10,490.9141 L612,490.9141 A0,0 0 0 0 612,490.9141 L612,338.5859 L632,334.5859 L612,330.5859 L612,188.2578 L602,178.2578 L10,178.2578 A0,0 0 0 0 10,178.2578 " fill="#FBFB77" filter="url(#f1igvps5y6mpkd)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M602,178.2578 L602,188.2578 L612,188.2578 L602,178.2578 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="10" x2="240" y1="190.8242" y2="190.8242"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="134" x="244" y="194.8247">urt_basesubscriber_t</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="382" x2="612" y1="190.8242" y2="190.8242"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="37" x="16" y="210.4575">topic</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="11" x="57" y="210.4575">←</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="72" y="210.4575">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="129" x="16" y="225.5903">urtEventListenerInit(</text><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="82" x="145" y="225.5903">evtListener</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="5" x="227" y="225.5903">)</text><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="93" x="16" y="240.7231">lastMessage</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="11" x="113" y="240.7231">←</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="128" y="240.7231">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="128" x="16" y="255.856">lastMessageTime</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="148" y="255.856">← 0</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="10" x2="182.5" y1="266.4883" y2="266.4883"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="249" x="186.5" y="270.4888">URT_CFG_PUBSUB_PROFILING == true</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="439.5" x2="612" y1="266.4883" y2="266.4883"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="101" x="16" y="286.1216">sumLatencies</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="121" y="286.1216">← 0</text><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="173" x="16" y="301.2544">numMessagesReceived</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="193" y="301.2544">← 0</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="10" x2="246.5" y1="311.8867" y2="311.8867"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="121" x="250.5" y="315.8872">urt_hrtsubscriber_t</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="375.5" x2="612" y1="311.8867" y2="311.8867"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="32" x="16" y="331.52">next</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="11" x="52" y="331.52">←</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="67" y="331.52">NULL</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="10" x2="138.5" y1="342.1523" y2="342.1523"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="337" x="142.5" y="346.1528">URT_CFG_PUBSUB_QOS_DEADLINECHECKS == true</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="483.5" x2="612" y1="342.1523" y2="342.1523"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="110" x="16" y="361.7856">deadlineOffset</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="130" y="361.7856">← 0</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="78" x="16" y="376.9185">urtTimerInit(</text><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="133" x="94" y="376.9185">qosDeadlineTimer</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="5" x="227" y="376.9185">)</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="10" x2="159.5" y1="387.5508" y2="387.5508"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="295" x="163.5" y="391.5513">URT_CFG_PUBSUB_QOS_RATECHECK == true</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="462.5" x2="612" y1="387.5508" y2="387.5508"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="103" x="16" y="407.1841">expectedRate</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="123" y="407.1841">← 0</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="10" x2="157.5" y1="417.8164" y2="417.8164"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="299" x="161.5" y="421.8169">URT_CFG_PUBSUB_QOS_JITTERCHECK == true</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="464.5" x2="612" y1="417.8164" y2="417.8164"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="66" x="16" y="437.4497">maxJitter</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="86" y="437.4497">← 0</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="10" x2="20.5" y1="448.082" y2="448.082"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="573" x="24.5" y="452.0825">URT_CFG_PUBSUB_QOS_JITTERCHECKS == true || URT_CFG_PUBSUB_PROFILING == true</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="601.5" x2="612" y1="448.082" y2="448.082"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="84" x="16" y="467.7153">minLatency</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="52" x="104" y="467.7153">← 0xF..F</text><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="88" x="16" y="482.8481">maxLatency</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="108" y="482.8481">← 0</text><rect fill="#FEFECE" filter="url(#f1igvps5y6mpkd)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="131" x="632" y="317.6016"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="111" x="642" y="338.7402">initialize members</text><path d="M484.5,509.3477 L484.5,534.4805 A0,0 0 0 0 484.5,534.4805 L666.5,534.4805 A0,0 0 0 0 666.5,534.4805 L666.5,527.3477 L686.5,521.9141 L666.5,519.3477 L666.5,519.3477 L656.5,509.3477 L484.5,509.3477 A0,0 0 0 0 484.5,509.3477 " fill="#FBFB77" filter="url(#f1igvps5y6mpkd)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M656.5,509.3477 L656.5,519.3477 L666.5,519.3477 L656.5,509.3477 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="49" x="490.5" y="526.4146">Returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="104" x="543.5" y="526.4146">URT_STATUS_OK</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="647.5" y="526.4146">.</text><ellipse cx="697.5" cy="521.9141" fill="#FFFFFF" filter="url(#f1igvps5y6mpkd)" rx="11" ry="11" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="697.5" cy="521.9141" fill="#000000" rx="6" ry="6" style="stroke: #7F7F7F; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="697.5" x2="697.5" y1="128.2578" y2="148.2578"/><polygon fill="#A80036" points="693.5,138.2578,697.5,148.2578,701.5,138.2578,697.5,142.2578" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="697.5" x2="697.5" y1="168.2578" y2="317.6016"/><polygon fill="#A80036" points="693.5,307.6016,697.5,317.6016,701.5,307.6016,697.5,311.6016" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="697.5" x2="697.5" y1="351.5703" y2="510.9141"/><polygon fill="#A80036" points="693.5,500.9141,697.5,510.9141,701.5,500.9141,697.5,504.9141" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[81ac2b94e062302558d5ae02b1b7b0ad]
2
@startuml
3
4
title **µRtWare**\nurtHrtSubscriberInit()\n
5
6
7
note
8
  - - ""**subscriber** : urt_hrtsubscriber_t*"" - -
9
  The HRT subscriber to initialize.
10
  Must not be ""NULL"".
11
endnote
12
13
14
start
15
:initialize members;
16
note
17
  - - urt_basesubscriber_t - -
18
  **topic** ← ""NULL""
19
  urtEventListenerInit(**evtListener**)
20
  **lastMessage** ← ""NULL""
21
  **lastMessageTime** ← 0
22
  .. URT_CFG_PUBSUB_PROFILING == true ..
23
  **sumLatencies** ← 0
24
  **numMessagesReceived** ← 0
25
  - - urt_hrtsubscriber_t - -
26
  **next** ← ""NULL""
27
  .. URT_CFG_PUBSUB_QOS_DEADLINECHECKS == true ..
28
  **deadlineOffset** ← 0
29
  urtTimerInit(**qosDeadlineTimer**)
30
  .. URT_CFG_PUBSUB_QOS_RATECHECK == true ..
31
  **expectedRate** ← 0
32
  .. URT_CFG_PUBSUB_QOS_JITTERCHECK == true ..
33
  **maxJitter** ← 0
34
  .. URT_CFG_PUBSUB_QOS_JITTERCHECKS == true || URT_CFG_PUBSUB_PROFILING == true ..
35
  **minLatency** ← 0xF..F
36
  **maxLatency** ← 0
37
endnote
38
stop
39
note
40
  Returns ""URT_STATUS_OK"".
41
endnote
42
43
44
@enduml
45
46
PlantUML version 1.2020.00(Sat Jan 11 13:30:53 CET 2020)
47
(GPL source distribution)
48
Java Runtime: OpenJDK Runtime Environment
49
JVM: OpenJDK 64-Bit Server VM
50
Java Version: 11.0.6+10-post-Ubuntu-1ubuntu118.04.1
51
Operating System: Linux
52
Default Encoding: UTF-8
53
Language: en
54
Country: US
55
--></g></svg>