urtware / doc / statediagrams / core / urtCoreRetrieveTopic.svg @ 6132e017
History | View | Annotate | Download (7.717 KB)
1 | 35c9457f | 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="403px" preserveAspectRatio="none" style="width:510px;height:403px;" version="1.1" viewBox="0 0 510 403" width="510px" zoomAndPan="magnify"><defs><filter height="300%" id="f1ejq1yq9yd0kp" 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="209.75" y="26.708">µRtWare</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="208" x="150.25" y="47.6611">urtCoreRetrieveTopic()</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="0" x="257.25" y="68.6143"/><ellipse cx="241.5" cy="82.8594" fill="#000000" filter="url(#f1ejq1yq9yd0kp)" rx="10" ry="10" style="stroke: none; stroke-width: 1.0;"/><polygon fill="#FEFECE" filter="url(#f1ejq1yq9yd0kp)" points="119.5,168.5698,363.5,168.5698,375.5,180.5698,363.5,192.5698,119.5,192.5698,107.5,180.5698,119.5,168.5698" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="244" x="119.5" y="184.3779">Do the topic's ID and the argument match?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="87.5" y="177.9756">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="375.5" y="177.9756">no</text><rect fill="#FEFECE" filter="url(#f1ejq1yq9yd0kp)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="119" x="38" y="202.5698"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="99" x="48" y="223.7085">return the topic</text><ellipse cx="97.5" cy="266.5386" fill="none" filter="url(#f1ejq1yq9yd0kp)" rx="10" ry="10" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="98" cy="267.0386" fill="#000000" filter="url(#f1ejq1yq9yd0kp)" rx="6" ry="6" style="stroke: none; stroke-width: 1.0;"/><rect fill="#FEFECE" filter="url(#f1ejq1yq9yd0kp)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="170" x="300.5" y="202.5698"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="150" x="310.5" y="223.7085">iterate to the next topic</text><polygon fill="#FEFECE" filter="url(#f1ejq1yq9yd0kp)" points="183.5,112.8594,299.5,112.8594,311.5,124.8594,299.5,136.8594,183.5,136.8594,171.5,124.8594,183.5,112.8594" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="245.5" y="147.0698">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="116" x="183.5" y="128.6675">Topics left to check?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="157.5" y="122.2651">no</text><rect fill="#FEFECE" filter="url(#f1ejq1yq9yd0kp)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="91" x="196" y="318.5386"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="39" x="206" y="339.6772">return</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="249" y="339.6772">NULL</text><ellipse cx="241.5" cy="382.5073" fill="none" filter="url(#f1ejq1yq9yd0kp)" rx="10" ry="10" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="242" cy="383.0073" fill="#000000" filter="url(#f1ejq1yq9yd0kp)" rx="6" ry="6" style="stroke: none; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="97.5" x2="97.5" y1="236.5386" y2="256.5386"/><polygon fill="#A80036" points="93.5,246.5386,97.5,256.5386,101.5,246.5386,97.5,250.5386" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="107.5" x2="97.5" y1="180.5698" y2="180.5698"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="97.5" x2="97.5" y1="180.5698" y2="202.5698"/><polygon fill="#A80036" points="93.5,192.5698,97.5,202.5698,101.5,192.5698,97.5,196.5698" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="375.5" x2="385.5" y1="180.5698" y2="180.5698"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="385.5" x2="385.5" y1="180.5698" y2="202.5698"/><polygon fill="#A80036" points="381.5,192.5698,385.5,202.5698,389.5,192.5698,385.5,196.5698" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="385.5" x2="385.5" y1="236.5386" y2="286.5386"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="385.5" x2="484.5" y1="286.5386" y2="286.5386"/><polygon fill="#A80036" points="480.5,224.6519,484.5,214.6519,488.5,224.6519,484.5,220.6519" style="stroke: #A80036; stroke-width: 1.5;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="484.5" x2="484.5" y1="124.8594" y2="286.5386"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="484.5" x2="311.5" y1="124.8594" y2="124.8594"/><polygon fill="#A80036" points="321.5,120.8594,311.5,124.8594,321.5,128.8594,317.5,124.8594" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="241.5" x2="241.5" y1="136.8594" y2="168.5698"/><polygon fill="#A80036" points="237.5,158.5698,241.5,168.5698,245.5,158.5698,241.5,162.5698" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="171.5" x2="24" y1="124.8594" y2="124.8594"/><polygon fill="#A80036" points="20,210.6519,24,220.6519,28,210.6519,24,214.6519" style="stroke: #A80036; stroke-width: 1.5;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="24" x2="24" y1="124.8594" y2="298.5386"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="24" x2="241.5" y1="298.5386" y2="298.5386"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="241.5" x2="241.5" y1="298.5386" y2="318.5386"/><polygon fill="#A80036" points="237.5,308.5386,241.5,318.5386,245.5,308.5386,241.5,312.5386" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="241.5" x2="241.5" y1="92.8594" y2="112.8594"/><polygon fill="#A80036" points="237.5,102.8594,241.5,112.8594,245.5,102.8594,241.5,106.8594" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="241.5" x2="241.5" y1="352.5073" y2="372.5073"/><polygon fill="#A80036" points="237.5,362.5073,241.5,372.5073,245.5,362.5073,241.5,366.5073" style="stroke: #A80036; stroke-width: 1.0;"/><!-- |
---|---|---|---|
2 | @startuml |
||
3 | |||
4 | title **µRtWare**\nurtCoreRetrieveTopic()\n |
||
5 | |||
6 | |||
7 | |||
8 | start |
||
9 | while (Topics left to check?) is (yes) |
||
10 | if (Do the topic's ID and the argument match?) then (yes) |
||
11 | :return the topic; |
||
12 | stop |
||
13 | else (no) |
||
14 | :iterate to the next topic; |
||
15 | endif |
||
16 | endwhile (no) |
||
17 | :return ""NULL""; |
||
18 | stop |
||
19 | |||
20 | @enduml |
||
21 | |||
22 | PlantUML version 1.2018.11(Sat Sep 22 18:43:53 CEST 2018) |
||
23 | (GPL source distribution) |
||
24 | Java Runtime: OpenJDK Runtime Environment |
||
25 | JVM: OpenJDK 64-Bit Server VM |
||
26 | Java Version: 1.8.0_181-8u181-b13-0ubuntu0.16.04.1-b13 |
||
27 | Operating System: Linux |
||
28 | OS Version: 4.15.0-36-generic |
||
29 | Default Encoding: UTF-8 |
||
30 | Language: en |
||
31 | Country: US |
||
32 | --></g></svg> |