urtware / doc / activitydiagrams / request / frtrequest / urtFrtRequestCalculateValidity.svg @ b247db3f
History | View | Annotate | Download (8.842 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="316px" preserveAspectRatio="none" style="width:531px;height:316px;" version="1.1" viewBox="0 0 531 316" width="531px" zoomAndPan="magnify"><defs><filter height="300%" id="ff5stu5orz9yi" 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="220" y="26.708">µRtWare</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="284" x="122.5" y="47.6611">urtFrtRequestCalculateValidity()</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="0" x="267.5" y="68.6143"/><path d="M25,72.8594 L25,183.6563 L519,183.6563 L519,82.8594 L509,72.8594 L25,72.8594 " fill="#FBFB77" filter="url(#ff5stu5orz9yi)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M509,72.8594 L509,82.8594 L519,82.8594 L509,72.8594 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="25" x2="180" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="184" y="89.4263"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="57" x="184" y="89.4263">request</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="115" x="245" y="89.4263">: urt_frtrequest_t*</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="364" x2="519" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="227" x="31" y="105.0591">The request to calculate validity for.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="76" x="31" y="120.1919">Must not be</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="111" y="120.1919">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="143" y="120.1919">.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="210" x="31" y="135.3247">Must have been acquired before.</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="25" x2="519" y1="143.3906" y2="143.3906"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="25" x2="519" y1="145.3906" y2="145.3906"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="25" x2="226" y1="155.957" y2="155.957"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="230" y="159.9575"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="45" x="230" y="159.9575">return</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="35" x="279" y="159.9575">: bool</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="318" x2="519" y1="155.957" y2="155.957"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="473" x="31" y="175.5903">Flag, indicating whether or not the request is valid wrt. it's set parameters.</text><ellipse cx="272" cy="213.6563" fill="#000000" filter="url(#ff5stu5orz9yi)" rx="10" ry="10" style="stroke: none; stroke-width: 1.0;"/><polygon fill="#FEFECE" filter="url(#ff5stu5orz9yi)" points="173,243.6563,371,243.6563,383,256.4609,371,269.2656,173,269.2656,161,256.4609,173,243.6563" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="198" x="173" y="253.8667">Latency is lower than deadline and</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="167" x="173" y="266.6714">is within allowed jitter range?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="141" y="253.8667">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="383" y="253.8667">no</text><path d="M10,279.2656 L10,304.3984 A0,0 0 0 0 10,304.3984 L120,304.3984 A0,0 0 0 0 120,304.3984 L120,297.2656 L140,291.832 L120,289.2656 L120,289.2656 L110,279.2656 L10,279.2656 A0,0 0 0 0 10,279.2656 " fill="#FBFB77" filter="url(#ff5stu5orz9yi)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M110,279.2656 L110,289.2656 L120,289.2656 L110,279.2656 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="49" x="16" y="296.3325">Returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="69" y="296.3325">true</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="101" y="296.3325">.</text><ellipse cx="151" cy="291.832" fill="#FFFFFF" filter="url(#ff5stu5orz9yi)" rx="11" ry="11" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="151" cy="291.832" fill="#000000" rx="6" ry="6" style="stroke: #7F7F7F; stroke-width: 1.0;"/><path d="M244,279.2656 L244,304.3984 A0,0 0 0 0 244,304.3984 L362,304.3984 A0,0 0 0 0 362,304.3984 L362,297.2656 L382,291.832 L362,289.2656 L362,289.2656 L352,279.2656 L244,279.2656 A0,0 0 0 0 244,279.2656 " fill="#FBFB77" filter="url(#ff5stu5orz9yi)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M352,279.2656 L352,289.2656 L362,289.2656 L352,279.2656 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="49" x="250" y="296.3325">Returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="40" x="303" y="296.3325">false</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="343" y="296.3325">.</text><ellipse cx="393" cy="291.832" fill="#FFFFFF" filter="url(#ff5stu5orz9yi)" rx="11" ry="11" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="393" cy="291.832" fill="#000000" rx="6" ry="6" style="stroke: #7F7F7F; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="272" x2="272" y1="183.6563" y2="203.6563"/><polygon fill="#A80036" points="268,193.6563,272,203.6563,276,193.6563,272,197.6563" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="161" x2="151" y1="256.4609" y2="256.4609"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="151" x2="151" y1="256.4609" y2="280.832"/><polygon fill="#A80036" points="147,270.832,151,280.832,155,270.832,151,274.832" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="383" x2="393" y1="256.4609" y2="256.4609"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="393" x2="393" y1="256.4609" y2="280.832"/><polygon fill="#A80036" points="389,270.832,393,280.832,397,270.832,393,274.832" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="272" x2="272" y1="223.6563" y2="243.6563"/><polygon fill="#A80036" points="268,233.6563,272,243.6563,276,233.6563,272,237.6563" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[30adb1fb61d3a20b14bccd19ac7681f4] |
---|---|---|---|
2 | @startuml |
||
3 | |||
4 | title **µRtWare**\nurtFrtRequestCalculateValidity()\n |
||
5 | |||
6 | |||
7 | note |
||
8 | - - **request** : urt_frtrequest_t* - - |
||
9 | The request to calculate validity for. |
||
10 | Must not be ""NULL"". |
||
11 | Must have been acquired before. |
||
12 | ==== |
||
13 | - - **return** : bool - - |
||
14 | Flag, indicating whether or not the request is valid wrt. it's set parameters. |
||
15 | endnote |
||
16 | |||
17 | |||
18 | start |
||
19 | if (Latency is lower than deadline and\nis within allowed jitter range?) then (yes) |
||
20 | stop |
||
21 | note |
||
22 | Returns ""true"". |
||
23 | endnote |
||
24 | else (no) |
||
25 | stop |
||
26 | note |
||
27 | Returns ""false"". |
||
28 | endnote |
||
29 | endif |
||
30 | |||
31 | |||
32 | @enduml |
||
33 | |||
34 | PlantUML version 1.2020.00(Sat Jan 11 13:30:53 CET 2020) |
||
35 | (GPL source distribution) |
||
36 | Java Runtime: OpenJDK Runtime Environment |
||
37 | JVM: OpenJDK 64-Bit Server VM |
||
38 | Java Version: 11.0.7+10-post-Ubuntu-2ubuntu218.04 |
||
39 | Operating System: Linux |
||
40 | Default Encoding: UTF-8 |
||
41 | Language: en |
||
42 | Country: US |
||
43 | --></g></svg> |