urtware / doc / activitydiagrams / request / hrtrequest / urtHrtRequestRetrieve.svg @ 65dc89cb
History | View | Annotate | Download (29.198 KB)
1 | 2d315870 | 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="947px" preserveAspectRatio="none" style="width:2041px;height:947px;" version="1.1" viewBox="0 0 2041 947" width="2041px" zoomAndPan="magnify"><defs><filter height="300%" id="f15t8xlgj95u06" 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="975" y="26.708">µRtWare</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="218" x="910.5" y="47.6611">urtHrtRequestRetrieve()</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="0" x="1022.5" y="68.6143"/><path d="M1162,72.8594 L1162,183.6563 L1766,183.6563 L1766,82.8594 L1756,72.8594 L1162,72.8594 " fill="#FBFB77" filter="url(#f15t8xlgj95u06)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M1756,72.8594 L1756,82.8594 L1766,82.8594 L1756,72.8594 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="1162" x2="1370" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="1374" y="89.4263"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="57" x="1374" y="89.4263">request</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="119" x="1435" y="89.4263">: urt_hrtrequest_t*</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="1558" x2="1766" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="150" x="1168" y="105.0591">The request to retrieve.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="76" x="1168" y="120.1919">Must not be</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="1248" y="120.1919">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="1280" y="120.1919">.</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="1162" x2="1766" y1="128.2578" y2="128.2578"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="1162" x2="1766" y1="130.2578" y2="130.2578"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="1162" x2="1393" y1="140.8242" y2="140.8242"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="1397" y="144.8247"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="45" x="1397" y="144.8247">return</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="85" x="1446" y="144.8247">: urt_status_t</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="1535" x2="1766" y1="140.8242" y2="140.8242"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="103" x="1168" y="160.4575">Typcially returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="104" x="1275" y="160.4575">URT_STATUS_OK</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="1379" y="160.4575">.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="49" x="1168" y="175.5903">Returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="216" x="1221" y="175.5903">URT_STATUS_REQUEST_BADOWNER</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="310" x="1441" y="175.5903">if the request had to be removed from a service.</text><ellipse cx="1464" cy="213.6563" fill="#000000" filter="url(#f15t8xlgj95u06)" rx="10" ry="10" style="stroke: none; stroke-width: 1.0;"/><rect fill="#FEFECE" filter="url(#f15t8xlgj95u06)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="98" x="1415" y="243.6563"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="78" x="1425" y="264.7949">lock request</text><rect fill="#FEFECE" filter="url(#f15t8xlgj95u06)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="118" x="1405" y="297.625"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="98" x="1415" y="318.7637">reset QoS timer</text><path d="M1268,399.9961 L1268,425.1289 A0,0 0 0 0 1268,425.1289 L1433,425.1289 A0,0 0 0 0 1433,425.1289 L1433,417.9961 L1453,412.5625 L1433,409.9961 L1433,409.9961 L1423,399.9961 L1268,399.9961 A0,0 0 0 0 1268,399.9961 " fill="#FBFB77" filter="url(#f15t8xlgj95u06)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M1423,399.9961 L1423,409.9961 L1433,409.9961 L1423,399.9961 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="144" x="1274" y="417.063">Execute system panic.</text><ellipse cx="1464" cy="412.5625" fill="#FFFFFF" filter="url(#f15t8xlgj95u06)" rx="11" ry="11" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="1464" cy="412.5625" fill="#000000" rx="6" ry="6" style="stroke: #7F7F7F; stroke-width: 1.0;"/><polygon fill="#FEFECE" filter="url(#f15t8xlgj95u06)" points="1332,351.5938,1596,351.5938,1608,363.5938,1596,375.5938,1332,375.5938,1320,363.5938,1332,351.5938" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="1468" y="385.8042">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="264" x="1332" y="367.4019">Latency is lower than allowed by jitter setting?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="1608" y="360.9995">no</text><polygon fill="#FEFECE" filter="url(#f15t8xlgj95u06)" points="1374,467.1289,1554,467.1289,1566,479.1289,1554,491.1289,1374,491.1289,1362,479.1289,1374,467.1289" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="180" x="1374" y="482.937">Request is owned by a service?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="1342" y="476.5347">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="1566" y="476.5347">no</text><rect fill="#000000" filter="url(#f15t8xlgj95u06)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="1782" x="10" y="501.1289"/><rect fill="#FFFFFF" filter="url(#f15t8xlgj95u06)" height="339.0078" style="stroke: #000000; stroke-width: 2.0;" width="1602" x="22" y="527.1289"/><path d="M153,528.1289 L153,536.4258 L143,546.4258 L22,546.4258 " fill="none" style="stroke: #000000; stroke-width: 2.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="121" x="25" y="541.124">unqueue request</text><rect fill="#FEFECE" filter="url(#f15t8xlgj95u06)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="93" x="776.5" y="563.4258"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="73" x="786.5" y="584.5645">lock service</text><rect fill="#000000" filter="url(#f15t8xlgj95u06)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="1582" x="32" y="617.3945"/><polygon fill="#FEFECE" filter="url(#f15t8xlgj95u06)" points="206,659.7969,435,659.7969,447,671.7969,435,683.7969,206,683.7969,194,671.7969,206,659.7969" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="229" x="206" y="675.605">This was the first request in the queue?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="174" y="669.2026">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="447" y="669.2026">no</text><rect fill="#FEFECE" filter="url(#f15t8xlgj95u06)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="219" x="56" y="693.7969"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="66" y="714.9355">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="126" x="90" y="714.9355">requestQueue_front</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="13" x="220" y="714.9355">to</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="237" y="714.9355">next</text><rect fill="#FEFECE" filter="url(#f15t8xlgj95u06)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="361" x="295" y="693.7969"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="305" y="714.9355">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="329" y="714.9355">prev</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="157" x="361" y="714.9355">of preceeding request to</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="522" y="714.9355">prev</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="92" x="554" y="714.9355">of this reuqest</text><polygon fill="#FEFECE" filter="url(#f15t8xlgj95u06)" points="320.5,733.7656,332.5,745.7656,320.5,757.7656,308.5,745.7656,320.5,733.7656" style="stroke: #A80036; stroke-width: 1.5;"/><polygon fill="#FEFECE" filter="url(#f15t8xlgj95u06)" points="848.25,659.7969,1078.25,659.7969,1090.25,671.7969,1078.25,683.7969,848.25,683.7969,836.25,671.7969,848.25,659.7969" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="230" x="848.25" y="675.605">This was the final request in the queue?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="816.25" y="669.2026">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="1090.25" y="669.2026">no</text><rect fill="#FEFECE" filter="url(#f15t8xlgj95u06)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="212" x="704" y="693.7969"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="714" y="714.9355">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="119" x="738" y="714.9355">requestQueue_back</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="13" x="861" y="714.9355">to</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="878" y="714.9355">prev</text><rect fill="#FEFECE" filter="url(#f15t8xlgj95u06)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="361" x="936" y="693.7969"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="946" y="714.9355">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="970" y="714.9355">next</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="157" x="1002" y="714.9355">of preceeding request to</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="1163" y="714.9355">next</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="92" x="1195" y="714.9355">of this reuqest</text><polygon fill="#FEFECE" filter="url(#f15t8xlgj95u06)" points="963.25,733.7656,975.25,745.7656,963.25,757.7656,951.25,745.7656,963.25,733.7656" style="stroke: #A80036; stroke-width: 1.5;"/><rect fill="#FEFECE" filter="url(#f15t8xlgj95u06)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="233" x="1345" y="691.7969"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="1355" y="712.9355">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="140" x="1379" y="712.9355">requestQueue_hrtBack</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="13" x="1523" y="712.9355">to</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="1540" y="712.9355">prev</text><polygon fill="#FEFECE" filter="url(#f15t8xlgj95u06)" points="1371,643.3945,1552,643.3945,1564,655.3945,1552,667.3945,1371,667.3945,1359,655.3945,1371,643.3945" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="1465.5" y="677.605">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="181" x="1371" y="659.2026">This was the final HRT request?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="1564" y="652.8003">no</text><polygon fill="#FEFECE" filter="url(#f15t8xlgj95u06)" points="1461.5,750.168,1473.5,762.168,1461.5,774.168,1449.5,762.168,1461.5,750.168" style="stroke: #A80036; stroke-width: 1.5;"/><rect fill="#000000" filter="url(#f15t8xlgj95u06)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="1582" x="32" y="794.168"/><rect fill="#FEFECE" filter="url(#f15t8xlgj95u06)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="109" x="768.5" y="820.168"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="89" x="778.5" y="841.3066">unlock service</text><rect fill="#FEFECE" filter="url(#f15t8xlgj95u06)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="128" x="1652" y="683.6484"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="1662" y="704.7871">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="35" x="1686" y="704.7871">owner</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="13" x="1725" y="704.7871">to</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="1742" y="704.7871">NULL</text><rect fill="#000000" filter="url(#f15t8xlgj95u06)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="1782" x="10" y="886.1367"/><path d="M576,910.5703 L576,935.7031 A0,0 0 0 0 576,935.7031 L870,935.7031 A0,0 0 0 0 870,935.7031 L870,928.5703 L890,923.1367 L870,920.5703 L870,920.5703 L860,910.5703 L576,910.5703 A0,0 0 0 0 576,910.5703 " fill="#FBFB77" filter="url(#f15t8xlgj95u06)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M860,910.5703 L860,920.5703 L870,920.5703 L860,910.5703 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="49" x="582" y="927.6372">Returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="216" x="635" y="927.6372">URT_STATUS_REQUEST_BADOWNER</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="851" y="927.6372">.</text><ellipse cx="901" cy="923.1367" fill="#FFFFFF" filter="url(#f15t8xlgj95u06)" rx="11" ry="11" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="901" cy="923.1367" fill="#000000" rx="6" ry="6" style="stroke: #7F7F7F; stroke-width: 1.0;"/><path d="M1802,501.1289 L1802,526.2617 A0,0 0 0 0 1802,526.2617 L1984,526.2617 A0,0 0 0 0 1984,526.2617 L1984,519.1289 L2004,513.6953 L1984,511.1289 L1984,511.1289 L1974,501.1289 L1802,501.1289 A0,0 0 0 0 1802,501.1289 " fill="#FBFB77" filter="url(#f15t8xlgj95u06)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M1974,501.1289 L1974,511.1289 L1984,511.1289 L1974,501.1289 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="49" x="1808" y="518.1958">Returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="104" x="1861" y="518.1958">URT_STATUS_OK</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="1965" y="518.1958">.</text><ellipse cx="2015" cy="513.6953" fill="#FFFFFF" filter="url(#f15t8xlgj95u06)" rx="11" ry="11" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="2015" cy="513.6953" fill="#000000" rx="6" ry="6" style="stroke: #7F7F7F; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1464" x2="1464" y1="183.6563" y2="203.6563"/><polygon fill="#A80036" points="1460,193.6563,1464,203.6563,1468,193.6563,1464,197.6563" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1464" x2="1464" y1="223.6563" y2="243.6563"/><polygon fill="#A80036" points="1460,233.6563,1464,243.6563,1468,233.6563,1464,237.6563" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1464" x2="1464" y1="277.625" y2="297.625"/><polygon fill="#A80036" points="1460,287.625,1464,297.625,1468,287.625,1464,291.625" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1464" x2="1464" y1="375.5938" y2="401.5625"/><polygon fill="#A80036" points="1460,391.5625,1464,401.5625,1468,391.5625,1464,395.5625" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1608" x2="1620" y1="363.5938" y2="363.5938"/><polygon fill="#A80036" points="1616,399.5625,1620,409.5625,1624,399.5625,1620,403.5625" style="stroke: #A80036; stroke-width: 1.5;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1620" x2="1620" y1="363.5938" y2="447.1289"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1620" x2="1464" y1="447.1289" y2="447.1289"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1464" x2="1464" y1="447.1289" y2="467.1289"/><polygon fill="#A80036" points="1460,457.1289,1464,467.1289,1468,457.1289,1464,461.1289" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1464" x2="1464" y1="331.5938" y2="351.5938"/><polygon fill="#A80036" points="1460,341.5938,1464,351.5938,1468,341.5938,1464,345.5938" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="194" x2="165.5" y1="671.7969" y2="671.7969"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="165.5" x2="165.5" y1="671.7969" y2="693.7969"/><polygon fill="#A80036" points="161.5,683.7969,165.5,693.7969,169.5,683.7969,165.5,687.7969" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="447" x2="475.5" y1="671.7969" y2="671.7969"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="475.5" x2="475.5" y1="671.7969" y2="693.7969"/><polygon fill="#A80036" points="471.5,683.7969,475.5,693.7969,479.5,683.7969,475.5,687.7969" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="165.5" x2="165.5" y1="727.7656" y2="745.7656"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="165.5" x2="308.5" y1="745.7656" y2="745.7656"/><polygon fill="#A80036" points="298.5,741.7656,308.5,745.7656,298.5,749.7656,302.5,745.7656" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="475.5" x2="475.5" y1="727.7656" y2="745.7656"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="475.5" x2="332.5" y1="745.7656" y2="745.7656"/><polygon fill="#A80036" points="342.5,741.7656,332.5,745.7656,342.5,749.7656,338.5,745.7656" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="836.25" x2="810" y1="671.7969" y2="671.7969"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="810" x2="810" y1="671.7969" y2="693.7969"/><polygon fill="#A80036" points="806,683.7969,810,693.7969,814,683.7969,810,687.7969" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1090.25" x2="1116.5" y1="671.7969" y2="671.7969"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1116.5" x2="1116.5" y1="671.7969" y2="693.7969"/><polygon fill="#A80036" points="1112.5,683.7969,1116.5,693.7969,1120.5,683.7969,1116.5,687.7969" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="810" x2="810" y1="727.7656" y2="745.7656"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="810" x2="951.25" y1="745.7656" y2="745.7656"/><polygon fill="#A80036" points="941.25,741.7656,951.25,745.7656,941.25,749.7656,945.25,745.7656" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1116.5" x2="1116.5" y1="727.7656" y2="745.7656"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1116.5" x2="975.25" y1="745.7656" y2="745.7656"/><polygon fill="#A80036" points="985.25,741.7656,975.25,745.7656,985.25,749.7656,981.25,745.7656" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1461.5" x2="1461.5" y1="667.3945" y2="691.7969"/><polygon fill="#A80036" points="1457.5,681.7969,1461.5,691.7969,1465.5,681.7969,1461.5,685.7969" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1564" x2="1588" y1="655.3945" y2="655.3945"/><polygon fill="#A80036" points="1584,698.7813,1588,708.7813,1592,698.7813,1588,702.7813" style="stroke: #A80036; stroke-width: 1.5;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1588" x2="1588" y1="655.3945" y2="762.168"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1588" x2="1473.5" y1="762.168" y2="762.168"/><polygon fill="#A80036" points="1483.5,758.168,1473.5,762.168,1483.5,766.168,1479.5,762.168" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1461.5" x2="1461.5" y1="725.7656" y2="750.168"/><polygon fill="#A80036" points="1457.5,740.168,1461.5,750.168,1465.5,740.168,1461.5,744.168" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="320.5" x2="320.5" y1="623.3945" y2="659.7969"/><polygon fill="#A80036" points="316.5,649.7969,320.5,659.7969,324.5,649.7969,320.5,653.7969" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="963.25" x2="963.25" y1="623.3945" y2="659.7969"/><polygon fill="#A80036" points="959.25,649.7969,963.25,659.7969,967.25,649.7969,963.25,653.7969" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1461.5" x2="1461.5" y1="623.3945" y2="643.3945"/><polygon fill="#A80036" points="1457.5,633.3945,1461.5,643.3945,1465.5,633.3945,1461.5,637.3945" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="320.5" x2="320.5" y1="757.7656" y2="794.168"/><polygon fill="#A80036" points="316.5,784.168,320.5,794.168,324.5,784.168,320.5,788.168" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="963.25" x2="963.25" y1="757.7656" y2="794.168"/><polygon fill="#A80036" points="959.25,784.168,963.25,794.168,967.25,784.168,963.25,788.168" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1461.5" x2="1461.5" y1="774.168" y2="794.168"/><polygon fill="#A80036" points="1457.5,784.168,1461.5,794.168,1465.5,784.168,1461.5,788.168" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="823" x2="823" y1="597.3945" y2="617.3945"/><polygon fill="#A80036" points="819,607.3945,823,617.3945,827,607.3945,823,611.3945" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="823" x2="823" y1="800.168" y2="820.168"/><polygon fill="#A80036" points="819,810.168,823,820.168,827,810.168,823,814.168" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="823" x2="823" y1="507.1289" y2="563.4258"/><polygon fill="#A80036" points="819,553.4258,823,563.4258,827,553.4258,823,557.4258" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1716" x2="1716" y1="507.1289" y2="683.6484"/><polygon fill="#A80036" points="1712,673.6484,1716,683.6484,1720,673.6484,1716,677.6484" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="823" x2="823" y1="854.1367" y2="886.1367"/><polygon fill="#A80036" points="819,876.1367,823,886.1367,827,876.1367,823,880.1367" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1716" x2="1716" y1="717.6172" y2="886.1367"/><polygon fill="#A80036" points="1712,876.1367,1716,886.1367,1720,876.1367,1716,880.1367" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="901" x2="901" y1="892.1367" y2="912.1367"/><polygon fill="#A80036" points="897,902.1367,901,912.1367,905,902.1367,901,906.1367" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1362" x2="901" y1="479.1289" y2="479.1289"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="901" x2="901" y1="479.1289" y2="501.1289"/><polygon fill="#A80036" points="897,491.1289,901,501.1289,905,491.1289,901,495.1289" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1566" x2="2015" y1="479.1289" y2="479.1289"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="2015" x2="2015" y1="479.1289" y2="502.6953"/><polygon fill="#A80036" points="2011,492.6953,2015,502.6953,2019,492.6953,2015,496.6953" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[459800495ff547d8635b98a94728b6e8] |
---|---|---|---|
2 | @startuml |
||
3 | |||
4 | title **µRtWare**\nurtHrtRequestRetrieve()\n |
||
5 | |||
6 | |||
7 | note |
||
8 | - - **request** : urt_hrtrequest_t* - - |
||
9 | The request to retrieve. |
||
10 | Must not be ""NULL"". |
||
11 | ==== |
||
12 | - - **return** : urt_status_t - - |
||
13 | Typcially returns ""URT_STATUS_OK"". |
||
14 | Returns ""URT_STATUS_REQUEST_BADOWNER"" if the request had to be removed from a service. |
||
15 | endnote |
||
16 | |||
17 | |||
18 | start |
||
19 | :lock request; |
||
20 | :reset QoS timer; |
||
21 | if (Latency is lower than allowed by jitter setting?) then (yes) |
||
22 | stop |
||
23 | note |
||
24 | Execute system panic. |
||
25 | endnote |
||
26 | else (no) |
||
27 | endif |
||
28 | if (Request is owned by a service?) then (yes) |
||
29 | fork |
||
30 | partition "unqueue request" { |
||
31 | :lock service; |
||
32 | fork |
||
33 | if (This was the first request in the queue?) then (yes) |
||
34 | :set ""requestQueue_front"" to ""next""; |
||
35 | else (no) |
||
36 | :set ""prev"" of preceeding request to ""prev"" of this reuqest; |
||
37 | endif |
||
38 | fork again |
||
39 | if (This was the final request in the queue?) then (yes) |
||
40 | :set ""requestQueue_back"" to ""prev""; |
||
41 | else (no) |
||
42 | :set ""next"" of preceeding request to ""next"" of this reuqest; |
||
43 | endif |
||
44 | fork again |
||
45 | if (This was the final HRT request?) then (yes) |
||
46 | :set ""requestQueue_hrtBack"" to ""prev""; |
||
47 | else (no) |
||
48 | endif |
||
49 | endfork |
||
50 | :unlock service; |
||
51 | } |
||
52 | fork again |
||
53 | :set ""owner"" to ""NULL""; |
||
54 | endfork |
||
55 | stop |
||
56 | note |
||
57 | Returns ""URT_STATUS_REQUEST_BADOWNER"". |
||
58 | endnote |
||
59 | else (no) |
||
60 | stop |
||
61 | note |
||
62 | Returns ""URT_STATUS_OK"". |
||
63 | endnote |
||
64 | endif |
||
65 | |||
66 | |||
67 | @enduml |
||
68 | |||
69 | PlantUML version 1.2020.00(Sat Jan 11 13:30:53 CET 2020) |
||
70 | (GPL source distribution) |
||
71 | Java Runtime: OpenJDK Runtime Environment |
||
72 | JVM: OpenJDK 64-Bit Server VM |
||
73 | Java Version: 11.0.7+10-post-Ubuntu-2ubuntu218.04 |
||
74 | Operating System: Linux |
||
75 | Default Encoding: UTF-8 |
||
76 | Language: en |
||
77 | Country: US |
||
78 | --></g></svg> |