Statistics
| Branch: | Revision:

urtware / doc / activitydiagrams / request / srtrequest / urtSrtRequestCalculateUsefulness.svg @ 5c6cb22f

History | View | Annotate | Download (9.365 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="423px" preserveAspectRatio="none" style="width:433px;height:423px;" version="1.1" viewBox="0 0 433 423" width="433px" zoomAndPan="magnify"><defs><filter height="300%" id="f1b4ssuik79i9r" 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="171" y="26.708">µRtWare</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="312" x="59.5" y="47.6611">urtSrtRequestCalculateUsefulness()</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="0" x="218.5" y="68.6143"/><path d="M10,72.8594 L10,274.4531 L421,274.4531 L421,82.8594 L411,72.8594 L10,72.8594 " fill="#FBFB77" filter="url(#f1b4ssuik79i9r)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M411,72.8594 L411,82.8594 L421,82.8594 L411,72.8594 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="10" x2="122" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="126" y="89.4263"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="57" x="126" y="89.4263">request</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="118" x="187" y="89.4263">: urt_srtrequest_t*</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="309" x2="421" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="227" x="16" y="105.0591">The request to calculate validity for.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="76" x="16" y="120.1919">Must not be</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="96" y="120.1919">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="128" y="120.1919">.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="210" x="16" y="135.3247">Must have been acquired before.</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="10" x2="105" y1="145.957" y2="145.957"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="109" y="149.9575"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="97" x="109" y="149.9575">usefulnesscb</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="112" x="210" y="149.9575">: urt_usefulness_f</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="326" x2="421" y1="145.957" y2="145.957"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="291" x="16" y="165.5903">Calback function that calcualtes a usefulness.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="76" x="16" y="180.7231">Must not be</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="96" y="180.7231">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="128" y="180.7231">.</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="10" x2="152" y1="191.3555" y2="191.3555"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="156" y="195.356"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="74" x="156" y="195.356">cbparams</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="41" x="234" y="195.356">: void*</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="279" x2="421" y1="191.3555" y2="191.3555"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="287" x="16" y="210.9888">Optional arguments for the callback function.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="46" x="16" y="226.1216">May be</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="66" y="226.1216">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="304" x="102" y="226.1216">if the callback does not expect any parameters.</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="10" x2="421" y1="234.1875" y2="234.1875"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="10" x2="421" y1="236.1875" y2="236.1875"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="10" x2="169" y1="246.7539" y2="246.7539"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="173" y="250.7544"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="45" x="173" y="250.7544">return</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="36" x="222" y="250.7544">: float</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="262" x2="421" y1="246.7539" y2="246.7539"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="390" x="16" y="266.3872">Value in range [0,1], indicating the usefulness of the request.</text><ellipse cx="215.5" cy="304.4531" fill="#000000" filter="url(#f1b4ssuik79i9r)" rx="10" ry="10" style="stroke: none; stroke-width: 1.0;"/><rect fill="#FEFECE" filter="url(#f1b4ssuik79i9r)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="336" x="47.5" y="334.4531"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="316" x="57.5" y="355.5918">execute callback function with optional arguments</text><path d="M15.5,386.8555 L15.5,411.9883 A0,0 0 0 0 15.5,411.9883 L184.5,411.9883 A0,0 0 0 0 184.5,411.9883 L184.5,404.8555 L204.5,399.4219 L184.5,396.8555 L184.5,396.8555 L174.5,386.8555 L15.5,386.8555 A0,0 0 0 0 15.5,386.8555 " fill="#FBFB77" filter="url(#f1b4ssuik79i9r)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M174.5,386.8555 L174.5,396.8555 L184.5,396.8555 L174.5,386.8555 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="148" x="21.5" y="403.9224">Returns callback result.</text><ellipse cx="215.5" cy="399.4219" fill="#FFFFFF" filter="url(#f1b4ssuik79i9r)" rx="11" ry="11" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="215.5" cy="399.4219" fill="#000000" rx="6" ry="6" style="stroke: #7F7F7F; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="215.5" x2="215.5" y1="274.4531" y2="294.4531"/><polygon fill="#A80036" points="211.5,284.4531,215.5,294.4531,219.5,284.4531,215.5,288.4531" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="215.5" x2="215.5" y1="314.4531" y2="334.4531"/><polygon fill="#A80036" points="211.5,324.4531,215.5,334.4531,219.5,324.4531,215.5,328.4531" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="215.5" x2="215.5" y1="368.4219" y2="388.4219"/><polygon fill="#A80036" points="211.5,378.4219,215.5,388.4219,219.5,378.4219,215.5,382.4219" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[25991110ce9517ad01374b69c7642fbf]
2
@startuml
3

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

    
6

    
7
note
8
  - - **request** : urt_srtrequest_t* - -
9
  The request to calculate validity for.
10
  Must not be ""NULL"".
11
  Must have been acquired before.
12
  - - **usefulnesscb** : urt_usefulness_f - -
13
  Calback function that calcualtes a usefulness.
14
  Must not be ""NULL"".
15
  - - **cbparams** : void* - -
16
  Optional arguments for the callback function.
17
  May be ""NULL"" if the callback does not expect any parameters.
18
  ====
19
  - - **return** : float - -
20
  Value in range [0,1], indicating the usefulness of the request.
21
endnote
22

    
23

    
24
start
25
:execute callback function with optional arguments;
26
stop
27
note
28
  Returns callback result.
29
endnote
30

    
31

    
32
@enduml
33

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