Statistics
| Branch: | Revision:

urtware / doc / activitydiagrams / core / urtCoreAddNode.svg @ e7056e1b

History | View | Annotate | Download (8.044 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="468px" preserveAspectRatio="none" style="width:380px;height:468px;" version="1.1" viewBox="0 0 380 468" width="380px" zoomAndPan="magnify"><defs><filter height="300%" id="f19791oa56a4wc" 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="144.5" y="26.708">µRtWare</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="164" x="107" y="47.6611">urtCoreAddNode()</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="0" x="192" y="68.6143"/><path d="M80,72.8594 L80,153.3906 L360,153.3906 L360,82.8594 L350,72.8594 L80,72.8594 " fill="#FBFB77" filter="url(#f19791oa56a4wc)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M350,72.8594 L350,82.8594 L360,82.8594 L350,72.8594 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="80" x2="153.5" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="157.5" y="89.4263"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="37" x="157.5" y="89.4263">node</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="84" x="198.5" y="89.4263">: urt_node_t*</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="286.5" x2="360" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="259" x="86" y="105.0591">The node to prepend. Must not be NULL.</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="80" x2="360" y1="113.125" y2="113.125"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="80" x2="360" y1="115.125" y2="115.125"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="80" x2="149" y1="125.6914" y2="125.6914"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="153" y="129.6919"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="45" x="153" y="129.6919">return</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="85" x="202" y="129.6919">: urt_status_t</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="291" x2="360" y1="125.6914" y2="125.6914"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="240" x="86" y="145.3247">Returns URT_STATUS_OK on success.</text><ellipse cx="220" cy="183.3906" fill="#000000" filter="url(#f19791oa56a4wc)" rx="10" ry="10" style="stroke: none; stroke-width: 1.0;"/><rect fill="#FEFECE" filter="url(#f19791oa56a4wc)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="77" x="181.5" y="213.3906"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="57" x="191.5" y="234.5293">lock core</text><rect fill="#FEFECE" filter="url(#f19791oa56a4wc)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="286" x="77" y="267.3594"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="266" x="87" y="288.498">Set node next pointer to first node of core</text><rect fill="#FEFECE" filter="url(#f19791oa56a4wc)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="206" x="117" y="321.3281"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="186" x="127" y="342.4668">Set first node of core to node</text><rect fill="#FEFECE" filter="url(#f19791oa56a4wc)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="93" x="173.5" y="375.2969"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="73" x="183.5" y="396.4355">unlock core</text><path d="M10,427.6992 L10,452.832 A0,0 0 0 0 10,452.832 L189,452.832 A0,0 0 0 0 189,452.832 L189,445.6992 L209,440.2656 L189,437.6992 L189,437.6992 L179,427.6992 L10,427.6992 A0,0 0 0 0 10,427.6992 " fill="#FBFB77" filter="url(#f19791oa56a4wc)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M179,427.6992 L179,437.6992 L189,437.6992 L179,427.6992 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="158" x="16" y="444.7661">Return URT_STATUS_OK.</text><ellipse cx="220" cy="440.2656" fill="#FFFFFF" filter="url(#f19791oa56a4wc)" rx="11" ry="11" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="220" cy="440.2656" fill="#000000" rx="6" ry="6" style="stroke: #7F7F7F; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="220" x2="220" y1="153.3906" y2="173.3906"/><polygon fill="#A80036" points="216,163.3906,220,173.3906,224,163.3906,220,167.3906" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="220" x2="220" y1="193.3906" y2="213.3906"/><polygon fill="#A80036" points="216,203.3906,220,213.3906,224,203.3906,220,207.3906" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="220" x2="220" y1="247.3594" y2="267.3594"/><polygon fill="#A80036" points="216,257.3594,220,267.3594,224,257.3594,220,261.3594" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="220" x2="220" y1="301.3281" y2="321.3281"/><polygon fill="#A80036" points="216,311.3281,220,321.3281,224,311.3281,220,315.3281" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="220" x2="220" y1="355.2969" y2="375.2969"/><polygon fill="#A80036" points="216,365.2969,220,375.2969,224,365.2969,220,369.2969" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="220" x2="220" y1="409.2656" y2="429.2656"/><polygon fill="#A80036" points="216,419.2656,220,429.2656,224,419.2656,220,423.2656" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[7eb085717e117b616d5b30687f156ac3]
2
@startuml
3

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

    
6
/'### PARAMETERS & RETURN ####################################################'/
7

    
8
note
9
  - - **node** : urt_node_t* - -
10
  The node to prepend. Must not be NULL.
11
  ====
12
  - - **return** : urt_status_t - -
13
  Returns URT_STATUS_OK on success.
14
endnote
15

    
16
/'### PROCEDURE ##############################################################'/
17

    
18
start
19
:lock core;
20
:Set node next pointer to first node of core;
21
:Set first node of core to node;
22
:unlock core;
23
stop
24
note
25
  Return URT_STATUS_OK.
26
endnote
27

    
28
/'### OUTRO ##################################################################'/
29

    
30
@enduml
31

    
32
@startuml
33

    
34
title **µRtWare**\nurtCoreAddNode()\n
35

    
36

    
37
note
38
  - - **node** : urt_node_t* - -
39
  The node to prepend. Must not be NULL.
40
  ====
41
  - - **return** : urt_status_t - -
42
  Returns URT_STATUS_OK on success.
43
endnote
44

    
45

    
46
start
47
:lock core;
48
:Set node next pointer to first node of core;
49
:Set first node of core to node;
50
:unlock core;
51
stop
52
note
53
  Return URT_STATUS_OK.
54
endnote
55

    
56

    
57
@enduml
58

    
59
PlantUML version 1.2020.15(Sun Jun 28 13:39:45 CEST 2020)
60
(GPL source distribution)
61
Java Runtime: OpenJDK Runtime Environment
62
JVM: OpenJDK 64-Bit Server VM
63
Default Encoding: UTF-8
64
Language: de
65
Country: DE
66
--></g></svg>