Statistics
| Branch: | Revision:

urtware / doc / activitydiagrams / request / nrtrequest / urtNrtRequestRetrieve.svg @ 5c6cb22f

History | View | Annotate | Download (23.221 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="745px" preserveAspectRatio="none" style="width:1760px;height:745px;" version="1.1" viewBox="0 0 1760 745" width="1760px" zoomAndPan="magnify"><defs><filter height="300%" id="f1saeylme42h18" 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="834.5" y="26.708">µRtWare</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="218" x="770" y="47.6611">urtNrtRequestRetrieve()</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="0" x="882" y="68.6143"/><path d="M942.25,72.8594 L942.25,183.6563 L1546.25,183.6563 L1546.25,82.8594 L1536.25,72.8594 L942.25,72.8594 " fill="#FBFB77" filter="url(#f1saeylme42h18)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M1536.25,72.8594 L1536.25,82.8594 L1546.25,82.8594 L1536.25,72.8594 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="942.25" x2="1150.25" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="1154.25" y="89.4263"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="57" x="1154.25" y="89.4263">request</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="119" x="1215.25" y="89.4263">: urt_nrtrequest_t*</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="1338.25" x2="1546.25" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="150" x="948.25" y="105.0591">The request to retrieve.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="76" x="948.25" y="120.1919">Must not be</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="1028.25" y="120.1919">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="1060.25" y="120.1919">.</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="942.25" x2="1546.25" y1="128.2578" y2="128.2578"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="942.25" x2="1546.25" y1="130.2578" y2="130.2578"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="942.25" x2="1173.25" y1="140.8242" y2="140.8242"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="1177.25" y="144.8247"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="45" x="1177.25" y="144.8247">return</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="85" x="1226.25" y="144.8247">: urt_status_t</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="1315.25" x2="1546.25" y1="140.8242" y2="140.8242"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="103" x="948.25" y="160.4575">Typcially returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="104" x="1055.25" y="160.4575">URT_STATUS_OK</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="1159.25" y="160.4575">.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="49" x="948.25" y="175.5903">Returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="216" x="1001.25" y="175.5903">URT_STATUS_REQUEST_BADOWNER</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="310" x="1221.25" y="175.5903">if the request had to be removed from a service.</text><ellipse cx="1244.25" cy="213.6563" fill="#000000" filter="url(#f1saeylme42h18)" rx="10" ry="10" style="stroke: none; stroke-width: 1.0;"/><rect fill="#FEFECE" filter="url(#f1saeylme42h18)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="98" x="1195.25" y="243.6563"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="78" x="1205.25" y="264.7949">lock request</text><polygon fill="#FEFECE" filter="url(#f1saeylme42h18)" points="1154.25,297.625,1334.25,297.625,1346.25,309.625,1334.25,321.625,1154.25,321.625,1142.25,309.625,1154.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="1154.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="1122.25" y="307.0308">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="1346.25" y="307.0308">no</text><rect fill="#000000" filter="url(#f1saeylme42h18)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="1491" x="10" y="331.625"/><rect fill="#FFFFFF" filter="url(#f1saeylme42h18)" height="306.2031" style="stroke: #000000; stroke-width: 2.0;" width="1309" 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(#f1saeylme42h18)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="93" x="630" y="393.9219"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="73" x="640" y="415.0605">lock service</text><rect fill="#000000" filter="url(#f1saeylme42h18)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="1289" x="32" y="447.8906"/><polygon fill="#FEFECE" filter="url(#f1saeylme42h18)" points="206,473.8906,435,473.8906,447,485.8906,435,497.8906,206,497.8906,194,485.8906,206,473.8906" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="229" x="206" y="489.6987">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="483.2964">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="447" y="483.2964">no</text><rect fill="#FEFECE" filter="url(#f1saeylme42h18)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="219" x="56" y="507.8906"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="66" y="529.0293">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="126" x="90" y="529.0293">requestQueue_front</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="13" x="220" y="529.0293">to</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="237" y="529.0293">next</text><rect fill="#FEFECE" filter="url(#f1saeylme42h18)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="361" x="295" y="507.8906"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="305" y="529.0293">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="329" y="529.0293">prev</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="157" x="361" y="529.0293">of preceeding request to</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="522" y="529.0293">prev</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="92" x="554" y="529.0293">of this reuqest</text><polygon fill="#FEFECE" filter="url(#f1saeylme42h18)" points="320.5,547.8594,332.5,559.8594,320.5,571.8594,308.5,559.8594,320.5,547.8594" style="stroke: #A80036; stroke-width: 1.5;"/><polygon fill="#FEFECE" filter="url(#f1saeylme42h18)" points="848.25,473.8906,1078.25,473.8906,1090.25,485.8906,1078.25,497.8906,848.25,497.8906,836.25,485.8906,848.25,473.8906" 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="489.6987">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="483.2964">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="1090.25" y="483.2964">no</text><rect fill="#FEFECE" filter="url(#f1saeylme42h18)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="212" x="704" y="507.8906"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="714" y="529.0293">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="119" x="738" y="529.0293">requestQueue_back</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="13" x="861" y="529.0293">to</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="878" y="529.0293">prev</text><rect fill="#FEFECE" filter="url(#f1saeylme42h18)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="361" x="936" y="507.8906"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="946" y="529.0293">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="970" y="529.0293">next</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="157" x="1002" y="529.0293">of preceeding request to</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="1163" y="529.0293">next</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="92" x="1195" y="529.0293">of this reuqest</text><polygon fill="#FEFECE" filter="url(#f1saeylme42h18)" points="963.25,547.8594,975.25,559.8594,963.25,571.8594,951.25,559.8594,963.25,547.8594" style="stroke: #A80036; stroke-width: 1.5;"/><rect fill="#000000" filter="url(#f1saeylme42h18)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="1289" x="32" y="591.8594"/><rect fill="#FEFECE" filter="url(#f1saeylme42h18)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="109" x="622" y="617.8594"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="89" x="632" y="638.998">unlock service</text><rect fill="#FEFECE" filter="url(#f1saeylme42h18)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="128" x="1359" y="497.7422"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="1369" y="518.8809">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="35" x="1393" y="518.8809">owner</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="13" x="1432" y="518.8809">to</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="1449" y="518.8809">NULL</text><rect fill="#000000" filter="url(#f1saeylme42h18)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="1491" x="10" y="683.8281"/><path d="M429.5,708.2617 L429.5,733.3945 A0,0 0 0 0 429.5,733.3945 L723.5,733.3945 A0,0 0 0 0 723.5,733.3945 L723.5,726.2617 L743.5,720.8281 L723.5,718.2617 L723.5,718.2617 L713.5,708.2617 L429.5,708.2617 A0,0 0 0 0 429.5,708.2617 " fill="#FBFB77" filter="url(#f1saeylme42h18)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M713.5,708.2617 L713.5,718.2617 L723.5,718.2617 L713.5,708.2617 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="49" x="435.5" y="725.3286">Returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="216" x="488.5" y="725.3286">URT_STATUS_REQUEST_BADOWNER</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="704.5" y="725.3286">.</text><ellipse cx="754.5" cy="720.8281" fill="#FFFFFF" filter="url(#f1saeylme42h18)" rx="11" ry="11" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="754.5" cy="720.8281" fill="#000000" rx="6" ry="6" style="stroke: #7F7F7F; stroke-width: 1.0;"/><path d="M1521,331.625 L1521,356.7578 A0,0 0 0 0 1521,356.7578 L1703,356.7578 A0,0 0 0 0 1703,356.7578 L1703,349.625 L1723,344.1914 L1703,341.625 L1703,341.625 L1693,331.625 L1521,331.625 A0,0 0 0 0 1521,331.625 " fill="#FBFB77" filter="url(#f1saeylme42h18)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M1693,331.625 L1693,341.625 L1703,341.625 L1693,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="1527" y="348.6919">Returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="104" x="1580" y="348.6919">URT_STATUS_OK</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="1684" y="348.6919">.</text><ellipse cx="1734" cy="344.1914" fill="#FFFFFF" filter="url(#f1saeylme42h18)" rx="11" ry="11" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="1734" 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="1244.25" x2="1244.25" y1="183.6563" y2="203.6563"/><polygon fill="#A80036" points="1240.25,193.6563,1244.25,203.6563,1248.25,193.6563,1244.25,197.6563" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1244.25" x2="1244.25" y1="223.6563" y2="243.6563"/><polygon fill="#A80036" points="1240.25,233.6563,1244.25,243.6563,1248.25,233.6563,1244.25,237.6563" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="194" x2="165.5" y1="485.8906" y2="485.8906"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="165.5" x2="165.5" y1="485.8906" y2="507.8906"/><polygon fill="#A80036" points="161.5,497.8906,165.5,507.8906,169.5,497.8906,165.5,501.8906" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="447" x2="475.5" y1="485.8906" y2="485.8906"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="475.5" x2="475.5" y1="485.8906" y2="507.8906"/><polygon fill="#A80036" points="471.5,497.8906,475.5,507.8906,479.5,497.8906,475.5,501.8906" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="165.5" x2="165.5" y1="541.8594" y2="559.8594"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="165.5" x2="308.5" y1="559.8594" y2="559.8594"/><polygon fill="#A80036" points="298.5,555.8594,308.5,559.8594,298.5,563.8594,302.5,559.8594" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="475.5" x2="475.5" y1="541.8594" y2="559.8594"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="475.5" x2="332.5" y1="559.8594" y2="559.8594"/><polygon fill="#A80036" points="342.5,555.8594,332.5,559.8594,342.5,563.8594,338.5,559.8594" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="836.25" x2="810" y1="485.8906" y2="485.8906"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="810" x2="810" y1="485.8906" y2="507.8906"/><polygon fill="#A80036" points="806,497.8906,810,507.8906,814,497.8906,810,501.8906" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1090.25" x2="1116.5" y1="485.8906" y2="485.8906"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1116.5" x2="1116.5" y1="485.8906" y2="507.8906"/><polygon fill="#A80036" points="1112.5,497.8906,1116.5,507.8906,1120.5,497.8906,1116.5,501.8906" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="810" x2="810" y1="541.8594" y2="559.8594"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="810" x2="951.25" y1="559.8594" y2="559.8594"/><polygon fill="#A80036" points="941.25,555.8594,951.25,559.8594,941.25,563.8594,945.25,559.8594" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1116.5" x2="1116.5" y1="541.8594" y2="559.8594"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1116.5" x2="975.25" y1="559.8594" y2="559.8594"/><polygon fill="#A80036" points="985.25,555.8594,975.25,559.8594,985.25,563.8594,981.25,559.8594" 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="473.8906"/><polygon fill="#A80036" points="316.5,463.8906,320.5,473.8906,324.5,463.8906,320.5,467.8906" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="963.25" x2="963.25" y1="453.8906" y2="473.8906"/><polygon fill="#A80036" points="959.25,463.8906,963.25,473.8906,967.25,463.8906,963.25,467.8906" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="320.5" x2="320.5" y1="571.8594" y2="591.8594"/><polygon fill="#A80036" points="316.5,581.8594,320.5,591.8594,324.5,581.8594,320.5,585.8594" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="963.25" x2="963.25" y1="571.8594" y2="591.8594"/><polygon fill="#A80036" points="959.25,581.8594,963.25,591.8594,967.25,581.8594,963.25,585.8594" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="676.5" x2="676.5" y1="427.8906" y2="447.8906"/><polygon fill="#A80036" points="672.5,437.8906,676.5,447.8906,680.5,437.8906,676.5,441.8906" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="676.5" x2="676.5" y1="597.8594" y2="617.8594"/><polygon fill="#A80036" points="672.5,607.8594,676.5,617.8594,680.5,607.8594,676.5,611.8594" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="676.5" x2="676.5" y1="337.625" y2="393.9219"/><polygon fill="#A80036" points="672.5,383.9219,676.5,393.9219,680.5,383.9219,676.5,387.9219" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1423" x2="1423" y1="337.625" y2="497.7422"/><polygon fill="#A80036" points="1419,487.7422,1423,497.7422,1427,487.7422,1423,491.7422" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="676.5" x2="676.5" y1="651.8281" y2="683.8281"/><polygon fill="#A80036" points="672.5,673.8281,676.5,683.8281,680.5,673.8281,676.5,677.8281" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1423" x2="1423" y1="531.7109" y2="683.8281"/><polygon fill="#A80036" points="1419,673.8281,1423,683.8281,1427,673.8281,1423,677.8281" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="754.5" x2="754.5" y1="689.8281" y2="709.8281"/><polygon fill="#A80036" points="750.5,699.8281,754.5,709.8281,758.5,699.8281,754.5,703.8281" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1142.25" x2="754.5" y1="309.625" y2="309.625"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="754.5" x2="754.5" y1="309.625" y2="331.625"/><polygon fill="#A80036" points="750.5,321.625,754.5,331.625,758.5,321.625,754.5,325.625" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1346.25" x2="1734" y1="309.625" y2="309.625"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1734" x2="1734" y1="309.625" y2="333.1914"/><polygon fill="#A80036" points="1730,323.1914,1734,333.1914,1738,323.1914,1734,327.1914" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1244.25" x2="1244.25" y1="277.625" y2="297.625"/><polygon fill="#A80036" points="1240.25,287.625,1244.25,297.625,1248.25,287.625,1244.25,291.625" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[21669482f0cbcb3cdccc5ecc66a7fdff]
2
@startuml
3
4
title **µRtWare**\nurtNrtRequestRetrieve()\n
5
6
7
note
8
  - - **request** : urt_nrtrequest_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
      endfork
37
      :unlock service;
38
    }
39
  fork again
40
    :set ""owner"" to ""NULL"";
41
  endfork
42
  stop
43
  note
44
    Returns ""URT_STATUS_REQUEST_BADOWNER"".
45
  endnote
46
else (no)
47
  stop
48
  note
49
    Returns ""URT_STATUS_OK"".
50
  endnote
51
endif
52
53
54
@enduml
55
56
PlantUML version 1.2020.00(Sat Jan 11 13:30:53 CET 2020)
57
(GPL source distribution)
58
Java Runtime: OpenJDK Runtime Environment
59
JVM: OpenJDK 64-Bit Server VM
60
Java Version: 11.0.7+10-post-Ubuntu-2ubuntu218.04
61
Operating System: Linux
62
Default Encoding: UTF-8
63
Language: en
64
Country: US
65
--></g></svg>