Statistics
| Branch: | Revision:

urtware / doc / activitydiagrams / service / urtServiceRespond.svg @ 2d315870

History | View | Annotate | Download (8.224 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="441px" preserveAspectRatio="none" style="width:350px;height:441px;" version="1.1" viewBox="0 0 350 441" width="350px" zoomAndPan="magnify"><defs><filter height="300%" id="f6n079ojx20tw" 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="129.75" y="26.708">µRtWare</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="182" x="83.25" y="47.6611">urtServiceRespond()</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="0" x="177.25" y="68.6143"/><path d="M107.5,72.8594 L107.5,183.6563 L338.5,183.6563 L338.5,82.8594 L328.5,72.8594 L107.5,72.8594 " fill="#FBFB77" filter="url(#f6n079ojx20tw)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M328.5,72.8594 L328.5,82.8594 L338.5,82.8594 L328.5,72.8594 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="107.5" x2="138" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="142" y="89.4263"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="57" x="142" y="89.4263">request</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="101" x="203" y="89.4263">: urt_request_t*</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="308" x2="338.5" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="143" x="113.5" y="105.0591">Request to respont to.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="76" x="113.5" y="120.1919">Must not be</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="193.5" y="120.1919">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="225.5" y="120.1919">.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="210" x="113.5" y="135.3247">Must have been acquired before.</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="107.5" x2="338.5" y1="143.3906" y2="143.3906"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="107.5" x2="338.5" y1="145.3906" y2="145.3906"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="107.5" x2="152" y1="155.957" y2="155.957"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="156" y="159.9575"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="45" x="156" y="159.9575">return</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="85" x="205" y="159.9575">: urt_status_t</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="294" x2="338.5" y1="155.957" y2="155.957"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="93" x="113.5" y="175.5903">Always returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="104" x="210.5" y="175.5903">URT_STATUS_OK</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="314.5" y="175.5903">.</text><ellipse cx="223" cy="213.6563" fill="#000000" filter="url(#f6n079ojx20tw)" rx="10" ry="10" style="stroke: none; stroke-width: 1.0;"/><rect fill="#FEFECE" filter="url(#f6n079ojx20tw)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="184" x="131" y="243.6563"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="132" x="141" y="264.7949">set request owner to</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="277" y="264.7949">NULL</text><rect fill="#FEFECE" filter="url(#f6n079ojx20tw)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="155" x="145.5" y="297.625"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="135" x="155.5" y="318.7637">fire event (@request)</text><rect fill="#FEFECE" filter="url(#f6n079ojx20tw)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="114" x="166" y="351.5938"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="94" x="176" y="372.7324">unlock request</text><path d="M10,403.9961 L10,429.1289 A0,0 0 0 0 10,429.1289 L192,429.1289 A0,0 0 0 0 192,429.1289 L192,421.9961 L212,416.5625 L192,413.9961 L192,413.9961 L182,403.9961 L10,403.9961 A0,0 0 0 0 10,403.9961 " fill="#FBFB77" filter="url(#f6n079ojx20tw)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M182,403.9961 L182,413.9961 L192,413.9961 L182,403.9961 " 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="421.063">Returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="104" x="69" y="421.063">URT_STATUS_OK</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="173" y="421.063">.</text><ellipse cx="223" cy="416.5625" fill="#FFFFFF" filter="url(#f6n079ojx20tw)" rx="11" ry="11" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="223" cy="416.5625" fill="#000000" rx="6" ry="6" style="stroke: #7F7F7F; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="223" x2="223" y1="183.6563" y2="203.6563"/><polygon fill="#A80036" points="219,193.6563,223,203.6563,227,193.6563,223,197.6563" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="223" x2="223" y1="223.6563" y2="243.6563"/><polygon fill="#A80036" points="219,233.6563,223,243.6563,227,233.6563,223,237.6563" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="223" x2="223" y1="277.625" y2="297.625"/><polygon fill="#A80036" points="219,287.625,223,297.625,227,287.625,223,291.625" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="223" x2="223" y1="331.5938" y2="351.5938"/><polygon fill="#A80036" points="219,341.5938,223,351.5938,227,341.5938,223,345.5938" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="223" x2="223" y1="385.5625" y2="405.5625"/><polygon fill="#A80036" points="219,395.5625,223,405.5625,227,395.5625,223,399.5625" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[ebaf5934b2ce869c00bfb0249350123f]
2
@startuml
3

    
4
title **µRtWare**\nurtServiceRespond()\n
5

    
6

    
7
note
8
  - - **request** : urt_request_t* - -
9
  Request to respont to.
10
  Must not be ""NULL"".
11
  Must have been acquired before.
12
  ====
13
  - - **return** : urt_status_t - -
14
  Always returns ""URT_STATUS_OK"".
15
endnote
16

    
17

    
18
start
19
:set request owner to ""NULL"";
20
:fire event (@request);
21
:unlock request;
22
stop
23
note
24
  Returns ""URT_STATUS_OK"".
25
endnote
26

    
27

    
28
@enduml
29

    
30
PlantUML version 1.2020.00(Sat Jan 11 13:30:53 CET 2020)
31
(GPL source distribution)
32
Java Runtime: OpenJDK Runtime Environment
33
JVM: OpenJDK 64-Bit Server VM
34
Java Version: 11.0.7+10-post-Ubuntu-2ubuntu218.04
35
Operating System: Linux
36
Default Encoding: UTF-8
37
Language: en
38
Country: US
39
--></g></svg>