Statistics
| Branch: | Revision:

urtware / doc / activitydiagrams / subscriber / urtSubscriberFetchLatestMessage.svg @ c22d21ad

History | View | Annotate | Download (43.97 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="1712px" preserveAspectRatio="none" style="width:1846px;height:1712px;" version="1.1" viewBox="0 0 1846 1712" width="1846px" zoomAndPan="magnify"><defs><filter height="300%" id="f1n5j7g2wxnm1t" 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="877.5" y="26.708">µRtWare</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="309" x="767.5" y="47.6611">urtSubscriberFetchLatestMessage()</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="0" x="925" y="68.6143"/><path d="M582.5,72.8594 L582.5,249.3203 A0,0 0 0 0 582.5,249.3203 L887.5,249.3203 A0,0 0 0 0 887.5,249.3203 L887.5,165.0898 L907.5,161.0898 L887.5,157.0898 L887.5,82.8594 L877.5,72.8594 L582.5,72.8594 A0,0 0 0 0 582.5,72.8594 " fill="#FBFB77" filter="url(#f1n5j7g2wxnm1t)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M877.5,72.8594 L877.5,82.8594 L887.5,82.8594 L877.5,72.8594 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="582.5" x2="611" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="615" y="89.4263"/><text fill="#000000" font-family="monospace" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="80" x="615" y="89.4263">subscriber</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="152" x="703" y="89.4263">: urt_subscriber_t*</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="859" y="89.4263"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="859" x2="887.5" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="284" x="588.5" y="105.0591">The subscriber that shall fetch the message.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="76" x="588.5" y="120.1919">Must not be</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="668.5" y="120.1919">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="700.5" y="120.1919">.</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="582.5" x2="671" y1="130.8242" y2="130.8242"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="675" y="134.8247"/><text fill="#000000" font-family="monospace" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="56" x="675" y="134.8247">payload</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="56" x="739" y="134.8247">: void*</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="799" y="134.8247"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="799" x2="887.5" y1="130.8242" y2="130.8242"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="238" x="588.5" y="150.4575">Pointer where to copy the payload to.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="46" x="588.5" y="165.5903">May be</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="638.5" y="165.5903">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="195" x="674.5" y="165.5903">for messages without payload.</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="582.5" x2="675" y1="176.2227" y2="176.2227"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="679" y="180.2231"/><text fill="#000000" font-family="monospace" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="40" x="679" y="180.2231">bytes</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="64" x="727" y="180.2231">: size_t</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="795" y="180.2231"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="795" x2="887.5" y1="176.2227" y2="176.2227"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="137" x="588.5" y="195.856">Payload size in bytes.</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="582.5" x2="643" y1="206.4883" y2="206.4883"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="647" y="210.4888"/><text fill="#000000" font-family="monospace" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="56" x="647" y="210.4888">latency</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="112" x="711" y="210.4888">: urt_delay_t*</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="827" y="210.4888"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="827" x2="887.5" y1="206.4883" y2="206.4883"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="267" x="588.5" y="226.1216">The latency can be returned by reference.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="46" x="588.5" y="241.2544">May be</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="638.5" y="241.2544">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="670.5" y="241.2544">.</text><ellipse cx="917.5" cy="161.0898" fill="#000000" filter="url(#f1n5j7g2wxnm1t)" rx="10" ry="10" style="stroke: none; stroke-width: 1.0;"/><rect fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="80" x="877.5" y="269.3203"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="60" x="887.5" y="290.459">lock topic</text><polygon fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" points="864,323.2891,971,323.2891,983,335.2891,971,347.2891,864,347.2891,852,335.2891,864,323.2891" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="107" x="864" y="339.0972">Is HRT subscriber?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="832" y="332.6948">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="983" y="332.6948">no</text><rect fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="156" x="598.375" y="357.2891"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="136" x="608.375" y="378.4277">access next message</text><polygon fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" points="1059.125,357.2891,1258.125,357.2891,1270.125,369.2891,1258.125,381.2891,1059.125,381.2891,1047.125,369.2891,1059.125,357.2891" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="199" x="1059.125" y="373.0972">Has a message been read before?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="1027.125" y="366.6948">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="1270.125" y="366.6948">no</text><rect fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="185" x="880.875" y="391.2891"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="165" x="890.875" y="412.4277">access last read message</text><rect fill="#FFFFFF" filter="url(#f1n5j7g2wxnm1t)" height="213.9448" style="stroke: #000000; stroke-width: 2.0;" width="355" x="794.375" y="491.77"/><path d="M978.375,492.77 L978.375,501.0669 L968.375,511.0669 L794.375,511.0669 " fill="none" style="stroke: #000000; stroke-width: 2.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="174" x="797.375" y="505.7651">find oldest valid message</text><rect fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="156" x="895.375" y="528.0669"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="136" x="905.375" y="549.2056">access next message</text><rect fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="169" x="888.875" y="637.7461"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="149" x="898.875" y="658.8848">iterate by one message</text><polygon fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" points="840.375,582.0356,1106.375,582.0356,1118.375,594.0356,1106.375,606.0356,840.375,606.0356,828.375,594.0356,840.375,582.0356" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="977.375" y="616.2461">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="266" x="840.375" y="597.8438">Timestamp of next is younger than of current?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="814.375" y="591.4414">no</text><polygon fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" points="861.375,445.2578,1085.375,445.2578,1097.375,457.2578,1085.375,469.2578,861.375,469.2578,849.375,457.2578,861.375,445.2578" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="977.375" y="479.4683">no</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="224" x="861.375" y="461.0659">Message timestamp equals local copy?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="1097.375" y="454.6636">yes</text><polygon fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" points="973.375,725.7148,985.375,737.7148,973.375,749.7148,961.375,737.7148,973.375,725.7148" style="stroke: #A80036; stroke-width: 1.5;"/><rect fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="305" x="1191.375" y="391.2891"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="285" x="1201.375" y="412.4277">access message after topic's latest message</text><polygon fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" points="1158.625,755.7148,1170.625,767.7148,1158.625,779.7148,1146.625,767.7148,1158.625,755.7148" style="stroke: #A80036; stroke-width: 1.5;"/><polygon fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" points="917.5,785.7148,929.5,797.7148,917.5,809.7148,905.5,797.7148,917.5,785.7148" style="stroke: #A80036; stroke-width: 1.5;"/><rect fill="#FFFFFF" filter="url(#f1n5j7g2wxnm1t)" height="358.3472" style="stroke: #000000; stroke-width: 2.0;" width="709" x="567.5" y="820.5166"/><path d="M681.5,821.5166 L681.5,829.8135 L671.5,839.8135 L567.5,839.8135 " fill="none" style="stroke: #000000; stroke-width: 2.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="104" x="570.5" y="834.5117">iterate to latest</text><rect fill="#000000" filter="url(#f1n5j7g2wxnm1t)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="612" x="611.5" y="960.9263"/><rect fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="296" x="625.5" y="986.9263"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="276" x="635.5" y="1008.0649">decrement HRT counter of current message</text><rect fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="260" x="949.5" y="986.9263"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="240" x="959.5" y="1008.0649">update QoS delay timer (@subscriber)</text><rect fill="#000000" filter="url(#f1n5j7g2wxnm1t)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="612" x="611.5" y="1040.895"/><polygon fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" points="864,912.5239,971,912.5239,983,924.5239,971,936.5239,864,936.5239,852,924.5239,864,912.5239" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="921.5" y="946.7344">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="107" x="864" y="928.332">Is HRT subscriber?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="983" y="921.9297">no</text><polygon fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" points="917.5,1066.895,929.5,1078.895,917.5,1090.895,905.5,1078.895,917.5,1066.895" style="stroke: #A80036; stroke-width: 1.5;"/><rect fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="169" x="833" y="1110.895"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="149" x="843" y="1132.0337">iterate by one message</text><polygon fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" points="756,856.8135,1079,856.8135,1091,868.8135,1079,880.8135,756,880.8135,744,868.8135,756,856.8135" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="921.5" y="891.0239">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="323" x="756" y="872.6216">Timestamp of next message is younger than of current?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="730" y="866.2192">no</text><rect fill="#000000" filter="url(#f1n5j7g2wxnm1t)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="1825" x="10" y="1198.8638"/><rect fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="352" x="22" y="1382.1528"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="332" x="32" y="1403.2915">set last fetched message pointer to locked message</text><rect fill="#000000" filter="url(#f1n5j7g2wxnm1t)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="586" x="384" y="1307.7505"/><rect fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="196" x="396" y="1382.1528"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="176" x="406" y="1403.2915">copy timestamp of message</text><rect fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="304" x="630" y="1382.1528"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="284" x="640" y="1403.2915">set latency value (now - message origin time)</text><polygon fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" points="662,1333.7505,902,1333.7505,914,1345.7505,902,1357.7505,662,1357.7505,650,1345.7505,662,1333.7505" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="786" y="1367.9609">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="240" x="662" y="1349.5586">Optional output argument "latency" given?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="914" y="1343.1563">no</text><polygon fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" points="782,1440.5239,794,1452.5239,782,1464.5239,770,1452.5239,782,1440.5239" style="stroke: #A80036; stroke-width: 1.5;"/><rect fill="#000000" filter="url(#f1n5j7g2wxnm1t)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="586" x="384" y="1484.5239"/><rect fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="163" x="998" y="1382.1528"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="143" x="1008" y="1403.2915">copy message payload</text><rect fill="#000000" filter="url(#f1n5j7g2wxnm1t)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="610" x="1199" y="1273.2661"/><rect fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="296" x="1213" y="1299.2661"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="276" x="1223" y="1320.4048">decrement HRT counter of current message</text><rect fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="217" x="1252.5" y="1416.6372"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="197" x="1262.5" y="1437.7759">signal topic's condition variable</text><polygon fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" points="1257.5,1368.2349,1464.5,1368.2349,1476.5,1380.2349,1464.5,1392.2349,1257.5,1392.2349,1245.5,1380.2349,1257.5,1368.2349" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="1365" y="1402.4453">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="207" x="1257.5" y="1384.043">At least one HRT counter became 0?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="1476.5" y="1377.6406">no</text><polygon fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" points="1361,1475.0083,1373,1487.0083,1361,1499.0083,1349,1487.0083,1361,1475.0083" style="stroke: #A80036; stroke-width: 1.5;"/><rect fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="260" x="1537" y="1382.1528"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="240" x="1547" y="1403.2915">update QoS delay timer (@subscriber)</text><rect fill="#000000" filter="url(#f1n5j7g2wxnm1t)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="610" x="1199" y="1519.0083"/><polygon fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" points="1451.5,1224.8638,1558.5,1224.8638,1570.5,1236.8638,1558.5,1248.8638,1451.5,1248.8638,1439.5,1236.8638,1451.5,1224.8638" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="1509" y="1259.0742">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="107" x="1451.5" y="1240.6719">Is HRT subscriber?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="1570.5" y="1234.2695">no</text><polygon fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" points="1505,1545.0083,1517,1557.0083,1505,1569.0083,1493,1557.0083,1505,1545.0083" style="stroke: #A80036; stroke-width: 1.5;"/><rect fill="#000000" filter="url(#f1n5j7g2wxnm1t)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="1825" x="10" y="1589.0083"/><rect fill="#FEFECE" filter="url(#f1n5j7g2wxnm1t)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="96" x="869.5" y="1615.0083"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="76" x="879.5" y="1636.147">unlock topic</text><path d="M704.5,1659.8442 L704.5,1700.1099 A0,0 0 0 0 704.5,1700.1099 L886.5,1700.1099 A0,0 0 0 0 886.5,1700.1099 L886.5,1683.9771 L906.5,1679.9771 L886.5,1675.9771 L886.5,1669.8442 L876.5,1659.8442 L704.5,1659.8442 A0,0 0 0 0 704.5,1659.8442 " fill="#FBFB77" filter="url(#f1n5j7g2wxnm1t)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M876.5,1659.8442 L876.5,1669.8442 L886.5,1669.8442 L876.5,1659.8442 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="704.5" x2="719" y1="1672.4106" y2="1672.4106"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="723" y="1676.4111"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="45" x="723" y="1676.4111">return</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="772" y="1676.4111"/><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="96" x="772" y="1676.4111">urt_status_t</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="872" y="1676.4111"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="872" x2="886.5" y1="1672.4106" y2="1672.4106"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="49" x="710.5" y="1692.0439">Returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="104" x="763.5" y="1692.0439">URT_STATUS_OK</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="867.5" y="1692.0439">.</text><ellipse cx="917.5" cy="1679.9771" fill="#FFFFFF" filter="url(#f1n5j7g2wxnm1t)" rx="11" ry="11" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="917.5" cy="1679.9771" fill="#000000" rx="6" ry="6" style="stroke: #7F7F7F; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="917.5" x2="917.5" y1="171.0898" y2="269.3203"/><polygon fill="#A80036" points="913.5,259.3203,917.5,269.3203,921.5,259.3203,917.5,263.3203" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="973.375" x2="973.375" y1="606.0356" y2="637.7461"/><polygon fill="#A80036" points="969.375,627.7461,973.375,637.7461,977.375,627.7461,973.375,631.7461" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="973.375" x2="973.375" y1="671.7148" y2="681.7148"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="973.375" x2="1130.375" y1="681.7148" y2="681.7148"/><polygon fill="#A80036" points="1126.375,646.3281,1130.375,636.3281,1134.375,646.3281,1130.375,642.3281" style="stroke: #A80036; stroke-width: 1.5;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1130.375" x2="1130.375" y1="594.0356" y2="681.7148"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1130.375" x2="1118.375" y1="594.0356" y2="594.0356"/><polygon fill="#A80036" points="1128.375,590.0356,1118.375,594.0356,1128.375,598.0356,1124.375,594.0356" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="828.375" x2="816.375" y1="594.0356" y2="594.0356"/><polygon fill="#A80036" points="812.375,632.3281,816.375,642.3281,820.375,632.3281,816.375,636.3281" style="stroke: #A80036; stroke-width: 1.5;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="816.375" x2="816.375" y1="594.0356" y2="693.7148"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="816.375" x2="973.375" y1="693.7148" y2="693.7148"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="973.375" x2="973.375" y1="693.7148" y2="725.7148"/><polygon fill="#A80036" points="969.375,715.7148,973.375,725.7148,977.375,715.7148,973.375,719.7148" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="973.375" x2="973.375" y1="562.0356" y2="582.0356"/><polygon fill="#A80036" points="969.375,572.0356,973.375,582.0356,977.375,572.0356,973.375,576.0356" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="973.375" x2="973.375" y1="469.2578" y2="528.0669"/><polygon fill="#A80036" points="969.375,518.0669,973.375,528.0669,977.375,518.0669,973.375,522.0669" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1097.375" x2="1159.375" y1="457.2578" y2="457.2578"/><polygon fill="#A80036" points="1155.375,588.7896,1159.375,598.7896,1163.375,588.7896,1159.375,592.7896" style="stroke: #A80036; stroke-width: 1.5;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1159.375" x2="1159.375" y1="457.2578" y2="737.7148"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1159.375" x2="985.375" y1="737.7148" y2="737.7148"/><polygon fill="#A80036" points="995.375,733.7148,985.375,737.7148,995.375,741.7148,991.375,737.7148" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="973.375" x2="973.375" y1="425.2578" y2="445.2578"/><polygon fill="#A80036" points="969.375,435.2578,973.375,445.2578,977.375,435.2578,973.375,439.2578" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1047.125" x2="973.375" y1="369.2891" y2="369.2891"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="973.375" x2="973.375" y1="369.2891" y2="391.2891"/><polygon fill="#A80036" points="969.375,381.2891,973.375,391.2891,977.375,381.2891,973.375,385.2891" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1270.125" x2="1343.875" y1="369.2891" y2="369.2891"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1343.875" x2="1343.875" y1="369.2891" y2="391.2891"/><polygon fill="#A80036" points="1339.875,381.2891,1343.875,391.2891,1347.875,381.2891,1343.875,385.2891" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="973.375" x2="973.375" y1="749.7148" y2="767.7148"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="973.375" x2="1146.625" y1="767.7148" y2="767.7148"/><polygon fill="#A80036" points="1136.625,763.7148,1146.625,767.7148,1136.625,771.7148,1140.625,767.7148" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1343.875" x2="1343.875" y1="425.2578" y2="767.7148"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1343.875" x2="1170.625" y1="767.7148" y2="767.7148"/><polygon fill="#A80036" points="1180.625,763.7148,1170.625,767.7148,1180.625,771.7148,1176.625,767.7148" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="852" x2="676.375" y1="335.2891" y2="335.2891"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="676.375" x2="676.375" y1="335.2891" y2="357.2891"/><polygon fill="#A80036" points="672.375,347.2891,676.375,357.2891,680.375,347.2891,676.375,351.2891" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="983" x2="1158.625" y1="335.2891" y2="335.2891"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1158.625" x2="1158.625" y1="335.2891" y2="357.2891"/><polygon fill="#A80036" points="1154.625,347.2891,1158.625,357.2891,1162.625,347.2891,1158.625,351.2891" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="676.375" x2="676.375" y1="391.2578" y2="797.7148"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="676.375" x2="905.5" y1="797.7148" y2="797.7148"/><polygon fill="#A80036" points="895.5,793.7148,905.5,797.7148,895.5,801.7148,899.5,797.7148" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1158.625" x2="1158.625" y1="779.7148" y2="797.7148"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1158.625" x2="929.5" y1="797.7148" y2="797.7148"/><polygon fill="#A80036" points="939.5,793.7148,929.5,797.7148,939.5,801.7148,935.5,797.7148" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="917.5" x2="917.5" y1="303.2891" y2="323.2891"/><polygon fill="#A80036" points="913.5,313.2891,917.5,323.2891,921.5,313.2891,917.5,317.2891" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="773.5" x2="773.5" y1="966.9263" y2="986.9263"/><polygon fill="#A80036" points="769.5,976.9263,773.5,986.9263,777.5,976.9263,773.5,980.9263" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1079.5" x2="1079.5" y1="966.9263" y2="986.9263"/><polygon fill="#A80036" points="1075.5,976.9263,1079.5,986.9263,1083.5,976.9263,1079.5,980.9263" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="773.5" x2="773.5" y1="1020.895" y2="1040.895"/><polygon fill="#A80036" points="769.5,1030.895,773.5,1040.895,777.5,1030.895,773.5,1034.895" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1079.5" x2="1079.5" y1="1020.895" y2="1040.895"/><polygon fill="#A80036" points="1075.5,1030.895,1079.5,1040.895,1083.5,1030.895,1079.5,1034.895" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="917.5" x2="917.5" y1="936.5239" y2="960.9263"/><polygon fill="#A80036" points="913.5,950.9263,917.5,960.9263,921.5,950.9263,917.5,954.9263" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="983" x2="1233.5" y1="924.5239" y2="924.5239"/><polygon fill="#A80036" points="1229.5,993.9106,1233.5,1003.9106,1237.5,993.9106,1233.5,997.9106" style="stroke: #A80036; stroke-width: 1.5;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1233.5" x2="1233.5" y1="924.5239" y2="1078.895"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1233.5" x2="929.5" y1="1078.895" y2="1078.895"/><polygon fill="#A80036" points="939.5,1074.895,929.5,1078.895,939.5,1082.895,935.5,1078.895" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="917.5" x2="917.5" y1="1046.895" y2="1066.895"/><polygon fill="#A80036" points="913.5,1056.895,917.5,1066.895,921.5,1056.895,917.5,1060.895" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="917.5" x2="917.5" y1="1090.895" y2="1110.895"/><polygon fill="#A80036" points="913.5,1100.895,917.5,1110.895,921.5,1100.895,917.5,1104.895" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="917.5" x2="917.5" y1="880.8135" y2="912.5239"/><polygon fill="#A80036" points="913.5,902.5239,917.5,912.5239,921.5,902.5239,917.5,906.5239" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="917.5" x2="917.5" y1="1144.8638" y2="1154.8638"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="917.5" x2="1257.5" y1="1154.8638" y2="1154.8638"/><polygon fill="#A80036" points="1253.5,1029.9927,1257.5,1019.9927,1261.5,1029.9927,1257.5,1025.9927" style="stroke: #A80036; stroke-width: 1.5;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1257.5" x2="1257.5" y1="868.8135" y2="1154.8638"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1257.5" x2="1091" y1="868.8135" y2="868.8135"/><polygon fill="#A80036" points="1101,864.8135,1091,868.8135,1101,872.8135,1097,868.8135" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="744" x2="589.5" y1="868.8135" y2="868.8135"/><polygon fill="#A80036" points="585.5,1015.9927,589.5,1025.9927,593.5,1015.9927,589.5,1019.9927" style="stroke: #A80036; stroke-width: 1.5;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="589.5" x2="589.5" y1="868.8135" y2="1166.8638"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="589.5" x2="917.5" y1="1166.8638" y2="1166.8638"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="917.5" x2="917.5" y1="1166.8638" y2="1198.8638"/><polygon fill="#A80036" points="913.5,1188.8638,917.5,1198.8638,921.5,1188.8638,917.5,1192.8638" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="917.5" x2="917.5" y1="809.7148" y2="856.8135"/><polygon fill="#A80036" points="913.5,846.8135,917.5,856.8135,921.5,846.8135,917.5,850.8135" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="782" x2="782" y1="1357.7505" y2="1382.1528"/><polygon fill="#A80036" points="778,1372.1528,782,1382.1528,786,1372.1528,782,1376.1528" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="914" x2="944" y1="1345.7505" y2="1345.7505"/><polygon fill="#A80036" points="940,1389.1372,944,1399.1372,948,1389.1372,944,1393.1372" style="stroke: #A80036; stroke-width: 1.5;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="944" x2="944" y1="1345.7505" y2="1452.5239"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="944" x2="794" y1="1452.5239" y2="1452.5239"/><polygon fill="#A80036" points="804,1448.5239,794,1452.5239,804,1456.5239,800,1452.5239" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="782" x2="782" y1="1416.1216" y2="1440.5239"/><polygon fill="#A80036" points="778,1430.5239,782,1440.5239,786,1430.5239,782,1434.5239" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="494" x2="494" y1="1313.7505" y2="1382.1528"/><polygon fill="#A80036" points="490,1372.1528,494,1382.1528,498,1372.1528,494,1376.1528" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="782" x2="782" y1="1313.7505" y2="1333.7505"/><polygon fill="#A80036" points="778,1323.7505,782,1333.7505,786,1323.7505,782,1327.7505" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="494" x2="494" y1="1416.1216" y2="1484.5239"/><polygon fill="#A80036" points="490,1474.5239,494,1484.5239,498,1474.5239,494,1478.5239" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="782" x2="782" y1="1464.5239" y2="1484.5239"/><polygon fill="#A80036" points="778,1474.5239,782,1484.5239,786,1474.5239,782,1478.5239" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1361" x2="1361" y1="1392.2349" y2="1416.6372"/><polygon fill="#A80036" points="1357,1406.6372,1361,1416.6372,1365,1406.6372,1361,1410.6372" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1476.5" x2="1488.5" y1="1380.2349" y2="1380.2349"/><polygon fill="#A80036" points="1484.5,1423.6216,1488.5,1433.6216,1492.5,1423.6216,1488.5,1427.6216" style="stroke: #A80036; stroke-width: 1.5;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1488.5" x2="1488.5" y1="1380.2349" y2="1487.0083"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1488.5" x2="1373" y1="1487.0083" y2="1487.0083"/><polygon fill="#A80036" points="1383,1483.0083,1373,1487.0083,1383,1491.0083,1379,1487.0083" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1361" x2="1361" y1="1450.606" y2="1475.0083"/><polygon fill="#A80036" points="1357,1465.0083,1361,1475.0083,1365,1465.0083,1361,1469.0083" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1361" x2="1361" y1="1333.2349" y2="1368.2349"/><polygon fill="#A80036" points="1357,1358.2349,1361,1368.2349,1365,1358.2349,1361,1362.2349" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1361" x2="1361" y1="1279.2661" y2="1299.2661"/><polygon fill="#A80036" points="1357,1289.2661,1361,1299.2661,1365,1289.2661,1361,1293.2661" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1667" x2="1667" y1="1279.2661" y2="1382.1528"/><polygon fill="#A80036" points="1663,1372.1528,1667,1382.1528,1671,1372.1528,1667,1376.1528" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1361" x2="1361" y1="1499.0083" y2="1519.0083"/><polygon fill="#A80036" points="1357,1509.0083,1361,1519.0083,1365,1509.0083,1361,1513.0083" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1667" x2="1667" y1="1416.1216" y2="1519.0083"/><polygon fill="#A80036" points="1663,1509.0083,1667,1519.0083,1671,1509.0083,1667,1513.0083" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1505" x2="1505" y1="1248.8638" y2="1273.2661"/><polygon fill="#A80036" points="1501,1263.2661,1505,1273.2661,1509,1263.2661,1505,1267.2661" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1570.5" x2="1819" y1="1236.8638" y2="1236.8638"/><polygon fill="#A80036" points="1815,1389.1372,1819,1399.1372,1823,1389.1372,1819,1393.1372" style="stroke: #A80036; stroke-width: 1.5;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1819" x2="1819" y1="1236.8638" y2="1557.0083"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1819" x2="1517" y1="1557.0083" y2="1557.0083"/><polygon fill="#A80036" points="1527,1553.0083,1517,1557.0083,1527,1561.0083,1523,1557.0083" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1505" x2="1505" y1="1525.0083" y2="1545.0083"/><polygon fill="#A80036" points="1501,1535.0083,1505,1545.0083,1509,1535.0083,1505,1539.0083" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="198" x2="198" y1="1204.8638" y2="1382.1528"/><polygon fill="#A80036" points="194,1372.1528,198,1382.1528,202,1372.1528,198,1376.1528" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="676" x2="676" y1="1204.8638" y2="1307.7505"/><polygon fill="#A80036" points="672,1297.7505,676,1307.7505,680,1297.7505,676,1301.7505" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1079.5" x2="1079.5" y1="1204.8638" y2="1382.1528"/><polygon fill="#A80036" points="1075.5,1372.1528,1079.5,1382.1528,1083.5,1372.1528,1079.5,1376.1528" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1505" x2="1505" y1="1204.8638" y2="1224.8638"/><polygon fill="#A80036" points="1501,1214.8638,1505,1224.8638,1509,1214.8638,1505,1218.8638" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="198" x2="198" y1="1416.1216" y2="1589.0083"/><polygon fill="#A80036" points="194,1579.0083,198,1589.0083,202,1579.0083,198,1583.0083" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="676" x2="676" y1="1490.5239" y2="1589.0083"/><polygon fill="#A80036" points="672,1579.0083,676,1589.0083,680,1579.0083,676,1583.0083" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1079.5" x2="1079.5" y1="1416.1216" y2="1589.0083"/><polygon fill="#A80036" points="1075.5,1579.0083,1079.5,1589.0083,1083.5,1579.0083,1079.5,1583.0083" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1505" x2="1505" y1="1569.0083" y2="1589.0083"/><polygon fill="#A80036" points="1501,1579.0083,1505,1589.0083,1509,1579.0083,1505,1583.0083" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="917.5" x2="917.5" y1="1595.0083" y2="1615.0083"/><polygon fill="#A80036" points="913.5,1605.0083,917.5,1615.0083,921.5,1605.0083,917.5,1609.0083" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="917.5" x2="917.5" y1="1648.9771" y2="1668.9771"/><polygon fill="#A80036" points="913.5,1658.9771,917.5,1668.9771,921.5,1658.9771,917.5,1662.9771" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[167292abbdf09640a655e5720c8b3dc1]
2
@startuml
3

    
4
title **µRtWare**\nurtSubscriberFetchLatestMessage()\n
5

    
6

    
7

    
8

    
9

    
10

    
11

    
12

    
13

    
14

    
15

    
16

    
17
start
18
note
19
  - - ""**subscriber** : urt_subscriber_t*"" - -
20
  The subscriber that shall fetch the message.
21
  Must not be ""NULL"".
22
  - - ""**payload** : void*"" - -
23
  Pointer where to copy the payload to.
24
  May be ""NULL"" for messages without payload.
25
  - - ""**bytes** : size_t"" - -
26
  Payload size in bytes.
27
  - - ""**latency** : urt_delay_t*"" - -
28
  The latency can be returned by reference.
29
  May be ""NULL"".
30
end note
31

    
32

    
33
:lock topic;
34
if (Is HRT subscriber?) then (yes)
35
  :access next message;
36
else (no)
37
  if (Has a message been read before?) then (yes)
38
    :access last read message;
39
    if (Message timestamp equals local copy?) then (yes)
40
    else (no)
41
      partition "find oldest valid message" {
42
        :access next message;
43
        while (Timestamp of next is younger than of current?) is (yes)
44
          :iterate by one message;
45
        endwhile (no)
46
      }
47
    endif
48
  else (no)
49
    :access message after topic's latest message;
50
  endif
51
endif
52
partition "iterate to latest" {
53
  while (Timestamp of next message is younger than of current?) is (yes)
54
    if (Is HRT subscriber?) then (yes)
55
      fork
56
        :decrement HRT counter of current message;
57
      fork again
58
        :update QoS delay timer (@subscriber);
59
      endfork
60
    else (no)
61
    endif
62
    :iterate by one message;
63
  endwhile (no)
64
}
65
fork
66
  :set last fetched message pointer to locked message;
67
fork again
68
  fork
69
    :copy timestamp of message;
70
  fork again
71
    if (Optional output argument "latency" given?) then (yes)
72
      :set latency value (now - message origin time);
73
    else (no)
74
    endif
75
  endfork
76
fork again
77
  :copy message payload;
78
fork again
79
  if (Is HRT subscriber?) then (yes)
80
    fork
81
      :decrement HRT counter of current message;
82
      if (At least one HRT counter became 0?) then (yes)
83
        :signal topic's condition variable;
84
      else (no)
85
      endif
86
    fork again
87
      :update QoS delay timer (@subscriber);
88
    endfork
89
  else (no)
90
  endif
91
endfork
92
:unlock topic;
93

    
94

    
95
stop
96
note
97
  - - **return** ""urt_status_t"" - -
98
  Returns ""URT_STATUS_OK"".
99
end note
100

    
101

    
102
@enduml
103

    
104
PlantUML version 1.2020.00(Sat Jan 11 13:30:53 CET 2020)
105
(GPL source distribution)
106
Java Runtime: OpenJDK Runtime Environment
107
JVM: OpenJDK 64-Bit Server VM
108
Java Version: 11.0.6+10-post-Ubuntu-1ubuntu118.04.1
109
Operating System: Linux
110
Default Encoding: UTF-8
111
Language: en
112
Country: US
113
--></g></svg>