Revision c22d21ad doc/activitydiagrams/subscriber/urtSubscriberCalculateUsefulness.svg

View differences:

doc/activitydiagrams/subscriber/urtSubscriberCalculateUsefulness.svg
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="420px" preserveAspectRatio="none" style="width:880px;height:420px;" version="1.1" viewBox="0 0 880 420" width="880px" zoomAndPan="magnify"><defs><filter height="300%" id="f1bh34zu0bgazr" 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="394.5" y="26.708">µRtWare</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="307" x="285.5" y="47.6611">urtSubscriberCalculateUsefulness()</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="0" x="442" y="68.6143"/><path d="M73.5,72.8594 L73.5,158.5234 A0,0 0 0 0 73.5,158.5234 L424.5,158.5234 A0,0 0 0 0 424.5,158.5234 L424.5,119.6914 L444.5,115.6914 L424.5,111.6914 L424.5,82.8594 L414.5,72.8594 L73.5,72.8594 A0,0 0 0 0 73.5,72.8594 " fill="#FBFB77" filter="url(#f1bh34zu0bgazr)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M414.5,72.8594 L414.5,82.8594 L424.5,82.8594 L414.5,72.8594 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="73.5" x2="125" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="129" y="89.4263"/><text fill="#000000" font-family="monospace" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="80" x="129" y="89.4263">subscriber</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="152" x="217" y="89.4263">: urt_subscriber_t*</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="373" y="89.4263"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="373" x2="424.5" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="223" x="79.5" y="105.0591">The subscriber to be unsubscribed.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="76" x="79.5" y="120.1919">Must not be</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="159.5" y="120.1919">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="191.5" y="120.1919">.</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="73.5" x2="161" y1="130.8242" y2="130.8242"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="165" y="134.8247"/><text fill="#000000" font-family="monospace" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="56" x="165" y="134.8247">latency</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="104" x="229" y="134.8247">: urt_delay_t</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="337" y="134.8247"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="337" x2="424.5" y1="130.8242" y2="130.8242"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="330" x="79.5" y="150.4575">Delay (of a mesage) to calculate the usefulness for.</text><ellipse cx="454.5" cy="115.6914" fill="#000000" filter="url(#f1bh34zu0bgazr)" rx="10" ry="10" style="stroke: none; stroke-width: 1.0;"/><polygon fill="#FEFECE" filter="url(#f1bh34zu0bgazr)" points="375,178.5234,423,178.5234,435,190.5234,423,202.5234,375,202.5234,363,190.5234,375,178.5234" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="22" x="403" y="212.7339">HRT</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="48" x="375" y="194.3315">RT class</text><path d="M10,238.6519 L10,263.7847 A0,0 0 0 0 10,263.7847 L344,263.7847 A0,0 0 0 0 344,263.7847 L344,256.6519 L364,251.2183 L344,248.6519 L344,248.6519 L334,238.6519 L10,238.6519 A0,0 0 0 0 10,238.6519 " fill="#FBFB77" filter="url(#f1bh34zu0bgazr)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M334,238.6519 L334,248.6519 L344,248.6519 L334,238.6519 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="313" x="16" y="255.7188">Otherwise some QoS timer would have triggered.</text><rect fill="#FEFECE" filter="url(#f1bh34zu0bgazr)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="70" x="364" y="234.2339"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="39" x="374" y="255.3726">return</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="7" x="417" y="255.3726">1</text><polygon fill="#FEFECE" filter="url(#f1bh34zu0bgazr)" points="535.5,178.5234,583.5,178.5234,595.5,190.5234,583.5,202.5234,535.5,202.5234,523.5,190.5234,535.5,178.5234" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="563.5" y="212.7339">FRT</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="48" x="535.5" y="194.3315">RT class</text><polygon fill="#FEFECE" filter="url(#f1bh34zu0bgazr)" points="529,234.2339,590,234.2339,602,246.2339,590,258.2339,529,258.2339,517,246.2339,529,234.2339" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="61" x="529" y="250.042">Timing ok?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="497" y="243.6396">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="602" y="243.6396">no</text><rect fill="#FEFECE" filter="url(#f1bh34zu0bgazr)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="84" x="465" y="268.2339"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="39" x="475" y="289.3726">return</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="21" x="518" y="289.3726">1.0</text><rect fill="#FEFECE" filter="url(#f1bh34zu0bgazr)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="84" x="570" y="268.2339"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="39" x="580" y="289.3726">return</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="21" x="623" y="289.3726">0.0</text><polygon fill="#FEFECE" filter="url(#f1bh34zu0bgazr)" points="559.5,308.2026,571.5,320.2026,559.5,332.2026,547.5,320.2026,559.5,308.2026" style="stroke: #A80036; stroke-width: 1.5;"/><polygon fill="#FEFECE" filter="url(#f1bh34zu0bgazr)" points="702.5,178.5234,750.5,178.5234,762.5,190.5234,750.5,202.5234,702.5,202.5234,690.5,190.5234,702.5,178.5234" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="22" x="730.5" y="212.7339">SRT</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="48" x="702.5" y="194.3315">RT class</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="22" x="762.5" y="187.9292">NRT</text><rect fill="#FEFECE" filter="url(#f1bh34zu0bgazr)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="125" x="664" y="234.2339"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="105" x="674" y="255.3726">execute callback</text><rect fill="#FEFECE" filter="url(#f1bh34zu0bgazr)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="99" x="677" y="303.2026"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="79" x="687" y="324.3413">return result</text><rect fill="#FEFECE" filter="url(#f1bh34zu0bgazr)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="70" x="799" y="265.3159"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="39" x="809" y="286.4546">return</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="7" x="852" y="286.4546">1</text><path d="M99.5,368.0386 L99.5,408.3042 A0,0 0 0 0 99.5,408.3042 L423.5,408.3042 A0,0 0 0 0 423.5,408.3042 L423.5,392.1714 L443.5,388.1714 L423.5,384.1714 L423.5,378.0386 L413.5,368.0386 L99.5,368.0386 A0,0 0 0 0 99.5,368.0386 " fill="#FBFB77" filter="url(#f1bh34zu0bgazr)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M413.5,368.0386 L413.5,378.0386 L423.5,378.0386 L413.5,368.0386 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="99.5" x2="213" y1="380.605" y2="380.605"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="217" y="384.6055"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="45" x="217" y="384.6055">return</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="266" y="384.6055"/><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="40" x="266" y="384.6055">float</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="310" y="384.6055"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="310" x2="423.5" y1="380.605" y2="380.605"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="255" x="105.5" y="400.2383">Returns the usefulness as a value within</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="40" x="364.5" y="400.2383">[0,1]</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="404.5" y="400.2383">.</text><ellipse cx="454.5" cy="388.1714" fill="#FFFFFF" filter="url(#f1bh34zu0bgazr)" rx="11" ry="11" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="454.5" cy="388.1714" fill="#000000" rx="6" ry="6" style="stroke: #7F7F7F; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="517" x2="507" y1="246.2339" y2="246.2339"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="507" x2="507" y1="246.2339" y2="268.2339"/><polygon fill="#A80036" points="503,258.2339,507,268.2339,511,258.2339,507,262.2339" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="602" x2="612" y1="246.2339" y2="246.2339"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="612" x2="612" y1="246.2339" y2="268.2339"/><polygon fill="#A80036" points="608,258.2339,612,268.2339,616,258.2339,612,262.2339" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="507" x2="507" y1="302.2026" y2="320.2026"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="507" x2="547.5" y1="320.2026" y2="320.2026"/><polygon fill="#A80036" points="537.5,316.2026,547.5,320.2026,537.5,324.2026,541.5,320.2026" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="612" x2="612" y1="302.2026" y2="320.2026"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="612" x2="571.5" y1="320.2026" y2="320.2026"/><polygon fill="#A80036" points="581.5,316.2026,571.5,320.2026,581.5,324.2026,577.5,320.2026" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="726.5" x2="726.5" y1="268.2026" y2="303.2026"/><polygon fill="#A80036" points="722.5,293.2026,726.5,303.2026,730.5,293.2026,726.5,297.2026" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="399" x2="399" y1="202.5234" y2="234.2339"/><polygon fill="#A80036" points="395,224.2339,399,234.2339,403,224.2339,399,228.2339" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="399" x2="399" y1="268.2026" y2="357.1714"/><polygon fill="#A80036" points="395,347.1714,399,357.1714,403,347.1714,399,351.1714" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="559.5" x2="559.5" y1="202.5234" y2="234.2339"/><polygon fill="#A80036" points="555.5,224.2339,559.5,234.2339,563.5,224.2339,559.5,228.2339" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="559.5" x2="559.5" y1="332.2026" y2="357.1714"/><polygon fill="#A80036" points="555.5,347.1714,559.5,357.1714,563.5,347.1714,559.5,351.1714" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="726.5" x2="726.5" y1="202.5234" y2="234.2339"/><polygon fill="#A80036" points="722.5,224.2339,726.5,234.2339,730.5,224.2339,726.5,228.2339" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="726.5" x2="726.5" y1="337.1714" y2="357.1714"/><polygon fill="#A80036" points="722.5,347.1714,726.5,357.1714,730.5,347.1714,726.5,351.1714" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="435" x2="523.5" y1="190.5234" y2="190.5234"/><polygon fill="#A80036" points="513.5,186.5234,523.5,190.5234,513.5,194.5234,517.5,190.5234" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="595.5" x2="690.5" y1="190.5234" y2="190.5234"/><polygon fill="#A80036" points="680.5,186.5234,690.5,190.5234,680.5,194.5234,684.5,190.5234" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="454.5" x2="454.5" y1="125.6914" y2="163.5234"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="454.5" x2="399" y1="163.5234" y2="163.5234"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="399" x2="399" y1="163.5234" y2="178.5234"/><polygon fill="#A80036" points="395,168.5234,399,178.5234,403,168.5234,399,172.5234" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="762.5" x2="834" y1="190.5234" y2="190.5234"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="834" x2="834" y1="190.5234" y2="265.3159"/><polygon fill="#A80036" points="830,255.3159,834,265.3159,838,255.3159,834,259.3159" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="834" x2="834" y1="299.2847" y2="357.1714"/><polygon fill="#A80036" points="830,347.1714,834,357.1714,838,347.1714,834,351.1714" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="399" x2="834" y1="357.1714" y2="357.1714"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="454.5" x2="454.5" y1="357.1714" y2="377.1714"/><polygon fill="#A80036" points="450.5,367.1714,454.5,377.1714,458.5,367.1714,454.5,371.1714" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[bd3c76ff93e408c92db722d426e937fe]
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="420px" preserveAspectRatio="none" style="width:1061px;height:420px;" version="1.1" viewBox="0 0 1061 420" width="1061px" zoomAndPan="magnify"><defs><filter height="300%" id="fi54d3amdm4ll" 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="485" y="26.708">µRtWare</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="307" x="376" y="47.6611">urtSubscriberCalculateUsefulness()</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="0" x="532.5" y="68.6143"/><path d="M174,72.8594 L174,158.5234 A0,0 0 0 0 174,158.5234 L525,158.5234 A0,0 0 0 0 525,158.5234 L525,119.6914 L545,115.6914 L525,111.6914 L525,82.8594 L515,72.8594 L174,72.8594 A0,0 0 0 0 174,72.8594 " fill="#FBFB77" filter="url(#fi54d3amdm4ll)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M515,72.8594 L515,82.8594 L525,82.8594 L515,72.8594 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="174" x2="225.5" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="229.5" y="89.4263"/><text fill="#000000" font-family="monospace" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="80" x="229.5" y="89.4263">subscriber</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="152" x="317.5" y="89.4263">: urt_subscriber_t*</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="473.5" y="89.4263"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="473.5" x2="525" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="223" x="180" y="105.0591">The subscriber to be unsubscribed.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="76" x="180" y="120.1919">Must not be</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="260" y="120.1919">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="292" y="120.1919">.</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="174" x2="261.5" y1="130.8242" y2="130.8242"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="265.5" y="134.8247"/><text fill="#000000" font-family="monospace" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="56" x="265.5" y="134.8247">latency</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="104" x="329.5" y="134.8247">: urt_delay_t</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="437.5" y="134.8247"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="437.5" x2="525" y1="130.8242" y2="130.8242"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="330" x="180" y="150.4575">Delay (of a mesage) to calculate the usefulness for.</text><ellipse cx="555" cy="115.6914" fill="#000000" filter="url(#fi54d3amdm4ll)" rx="10" ry="10" style="stroke: none; stroke-width: 1.0;"/><polygon fill="#FEFECE" filter="url(#fi54d3amdm4ll)" points="375,178.5234,423,178.5234,435,190.5234,423,202.5234,375,202.5234,363,190.5234,375,178.5234" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="22" x="403" y="212.7339">HRT</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="48" x="375" y="194.3315">RT class</text><path d="M10,238.6519 L10,263.7847 A0,0 0 0 0 10,263.7847 L344,263.7847 A0,0 0 0 0 344,263.7847 L344,256.6519 L364,251.2183 L344,248.6519 L344,248.6519 L334,238.6519 L10,238.6519 A0,0 0 0 0 10,238.6519 " fill="#FBFB77" filter="url(#fi54d3amdm4ll)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M334,238.6519 L334,248.6519 L344,248.6519 L334,238.6519 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="313" x="16" y="255.7188">Otherwise some QoS timer would have triggered.</text><rect fill="#FEFECE" filter="url(#fi54d3amdm4ll)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="70" x="364" y="234.2339"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="39" x="374" y="255.3726">return</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="7" x="417" y="255.3726">1</text><polygon fill="#FEFECE" filter="url(#fi54d3amdm4ll)" points="716.5,178.5234,764.5,178.5234,776.5,190.5234,764.5,202.5234,716.5,202.5234,704.5,190.5234,716.5,178.5234" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="744.5" y="212.7339">FRT</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="48" x="716.5" y="194.3315">RT class</text><path d="M455,270.6519 L455,295.7847 L636,295.7847 L636,280.6519 L626,270.6519 L455,270.6519 " fill="#FBFB77" filter="url(#fi54d3amdm4ll)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M626,270.6519 L626,280.6519 L636,280.6519 L626,270.6519 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="160" x="461" y="287.7188">ToDo: When is timing ok?</text><polygon fill="#FEFECE" filter="url(#fi54d3amdm4ll)" points="710,234.2339,771,234.2339,783,246.2339,771,258.2339,710,258.2339,698,246.2339,710,234.2339" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="61" x="710" y="250.042">Timing ok?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="678" y="243.6396">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="783" y="243.6396">no</text><rect fill="#FEFECE" filter="url(#fi54d3amdm4ll)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="84" x="646" y="268.2339"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="39" x="656" y="289.3726">return</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="21" x="699" y="289.3726">1.0</text><rect fill="#FEFECE" filter="url(#fi54d3amdm4ll)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="84" x="751" y="268.2339"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="39" x="761" y="289.3726">return</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="21" x="804" y="289.3726">0.0</text><polygon fill="#FEFECE" filter="url(#fi54d3amdm4ll)" points="740.5,308.2026,752.5,320.2026,740.5,332.2026,728.5,320.2026,740.5,308.2026" style="stroke: #A80036; stroke-width: 1.5;"/><polygon fill="#FEFECE" filter="url(#fi54d3amdm4ll)" points="883.5,178.5234,931.5,178.5234,943.5,190.5234,931.5,202.5234,883.5,202.5234,871.5,190.5234,883.5,178.5234" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="22" x="911.5" y="212.7339">SRT</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="48" x="883.5" y="194.3315">RT class</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="22" x="943.5" y="187.9292">NRT</text><rect fill="#FEFECE" filter="url(#fi54d3amdm4ll)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="125" x="845" y="234.2339"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="105" x="855" y="255.3726">execute callback</text><rect fill="#FEFECE" filter="url(#fi54d3amdm4ll)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="99" x="858" y="303.2026"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="79" x="868" y="324.3413">return result</text><rect fill="#FEFECE" filter="url(#fi54d3amdm4ll)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="70" x="980" y="265.3159"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="39" x="990" y="286.4546">return</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="7" x="1033" y="286.4546">1</text><path d="M200,368.0386 L200,408.3042 A0,0 0 0 0 200,408.3042 L524,408.3042 A0,0 0 0 0 524,408.3042 L524,392.1714 L544,388.1714 L524,384.1714 L524,378.0386 L514,368.0386 L200,368.0386 A0,0 0 0 0 200,368.0386 " fill="#FBFB77" filter="url(#fi54d3amdm4ll)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M514,368.0386 L514,378.0386 L524,378.0386 L514,368.0386 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="200" x2="313.5" y1="380.605" y2="380.605"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="317.5" y="384.6055"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="45" x="317.5" y="384.6055">return</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="366.5" y="384.6055"/><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="40" x="366.5" y="384.6055">float</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="410.5" y="384.6055"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="410.5" x2="524" y1="380.605" y2="380.605"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="255" x="206" y="400.2383">Returns the usefulness as a value within</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="40" x="465" y="400.2383">[0,1]</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="505" y="400.2383">.</text><ellipse cx="555" cy="388.1714" fill="#FFFFFF" filter="url(#fi54d3amdm4ll)" rx="11" ry="11" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="555" cy="388.1714" fill="#000000" rx="6" ry="6" style="stroke: #7F7F7F; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="698" x2="688" y1="246.2339" y2="246.2339"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="688" x2="688" y1="246.2339" y2="268.2339"/><polygon fill="#A80036" points="684,258.2339,688,268.2339,692,258.2339,688,262.2339" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="783" x2="793" y1="246.2339" y2="246.2339"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="793" x2="793" y1="246.2339" y2="268.2339"/><polygon fill="#A80036" points="789,258.2339,793,268.2339,797,258.2339,793,262.2339" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="688" x2="688" y1="302.2026" y2="320.2026"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="688" x2="728.5" y1="320.2026" y2="320.2026"/><polygon fill="#A80036" points="718.5,316.2026,728.5,320.2026,718.5,324.2026,722.5,320.2026" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="793" x2="793" y1="302.2026" y2="320.2026"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="793" x2="752.5" y1="320.2026" y2="320.2026"/><polygon fill="#A80036" points="762.5,316.2026,752.5,320.2026,762.5,324.2026,758.5,320.2026" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="907.5" x2="907.5" y1="268.2026" y2="303.2026"/><polygon fill="#A80036" points="903.5,293.2026,907.5,303.2026,911.5,293.2026,907.5,297.2026" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="399" x2="399" y1="202.5234" y2="234.2339"/><polygon fill="#A80036" points="395,224.2339,399,234.2339,403,224.2339,399,228.2339" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="399" x2="399" y1="268.2026" y2="357.1714"/><polygon fill="#A80036" points="395,347.1714,399,357.1714,403,347.1714,399,351.1714" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="740.5" x2="740.5" y1="202.5234" y2="234.2339"/><polygon fill="#A80036" points="736.5,224.2339,740.5,234.2339,744.5,224.2339,740.5,228.2339" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="740.5" x2="740.5" y1="332.2026" y2="357.1714"/><polygon fill="#A80036" points="736.5,347.1714,740.5,357.1714,744.5,347.1714,740.5,351.1714" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="907.5" x2="907.5" y1="202.5234" y2="234.2339"/><polygon fill="#A80036" points="903.5,224.2339,907.5,234.2339,911.5,224.2339,907.5,228.2339" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="907.5" x2="907.5" y1="337.1714" y2="357.1714"/><polygon fill="#A80036" points="903.5,347.1714,907.5,357.1714,911.5,347.1714,907.5,351.1714" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="435" x2="704.5" y1="190.5234" y2="190.5234"/><polygon fill="#A80036" points="694.5,186.5234,704.5,190.5234,694.5,194.5234,698.5,190.5234" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="776.5" x2="871.5" y1="190.5234" y2="190.5234"/><polygon fill="#A80036" points="861.5,186.5234,871.5,190.5234,861.5,194.5234,865.5,190.5234" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="555" x2="555" y1="125.6914" y2="163.5234"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="555" x2="399" y1="163.5234" y2="163.5234"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="399" x2="399" y1="163.5234" y2="178.5234"/><polygon fill="#A80036" points="395,168.5234,399,178.5234,403,168.5234,399,172.5234" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="943.5" x2="1015" y1="190.5234" y2="190.5234"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1015" x2="1015" y1="190.5234" y2="265.3159"/><polygon fill="#A80036" points="1011,255.3159,1015,265.3159,1019,255.3159,1015,259.3159" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1015" x2="1015" y1="299.2847" y2="357.1714"/><polygon fill="#A80036" points="1011,347.1714,1015,357.1714,1019,347.1714,1015,351.1714" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="399" x2="1015" y1="357.1714" y2="357.1714"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="555" x2="555" y1="357.1714" y2="377.1714"/><polygon fill="#A80036" points="551,367.1714,555,377.1714,559,367.1714,555,371.1714" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[f084c67ec7a24c3b56fd38c273a593b9]
2 2
@startuml
3 3

  
4 4
title **µRtWare**\nurtSubscriberCalculateUsefulness()\n
......
29 29
  note: Otherwise some QoS timer would have triggered.
30 30
elseif (RT class) then (FRT)
31 31
  if (Timing ok?) then (yes)
32
  note: ToDo: When is timing ok?
32 33
    :return ""1.0"";
33 34
  else (no)
34 35
    :return ""0.0"";

Also available in: Unified diff