~aleteoryx/muditaos

muditaos/module-gui/doc/how_app_start_work.svg -rw-r--r-- 12.0 KiB
a405cad6Aleteoryx trim readme 6 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?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="595px" preserveAspectRatio="none" style="width:549px;height:595px;background:#F0F0F0;" version="1.1" viewBox="0 0 549 595" width="549px" zoomAndPan="magnify"><defs><filter height="300%" id="f8351ngeeg3ar" 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><rect fill="#F0F0F0" filter="url(#f8351ngeeg3ar)" height="75.3984" style="stroke: #000000; stroke-width: 2.0;" width="229" x="298.5" y="462.5625"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="127" x2="127" y1="38.2969" y2="266.2266"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,4.0;" x1="127" x2="127" y1="266.2266" y2="307.0313"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="127" x2="127" y1="307.0313" y2="554.9609"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="354.5" x2="354.5" y1="38.2969" y2="266.2266"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,4.0;" x1="354.5" x2="354.5" y1="266.2266" y2="307.0313"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="354.5" x2="354.5" y1="307.0313" y2="554.9609"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="435.5" x2="435.5" y1="38.2969" y2="266.2266"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,4.0;" x1="435.5" x2="435.5" y1="266.2266" y2="307.0313"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="435.5" x2="435.5" y1="307.0313" y2="554.9609"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="493.5" x2="493.5" y1="38.2969" y2="266.2266"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,4.0;" x1="493.5" x2="493.5" y1="266.2266" y2="307.0313"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="493.5" x2="493.5" y1="307.0313" y2="554.9609"/><rect fill="#FEFECE" filter="url(#f8351ngeeg3ar)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="44" x="103" y="3"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="30" x="110" y="22.9951">APM</text><rect fill="#FEFECE" filter="url(#f8351ngeeg3ar)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="44" x="103" y="553.9609"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="30" x="110" y="573.9561">APM</text><rect fill="#FEFECE" filter="url(#f8351ngeeg3ar)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="89" x="308.5" y="3"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="75" x="315.5" y="22.9951">Application</text><rect fill="#FEFECE" filter="url(#f8351ngeeg3ar)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="89" x="308.5" y="553.9609"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="75" x="315.5" y="573.9561">Application</text><rect fill="#FEFECE" filter="url(#f8351ngeeg3ar)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="44" x="411.5" y="3"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="30" x="418.5" y="22.9951">EVM</text><rect fill="#FEFECE" filter="url(#f8351ngeeg3ar)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="44" x="411.5" y="553.9609"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="30" x="418.5" y="573.9561">EVM</text><rect fill="#FEFECE" filter="url(#f8351ngeeg3ar)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="44" x="469.5" y="3"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="30" x="476.5" y="22.9951">SVM</text><rect fill="#FEFECE" filter="url(#f8351ngeeg3ar)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="44" x="469.5" y="553.9609"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="30" x="476.5" y="573.9561">SVM</text><rect fill="#EEEEEE" filter="url(#f8351ngeeg3ar)" height="3" style="stroke: #EEEEEE; stroke-width: 1.0;" width="534.5" x="3" y="68.8633"/><line style="stroke: #000000; stroke-width: 1.0;" x1="3" x2="537.5" y1="68.8633" y2="68.8633"/><line style="stroke: #000000; stroke-width: 1.0;" x1="3" x2="537.5" y1="71.8633" y2="71.8633"/><rect fill="#EEEEEE" filter="url(#f8351ngeeg3ar)" height="23.1328" style="stroke: #000000; stroke-width: 2.0;" width="284" x="128.25" y="58.2969"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="265" x="134.25" y="74.3638">ApplicationManager aplication start</text><polygon fill="#A80036" points="343,108.5625,353,112.5625,343,116.5625,347,112.5625" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="127" x2="349" y1="112.5625" y2="112.5625"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="91" x="134" y="107.4966">Message start</text><polygon fill="#A80036" points="138,137.6953,128,141.6953,138,145.6953,134,141.6953" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="132" x2="354" y1="141.6953" y2="141.6953"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="204" x="144" y="136.6294">Application started confirmation</text><polygon fill="#A80036" points="343,166.8281,353,170.8281,343,174.8281,347,170.8281" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="127" x2="349" y1="170.8281" y2="170.8281"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="19" x="134" y="165.7622">Init</text><polygon fill="#A80036" points="138,195.9609,128,199.9609,138,203.9609,134,199.9609" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="132" x2="354" y1="199.9609" y2="199.9609"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="59" x="144" y="194.895">Initialized</text><polygon fill="#A80036" points="343,225.0938,353,229.0938,343,233.0938,347,229.0938" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="127" x2="349" y1="229.0938" y2="229.0938"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="96" x="134" y="224.0278">You have focus</text><polygon fill="#A80036" points="423.5,254.2266,433.5,258.2266,423.5,262.2266,427.5,258.2266" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="127" x2="429.5" y1="258.2266" y2="258.2266"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="177" x="134" y="253.1606">Application NAME has focus</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="0" x="269.75" y="290.437"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="75" x="272.75" y="290.437">Lots of action</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="0" x="353.75" y="290.437"/><rect fill="#EEEEEE" filter="url(#f8351ngeeg3ar)" height="3" style="stroke: #EEEEEE; stroke-width: 1.0;" width="534.5" x="3" y="327.5977"/><line style="stroke: #000000; stroke-width: 1.0;" x1="3" x2="537.5" y1="327.5977" y2="327.5977"/><line style="stroke: #000000; stroke-width: 1.0;" x1="3" x2="537.5" y1="330.5977" y2="330.5977"/><rect fill="#EEEEEE" filter="url(#f8351ngeeg3ar)" height="23.1328" style="stroke: #000000; stroke-width: 2.0;" width="284" x="128.25" y="317.0313"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="265" x="134.25" y="333.0981">ApplicationManager aplication start</text><polygon fill="#A80036" points="343,367.2969,353,371.2969,343,375.2969,347,371.2969" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="127" x2="349" y1="371.2969" y2="371.2969"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="78" x="134" y="366.231">EOL request</text><polygon fill="#FBFB77" filter="url(#f8351ngeeg3ar)" points="18,384.2969,237,384.2969,247,395.2969,237,407.2969,18,407.2969,8,395.2969,18,384.2969" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="215" x="20" y="400.3638">Get previous application or ignore</text><rect fill="#EEEEEE" filter="url(#f8351ngeeg3ar)" height="3" style="stroke: #EEEEEE; stroke-width: 1.0;" width="534.5" x="3" y="432.9961"/><line style="stroke: #000000; stroke-width: 1.0;" x1="3" x2="537.5" y1="432.9961" y2="432.9961"/><line style="stroke: #000000; stroke-width: 1.0;" x1="3" x2="537.5" y1="435.9961" y2="435.9961"/><rect fill="#EEEEEE" filter="url(#f8351ngeeg3ar)" height="23.1328" style="stroke: #000000; stroke-width: 2.0;" width="230" x="155.25" y="422.4297"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="211" x="161.25" y="438.4966">Service manager - power off</text><path d="M298.5,462.5625 L375.5,462.5625 L375.5,469.5625 L365.5,479.5625 L298.5,479.5625 L298.5,462.5625 " fill="#EEEEEE" style="stroke: #000000; stroke-width: 1.0;"/><rect fill="none" height="75.3984" style="stroke: #000000; stroke-width: 2.0;" width="229" x="298.5" y="462.5625"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="32" x="313.5" y="475.6294">loop</text><text fill="#000000" font-family="sans-serif" font-size="11" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="117" x="390.5" y="474.7729">[each application]</text><polygon fill="#A80036" points="366,496.8281,356,500.8281,366,504.8281,362,500.8281" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="360" x2="492.5" y1="500.8281" y2="500.8281"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="78" x="372" y="495.7622">EOL request</text><polygon fill="#A80036" points="481.5,525.9609,491.5,529.9609,481.5,533.9609,485.5,529.9609" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 2.0,2.0;" x1="355" x2="487.5" y1="529.9609" y2="529.9609"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="18" x="362" y="524.895">OK</text><!--MD5=[11dcbb335bd6ce7ae452eebd9085098c]
@startuml
skinparam BackgroundColor F0F0F0

== ApplicationManager aplication start ==

APM -> Application: Message start
APM <- Application: Application started confirmation
APM -> Application: Init
APM <- Application: Initialized
APM -> Application: You have focus
APM -> EVM: Application NAME has focus
... ~~ Lots of action ~~ ...


== ApplicationManager aplication start ==

Application <- APM: EOL request

hnote over APM
    Get previous application or ignore
endhnote

== Service manager - power off ==

loop each application
SVM -> Application: EOL request
SVM <- - Application: OK
end

@enduml

PlantUML version 1.2020.02(Sun Mar 01 05:22:07 EST 2020)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Java Version: 11.0.12+7-post-Debian-2
Operating System: Linux
Default Encoding: UTF-8
Language: en
Country: US
--></g></svg>