Statistics
| Branch: | Revision:

urtware / doc / activitydiagrams / request / frtrequest / urtFrtRequestRetrieve.svg @ 792f6c74

History | View | Annotate | Download (29.389 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="837px" preserveAspectRatio="none" style="width:2306px;height:837px;" version="1.1" viewBox="0 0 2306 837" width="2306px" zoomAndPan="magnify"><defs><filter height="300%" id="f1l3acprou667y" 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="1107.5" y="26.708">µRtWare</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="214" x="1045" y="47.6611">urtFrtRequestRetrieve()</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="0" x="1155" y="68.6143"/><path d="M1339.25,72.8594 L1339.25,183.6563 L1943.25,183.6563 L1943.25,82.8594 L1933.25,72.8594 L1339.25,72.8594 " fill="#FBFB77" filter="url(#f1l3acprou667y)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M1933.25,72.8594 L1933.25,82.8594 L1943.25,82.8594 L1933.25,72.8594 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="1339.25" x2="1549.25" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="1553.25" y="89.4263"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="57" x="1553.25" y="89.4263">request</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="115" x="1614.25" y="89.4263">: urt_frtrequest_t*</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="1733.25" x2="1943.25" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="150" x="1345.25" y="105.0591">The request to retrieve.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="76" x="1345.25" y="120.1919">Must not be</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="1425.25" y="120.1919">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="1457.25" y="120.1919">.</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="1339.25" x2="1943.25" y1="128.2578" y2="128.2578"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="1339.25" x2="1943.25" y1="130.2578" y2="130.2578"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="1339.25" x2="1570.25" y1="140.8242" y2="140.8242"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="1574.25" y="144.8247"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="45" x="1574.25" y="144.8247">return</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="85" x="1623.25" y="144.8247">: urt_status_t</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="1712.25" x2="1943.25" y1="140.8242" y2="140.8242"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="103" x="1345.25" y="160.4575">Typcially returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="104" x="1452.25" y="160.4575">URT_STATUS_OK</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="1556.25" y="160.4575">.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="49" x="1345.25" y="175.5903">Returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="216" x="1398.25" y="175.5903">URT_STATUS_REQUEST_BADOWNER</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="310" x="1618.25" y="175.5903">if the request had to be removed from a service.</text><ellipse cx="1641.25" cy="213.6563" fill="#000000" filter="url(#f1l3acprou667y)" rx="10" ry="10" style="stroke: none; stroke-width: 1.0;"/><rect fill="#FEFECE" filter="url(#f1l3acprou667y)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="98" x="1592.25" y="243.6563"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="78" x="1602.25" y="264.7949">lock request</text><polygon fill="#FEFECE" filter="url(#f1l3acprou667y)" points="1551.25,297.625,1731.25,297.625,1743.25,309.625,1731.25,321.625,1551.25,321.625,1539.25,309.625,1551.25,297.625" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="180" x="1551.25" y="313.4331">Request is owned by a service?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="1519.25" y="307.0308">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="1743.25" y="307.0308">no</text><rect fill="#000000" filter="url(#f1l3acprou667y)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="2047" x="10" y="331.625"/><rect fill="#FFFFFF" filter="url(#f1l3acprou667y)" height="398.6055" style="stroke: #000000; stroke-width: 2.0;" width="1867" x="22" y="357.625"/><path d="M153,358.625 L153,366.9219 L143,376.9219 L22,376.9219 " 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="371.6201">unqueue request</text><rect fill="#FEFECE" filter="url(#f1l3acprou667y)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="93" x="914" y="393.9219"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="73" x="924" y="415.0605">lock service</text><rect fill="#000000" filter="url(#f1l3acprou667y)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="1847" x="32" y="447.8906"/><polygon fill="#FEFECE" filter="url(#f1l3acprou667y)" points="206,522.293,435,522.293,447,534.293,435,546.293,206,546.293,194,534.293,206,522.293" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="229" x="206" y="538.1011">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="531.6987">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="447" y="531.6987">no</text><rect fill="#FEFECE" filter="url(#f1l3acprou667y)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="219" x="56" y="556.293"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="66" y="577.4316">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="126" x="90" y="577.4316">requestQueue_front</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="13" x="220" y="577.4316">to</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="237" y="577.4316">next</text><rect fill="#FEFECE" filter="url(#f1l3acprou667y)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="361" x="295" y="556.293"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="305" y="577.4316">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="329" y="577.4316">prev</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="157" x="361" y="577.4316">of preceeding request to</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="522" y="577.4316">prev</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="92" x="554" y="577.4316">of this reuqest</text><polygon fill="#FEFECE" filter="url(#f1l3acprou667y)" points="320.5,596.2617,332.5,608.2617,320.5,620.2617,308.5,608.2617,320.5,596.2617" style="stroke: #A80036; stroke-width: 1.5;"/><polygon fill="#FEFECE" filter="url(#f1l3acprou667y)" points="810.25,522.293,1040.25,522.293,1052.25,534.293,1040.25,546.293,810.25,546.293,798.25,534.293,810.25,522.293" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="230" x="810.25" y="538.1011">This was the final request in the queue?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="778.25" y="531.6987">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="1052.25" y="531.6987">no</text><rect fill="#FEFECE" filter="url(#f1l3acprou667y)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="212" x="666" y="556.293"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="676" y="577.4316">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="119" x="700" y="577.4316">requestQueue_back</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="13" x="823" y="577.4316">to</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="840" y="577.4316">prev</text><rect fill="#FEFECE" filter="url(#f1l3acprou667y)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="361" x="898" y="556.293"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="908" y="577.4316">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="932" y="577.4316">next</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="157" x="964" y="577.4316">of preceeding request to</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="1125" y="577.4316">next</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="92" x="1157" y="577.4316">of this reuqest</text><polygon fill="#FEFECE" filter="url(#f1l3acprou667y)" points="925.25,596.2617,937.25,608.2617,925.25,620.2617,913.25,608.2617,925.25,596.2617" style="stroke: #A80036; stroke-width: 1.5;"/><polygon fill="#FEFECE" filter="url(#f1l3acprou667y)" points="1411,522.293,1691,522.293,1703,534.293,1691,546.293,1411,546.293,1399,534.293,1411,522.293" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="280" x="1411" y="538.1011">There are FRT or SRT requests left in the queue?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="1379" y="531.6987">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="1703" y="531.6987">no</text><rect fill="#FEFECE" filter="url(#f1l3acprou667y)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="240" x="1269" y="556.293"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="1279" y="577.4316">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="147" x="1303" y="577.4316">requestQueue_fsrtBack</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="13" x="1454" y="577.4316">to</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="1471" y="577.4316">prev</text><rect fill="#FEFECE" filter="url(#f1l3acprou667y)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="240" x="1593" y="556.293"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="1603" y="577.4316">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="147" x="1627" y="577.4316">requestQueue_fsrtBack</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="13" x="1778" y="577.4316">to</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="1795" y="577.4316">NULL</text><polygon fill="#FEFECE" filter="url(#f1l3acprou667y)" points="1551,596.2617,1563,608.2617,1551,620.2617,1539,608.2617,1551,596.2617" style="stroke: #A80036; stroke-width: 1.5;"/><polygon fill="#FEFECE" filter="url(#f1l3acprou667y)" points="1448.5,473.8906,1653.5,473.8906,1665.5,485.8906,1653.5,497.8906,1448.5,497.8906,1436.5,485.8906,1448.5,473.8906" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="1555" y="508.1011">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="205" x="1448.5" y="489.6987">This was the final FRT/SRT request?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="1665.5" y="483.2964">no</text><polygon fill="#FEFECE" filter="url(#f1l3acprou667y)" points="1551,640.2617,1563,652.2617,1551,664.2617,1539,652.2617,1551,640.2617" style="stroke: #A80036; stroke-width: 1.5;"/><rect fill="#000000" filter="url(#f1l3acprou667y)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="1847" x="32" y="684.2617"/><rect fill="#FEFECE" filter="url(#f1l3acprou667y)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="109" x="906" y="710.2617"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="89" x="916" y="731.4004">unlock service</text><rect fill="#FEFECE" filter="url(#f1l3acprou667y)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="128" x="1917" y="546.1445"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="1927" y="567.2832">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="35" x="1951" y="567.2832">owner</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="13" x="1990" y="567.2832">to</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="2007" y="567.2832">NULL</text><rect fill="#000000" filter="url(#f1l3acprou667y)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="2047" x="10" y="776.2305"/><path d="M713.5,800.6641 L713.5,825.7969 A0,0 0 0 0 713.5,825.7969 L1007.5,825.7969 A0,0 0 0 0 1007.5,825.7969 L1007.5,818.6641 L1027.5,813.2305 L1007.5,810.6641 L1007.5,810.6641 L997.5,800.6641 L713.5,800.6641 A0,0 0 0 0 713.5,800.6641 " fill="#FBFB77" filter="url(#f1l3acprou667y)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M997.5,800.6641 L997.5,810.6641 L1007.5,810.6641 L997.5,800.6641 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="49" x="719.5" y="817.731">Returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="216" x="772.5" y="817.731">URT_STATUS_REQUEST_BADOWNER</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="988.5" y="817.731">.</text><ellipse cx="1038.5" cy="813.2305" fill="#FFFFFF" filter="url(#f1l3acprou667y)" rx="11" ry="11" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="1038.5" cy="813.2305" fill="#000000" rx="6" ry="6" style="stroke: #7F7F7F; stroke-width: 1.0;"/><path d="M2067,331.625 L2067,356.7578 A0,0 0 0 0 2067,356.7578 L2249,356.7578 A0,0 0 0 0 2249,356.7578 L2249,349.625 L2269,344.1914 L2249,341.625 L2249,341.625 L2239,331.625 L2067,331.625 A0,0 0 0 0 2067,331.625 " fill="#FBFB77" filter="url(#f1l3acprou667y)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M2239,331.625 L2239,341.625 L2249,341.625 L2239,331.625 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="49" x="2073" y="348.6919">Returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="104" x="2126" y="348.6919">URT_STATUS_OK</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="2230" y="348.6919">.</text><ellipse cx="2280" cy="344.1914" fill="#FFFFFF" filter="url(#f1l3acprou667y)" rx="11" ry="11" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="2280" cy="344.1914" fill="#000000" rx="6" ry="6" style="stroke: #7F7F7F; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1641.25" x2="1641.25" y1="183.6563" y2="203.6563"/><polygon fill="#A80036" points="1637.25,193.6563,1641.25,203.6563,1645.25,193.6563,1641.25,197.6563" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1641.25" x2="1641.25" y1="223.6563" y2="243.6563"/><polygon fill="#A80036" points="1637.25,233.6563,1641.25,243.6563,1645.25,233.6563,1641.25,237.6563" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="194" x2="165.5" y1="534.293" y2="534.293"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="165.5" x2="165.5" y1="534.293" y2="556.293"/><polygon fill="#A80036" points="161.5,546.293,165.5,556.293,169.5,546.293,165.5,550.293" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="447" x2="475.5" y1="534.293" y2="534.293"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="475.5" x2="475.5" y1="534.293" y2="556.293"/><polygon fill="#A80036" points="471.5,546.293,475.5,556.293,479.5,546.293,475.5,550.293" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="165.5" x2="165.5" y1="590.2617" y2="608.2617"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="165.5" x2="308.5" y1="608.2617" y2="608.2617"/><polygon fill="#A80036" points="298.5,604.2617,308.5,608.2617,298.5,612.2617,302.5,608.2617" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="475.5" x2="475.5" y1="590.2617" y2="608.2617"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="475.5" x2="332.5" y1="608.2617" y2="608.2617"/><polygon fill="#A80036" points="342.5,604.2617,332.5,608.2617,342.5,612.2617,338.5,608.2617" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="798.25" x2="772" y1="534.293" y2="534.293"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="772" x2="772" y1="534.293" y2="556.293"/><polygon fill="#A80036" points="768,546.293,772,556.293,776,546.293,772,550.293" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1052.25" x2="1078.5" y1="534.293" y2="534.293"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1078.5" x2="1078.5" y1="534.293" y2="556.293"/><polygon fill="#A80036" points="1074.5,546.293,1078.5,556.293,1082.5,546.293,1078.5,550.293" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="772" x2="772" y1="590.2617" y2="608.2617"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="772" x2="913.25" y1="608.2617" y2="608.2617"/><polygon fill="#A80036" points="903.25,604.2617,913.25,608.2617,903.25,612.2617,907.25,608.2617" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1078.5" x2="1078.5" y1="590.2617" y2="608.2617"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1078.5" x2="937.25" y1="608.2617" y2="608.2617"/><polygon fill="#A80036" points="947.25,604.2617,937.25,608.2617,947.25,612.2617,943.25,608.2617" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1399" x2="1389" y1="534.293" y2="534.293"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1389" x2="1389" y1="534.293" y2="556.293"/><polygon fill="#A80036" points="1385,546.293,1389,556.293,1393,546.293,1389,550.293" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1703" x2="1713" y1="534.293" y2="534.293"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1713" x2="1713" y1="534.293" y2="556.293"/><polygon fill="#A80036" points="1709,546.293,1713,556.293,1717,546.293,1713,550.293" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1389" x2="1389" y1="590.2617" y2="608.2617"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1389" x2="1539" y1="608.2617" y2="608.2617"/><polygon fill="#A80036" points="1529,604.2617,1539,608.2617,1529,612.2617,1533,608.2617" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1713" x2="1713" y1="590.2617" y2="608.2617"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1713" x2="1563" y1="608.2617" y2="608.2617"/><polygon fill="#A80036" points="1573,604.2617,1563,608.2617,1573,612.2617,1569,608.2617" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1551" x2="1551" y1="497.8906" y2="522.293"/><polygon fill="#A80036" points="1547,512.293,1551,522.293,1555,512.293,1551,516.293" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1665.5" x2="1853" y1="485.8906" y2="485.8906"/><polygon fill="#A80036" points="1849,561.2773,1853,571.2773,1857,561.2773,1853,565.2773" style="stroke: #A80036; stroke-width: 1.5;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1853" x2="1853" y1="485.8906" y2="652.2617"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1853" x2="1563" y1="652.2617" y2="652.2617"/><polygon fill="#A80036" points="1573,648.2617,1563,652.2617,1573,656.2617,1569,652.2617" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1551" x2="1551" y1="620.2617" y2="640.2617"/><polygon fill="#A80036" points="1547,630.2617,1551,640.2617,1555,630.2617,1551,634.2617" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="320.5" x2="320.5" y1="453.8906" y2="522.293"/><polygon fill="#A80036" points="316.5,512.293,320.5,522.293,324.5,512.293,320.5,516.293" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="925.25" x2="925.25" y1="453.8906" y2="522.293"/><polygon fill="#A80036" points="921.25,512.293,925.25,522.293,929.25,512.293,925.25,516.293" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1551" x2="1551" y1="453.8906" y2="473.8906"/><polygon fill="#A80036" points="1547,463.8906,1551,473.8906,1555,463.8906,1551,467.8906" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="320.5" x2="320.5" y1="620.2617" y2="684.2617"/><polygon fill="#A80036" points="316.5,674.2617,320.5,684.2617,324.5,674.2617,320.5,678.2617" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="925.25" x2="925.25" y1="620.2617" y2="684.2617"/><polygon fill="#A80036" points="921.25,674.2617,925.25,684.2617,929.25,674.2617,925.25,678.2617" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1551" x2="1551" y1="664.2617" y2="684.2617"/><polygon fill="#A80036" points="1547,674.2617,1551,684.2617,1555,674.2617,1551,678.2617" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="960.5" x2="960.5" y1="427.8906" y2="447.8906"/><polygon fill="#A80036" points="956.5,437.8906,960.5,447.8906,964.5,437.8906,960.5,441.8906" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="960.5" x2="960.5" y1="690.2617" y2="710.2617"/><polygon fill="#A80036" points="956.5,700.2617,960.5,710.2617,964.5,700.2617,960.5,704.2617" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="960.5" x2="960.5" y1="337.625" y2="393.9219"/><polygon fill="#A80036" points="956.5,383.9219,960.5,393.9219,964.5,383.9219,960.5,387.9219" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1981" x2="1981" y1="337.625" y2="546.1445"/><polygon fill="#A80036" points="1977,536.1445,1981,546.1445,1985,536.1445,1981,540.1445" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="960.5" x2="960.5" y1="744.2305" y2="776.2305"/><polygon fill="#A80036" points="956.5,766.2305,960.5,776.2305,964.5,766.2305,960.5,770.2305" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1981" x2="1981" y1="580.1133" y2="776.2305"/><polygon fill="#A80036" points="1977,766.2305,1981,776.2305,1985,766.2305,1981,770.2305" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1038.5" x2="1038.5" y1="782.2305" y2="802.2305"/><polygon fill="#A80036" points="1034.5,792.2305,1038.5,802.2305,1042.5,792.2305,1038.5,796.2305" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1539.25" x2="1038.5" y1="309.625" y2="309.625"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1038.5" x2="1038.5" y1="309.625" y2="331.625"/><polygon fill="#A80036" points="1034.5,321.625,1038.5,331.625,1042.5,321.625,1038.5,325.625" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1743.25" x2="2280" y1="309.625" y2="309.625"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="2280" x2="2280" y1="309.625" y2="333.1914"/><polygon fill="#A80036" points="2276,323.1914,2280,333.1914,2284,323.1914,2280,327.1914" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1641.25" x2="1641.25" y1="277.625" y2="297.625"/><polygon fill="#A80036" points="1637.25,287.625,1641.25,297.625,1645.25,287.625,1641.25,291.625" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[9c4f4d93bc947fed9c55dfd7888e452f]
2
@startuml
3
4
title **µRtWare**\nurtFrtRequestRetrieve()\n
5
6
7
note
8
  - - **request** : urt_frtrequest_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
if (Request is owned by a service?) then (yes)
21
  fork
22
    partition "unqueue request" {
23
      :lock service;
24
      fork
25
        if (This was the first request in the queue?) then (yes)
26
          :set ""requestQueue_front"" to ""next"";
27
        else (no)
28
          :set ""prev"" of preceeding request to ""prev"" of this reuqest;
29
        endif
30
      fork again
31
        if (This was the final request in the queue?) then (yes)
32
          :set ""requestQueue_back"" to ""prev"";
33
        else (no)
34
          :set ""next"" of preceeding request to ""next"" of this reuqest;
35
        endif
36
      fork again
37
        if (This was the final FRT/SRT request?) then (yes)
38
          if (There are FRT or SRT requests left in the queue?) then (yes)
39
            :set ""requestQueue_fsrtBack"" to ""prev"";
40
          else (no)
41
            :set ""requestQueue_fsrtBack"" to ""NULL"";
42
          endif
43
        else (no)
44
        endif
45
      endfork
46
      :unlock service;
47
    }
48
  fork again
49
    :set ""owner"" to ""NULL"";
50
  endfork
51
  stop
52
  note
53
    Returns ""URT_STATUS_REQUEST_BADOWNER"".
54
  endnote
55
else (no)
56
  stop
57
  note
58
    Returns ""URT_STATUS_OK"".
59
  endnote
60
endif
61
62
63
@enduml
64
65
PlantUML version 1.2020.00(Sat Jan 11 13:30:53 CET 2020)
66
(GPL source distribution)
67
Java Runtime: OpenJDK Runtime Environment
68
JVM: OpenJDK 64-Bit Server VM
69
Java Version: 11.0.7+10-post-Ubuntu-2ubuntu218.04
70
Operating System: Linux
71
Default Encoding: UTF-8
72
Language: en
73
Country: US
74
--></g></svg>