urtware / doc / statediagrams / core / urtCoreStopNodes.svg @ 35c9457f
History | View | Annotate | Download (8.574 KB)
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="553px" preserveAspectRatio="none" style="width:269px;height:553px;" version="1.1" viewBox="0 0 269 553" width="269px" zoomAndPan="magnify"><defs><filter height="300%" id="f1ew74r5cjc25p" 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="89.25" y="26.708">µRtWare</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="178" x="44.75" y="47.6611">urtCoreStopNodes()</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="0" x="136.75" y="68.6143"/><ellipse cx="138" cy="82.8594" fill="#000000" filter="url(#f1ew74r5cjc25p)" rx="10" ry="10" style="stroke: none; stroke-width: 1.0;"/><rect fill="#FEFECE" filter="url(#f1ew74r5cjc25p)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="187" x="44.5" y="168.5698"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="167" x="54.5" y="189.7085">request node to terminate</text><rect fill="#FEFECE" filter="url(#f1ew74r5cjc25p)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="146" x="65" y="231.6362"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="126" x="75" y="252.7749">iterate to next node</text><polygon fill="#FEFECE" filter="url(#f1ew74r5cjc25p)" points="84,112.8594,192,112.8594,204,124.8594,192,136.8594,84,136.8594,72,124.8594,84,112.8594" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="142" y="147.0698">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="108" x="84" y="128.6675">Nodes left to stop?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="58" y="122.2651">no</text><rect fill="#FEFECE" filter="url(#f1ew74r5cjc25p)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="171" x="52.5" y="307.605"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="151" x="62.5" y="328.7437">broadcast control event</text><rect fill="#FEFECE" filter="url(#f1ew74r5cjc25p)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="184" x="46" y="422.3784"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="164" x="56" y="443.5171">wait for node to terminate</text><rect fill="#FEFECE" filter="url(#f1ew74r5cjc25p)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="146" x="65" y="485.4448"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="126" x="75" y="506.5835">iterate to next node</text><polygon fill="#FEFECE" filter="url(#f1ew74r5cjc25p)" points="75,361.5737,201,361.5737,213,373.5737,201,385.5737,75,385.5737,63,373.5737,75,361.5737" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="142" y="395.7842">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="126" x="75" y="377.3818">Nodes left to wait for?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="49" y="370.9795">no</text><ellipse cx="24" cy="419.5737" fill="none" filter="url(#f1ew74r5cjc25p)" rx="10" ry="10" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="24.5" cy="420.0737" fill="#000000" filter="url(#f1ew74r5cjc25p)" rx="6" ry="6" style="stroke: none; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="138" x2="138" y1="202.5386" y2="231.6362"/><polygon fill="#A80036" points="134,221.6362,138,231.6362,142,221.6362,138,225.6362" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="138" x2="138" y1="136.8594" y2="168.5698"/><polygon fill="#A80036" points="134,158.5698,138,168.5698,142,158.5698,138,162.5698" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="138" x2="138" y1="265.605" y2="275.605"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="138" x2="243.5" y1="275.605" y2="275.605"/><polygon fill="#A80036" points="239.5,211.6362,243.5,201.6362,247.5,211.6362,243.5,207.6362" style="stroke: #A80036; stroke-width: 1.5;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="243.5" x2="243.5" y1="124.8594" y2="275.605"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="243.5" x2="204" y1="124.8594" y2="124.8594"/><polygon fill="#A80036" points="214,120.8594,204,124.8594,214,128.8594,210,124.8594" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="72" x2="32.5" y1="124.8594" y2="124.8594"/><polygon fill="#A80036" points="28.5,197.6362,32.5,207.6362,36.5,197.6362,32.5,201.6362" style="stroke: #A80036; stroke-width: 1.5;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="32.5" x2="32.5" y1="124.8594" y2="287.605"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="32.5" x2="138" y1="287.605" y2="287.605"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="138" x2="138" y1="287.605" y2="307.605"/><polygon fill="#A80036" points="134,297.605,138,307.605,142,297.605,138,301.605" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="138" x2="138" y1="92.8594" y2="112.8594"/><polygon fill="#A80036" points="134,102.8594,138,112.8594,142,102.8594,138,106.8594" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="138" x2="138" y1="456.3472" y2="485.4448"/><polygon fill="#A80036" points="134,475.4448,138,485.4448,142,475.4448,138,479.4448" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="138" x2="138" y1="385.5737" y2="422.3784"/><polygon fill="#A80036" points="134,412.3784,138,422.3784,142,412.3784,138,416.3784" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="138" x2="138" y1="519.4136" y2="529.4136"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="138" x2="242" y1="529.4136" y2="529.4136"/><polygon fill="#A80036" points="238,465.4448,242,455.4448,246,465.4448,242,461.4448" style="stroke: #A80036; stroke-width: 1.5;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="242" x2="242" y1="373.5737" y2="529.4136"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="242" x2="213" y1="373.5737" y2="373.5737"/><polygon fill="#A80036" points="223,369.5737,213,373.5737,223,377.5737,219,373.5737" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="63" x2="24" y1="373.5737" y2="373.5737"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="24" x2="24" y1="373.5737" y2="409.5737"/><polygon fill="#A80036" points="20,399.5737,24,409.5737,28,399.5737,24,403.5737" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="138" x2="138" y1="341.5737" y2="361.5737"/><polygon fill="#A80036" points="134,351.5737,138,361.5737,142,351.5737,138,355.5737" style="stroke: #A80036; stroke-width: 1.0;"/><!-- |
---|---|
2 |
@startuml |
3 |
|
4 |
title **µRtWare**\nurtCoreStopNodes()\n |
5 |
|
6 |
|
7 |
|
8 |
start |
9 |
while (Nodes left to stop?) is (yes) |
10 |
:request node to terminate; |
11 |
:iterate to next node; |
12 |
endwhile (no) |
13 |
:broadcast control event; |
14 |
while (Nodes left to wait for?) is (yes) |
15 |
:wait for node to terminate; |
16 |
:iterate to next node; |
17 |
endwhile (no) |
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> |