urtware / doc / statediagrams / general / emergency.svg @ 7491c395
History | View | Annotate | Download (7.854 KB)
1 | 6ebd2388 | 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="440px" preserveAspectRatio="none" style="width:446px;height:440px;" version="1.1" viewBox="0 0 446 440" width="446px" zoomAndPan="magnify"><defs><filter height="300%" id="f15t7xuxx0vrgq" 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="177.5" y="26.708">µRtWare</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="179" x="132.5" y="47.6611">Emergency Callback</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="0" x="225" y="68.6143"/><ellipse cx="274" cy="82.8594" fill="#000000" filter="url(#f15t7xuxx0vrgq)" rx="10" ry="10" style="stroke: none; stroke-width: 1.0;"/><path d="M36,221.3901 L36,246.5229 A0,0 0 0 0 36,246.5229 L120,246.5229 A0,0 0 0 0 120,246.5229 L120,239.3901 L140,233.9565 L120,231.3901 L120,231.3901 L110,221.3901 L36,221.3901 A0,0 0 0 0 36,221.3901 " fill="#FBFB77" filter="url(#f15t7xuxx0vrgq)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M110,221.3901 L110,231.3901 L120,231.3901 L110,221.3901 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="63" x="42" y="238.457">recusively</text><rect fill="#FEFECE" filter="url(#f15t7xuxx0vrgq)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="268" x="140" y="216.9722"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="248" x="150" y="238.1108">terminate node and all its child threads</text><rect fill="#FEFECE" filter="url(#f15t7xuxx0vrgq)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="146" x="201" y="280.0386"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="126" x="211" y="301.1772">iterate to next node</text><polygon fill="#FEFECE" filter="url(#f15t7xuxx0vrgq)" points="205,161.2617,343,161.2617,355,173.2617,343,185.2617,205,185.2617,193,173.2617,205,161.2617" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="278" y="195.4722">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="138" x="205" y="177.0698">Nodes left to terminate?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="179" y="170.6675">no</text><rect fill="#FEFECE" filter="url(#f15t7xuxx0vrgq)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="176" x="186" y="356.0073"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="156" x="196" y="377.146">initiate system shutdown</text><ellipse cx="274" cy="419.9761" fill="none" filter="url(#f15t7xuxx0vrgq)" rx="10" ry="10" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="274.5" cy="420.4761" fill="#000000" filter="url(#f15t7xuxx0vrgq)" rx="6" ry="6" style="stroke: none; stroke-width: 1.0;"/><polygon fill="#FEFECE" filter="url(#f15t7xuxx0vrgq)" points="205,112.8594,343,112.8594,355,124.8594,343,136.8594,205,136.8594,193,124.8594,205,112.8594" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="278" y="147.0698">no</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="138" x="205" y="128.6675">Has been called before?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="355" y="122.2651">yes</text><ellipse cx="395" cy="124.8594" fill="none" filter="url(#f15t7xuxx0vrgq)" rx="10" ry="10" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="395.5" cy="125.3594" fill="#000000" filter="url(#f15t7xuxx0vrgq)" rx="6" ry="6" style="stroke: none; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="274" x2="274" y1="250.9409" y2="280.0386"/><polygon fill="#A80036" points="270,270.0386,274,280.0386,278,270.0386,274,274.0386" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="274" x2="274" y1="185.2617" y2="216.9722"/><polygon fill="#A80036" points="270,206.9722,274,216.9722,278,206.9722,274,210.9722" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="274" x2="274" y1="314.0073" y2="324.0073"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="274" x2="420" y1="324.0073" y2="324.0073"/><polygon fill="#A80036" points="416,260.0386,420,250.0386,424,260.0386,420,256.0386" style="stroke: #A80036; stroke-width: 1.5;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="420" x2="420" y1="173.2617" y2="324.0073"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="420" x2="355" y1="173.2617" y2="173.2617"/><polygon fill="#A80036" points="365,169.2617,355,173.2617,365,177.2617,361,173.2617" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="193" x2="24" y1="173.2617" y2="173.2617"/><polygon fill="#A80036" points="20,246.0386,24,256.0386,28,246.0386,24,250.0386" style="stroke: #A80036; stroke-width: 1.5;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="24" x2="24" y1="173.2617" y2="336.0073"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="24" x2="274" y1="336.0073" y2="336.0073"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="274" x2="274" y1="336.0073" y2="356.0073"/><polygon fill="#A80036" points="270,346.0073,274,356.0073,278,346.0073,274,350.0073" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="274" x2="274" y1="389.9761" y2="409.9761"/><polygon fill="#A80036" points="270,399.9761,274,409.9761,278,399.9761,274,403.9761" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="274" x2="274" y1="136.8594" y2="161.2617"/><polygon fill="#A80036" points="270,151.2617,274,161.2617,278,151.2617,274,155.2617" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="355" x2="385" y1="124.8594" y2="124.8594"/><polygon fill="#A80036" points="375,120.8594,385,124.8594,375,128.8594,379,124.8594" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="274" x2="274" y1="92.8594" y2="112.8594"/><polygon fill="#A80036" points="270,102.8594,274,112.8594,278,102.8594,274,106.8594" style="stroke: #A80036; stroke-width: 1.0;"/><!-- |
---|---|---|---|
2 | @startuml |
||
3 | |||
4 | title **µRtWare**\nEmergency Callback\n |
||
5 | |||
6 | |||
7 | |||
8 | start |
||
9 | if (Has been called before?) then (yes) |
||
10 | stop |
||
11 | else (no) |
||
12 | while (Nodes left to terminate?) is (yes) |
||
13 | :terminate node and all its child threads; |
||
14 | note |
||
15 | recusively |
||
16 | endnote |
||
17 | :iterate to next node; |
||
18 | endwhile (no) |
||
19 | :initiate system shutdown; |
||
20 | stop |
||
21 | endif |
||
22 | |||
23 | |||
24 | @enduml |
||
25 | |||
26 | PlantUML version 1.2018.11(Sat Sep 22 18:43:53 CEST 2018) |
||
27 | (GPL source distribution) |
||
28 | Java Runtime: OpenJDK Runtime Environment |
||
29 | JVM: OpenJDK 64-Bit Server VM |
||
30 | Java Version: 1.8.0_181-8u181-b13-0ubuntu0.16.04.1-b13 |
||
31 | Operating System: Linux |
||
32 | OS Version: 4.15.0-36-generic |
||
33 | Default Encoding: UTF-8 |
||
34 | Language: en |
||
35 | Country: US |
||
36 | --></g></svg> |