Statistics
| Branch: | Revision:

urtware / doc / activitydiagrams / subscriber / urtSrtSubscriberCalculateUsefulness.svg @ ee83a495

History | View | Annotate | Download (8.123 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="348px" preserveAspectRatio="none" style="width:877px;height:348px;" version="1.1" viewBox="0 0 877 348" width="877px" zoomAndPan="magnify"><defs><filter height="300%" id="f10ce7al3f6dlh" 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="393" y="26.708">µRtWare</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="333" x="271" y="47.6611">urtSrtSubscriberCalculateUsefulness()</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="0" x="440.5" y="68.6143"/><path d="M453,72.8594 L453,198.7891 L865,198.7891 L865,82.8594 L855,72.8594 L453,72.8594 " fill="#FBFB77" filter="url(#f10ce7al3f6dlh)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M855,72.8594 L855,82.8594 L865,82.8594 L855,72.8594 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="453" x2="546.5" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="550.5" y="89.4263"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="78" x="550.5" y="89.4263">subscriber</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="135" x="632.5" y="89.4263">: urt_srtsubscriber_t*</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="771.5" x2="865" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="308" x="459" y="105.0591">The SRT subscriber to calculate a usefulness for.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="76" x="459" y="120.1919">Must not be</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="539" y="120.1919">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="571" y="120.1919">.</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="453" x2="587" y1="130.8242" y2="130.8242"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="591" y="134.8247"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="53" x="591" y="134.8247">latency</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="79" x="648" y="134.8247">: urt_delay_t</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="731" x2="865" y1="130.8242" y2="130.8242"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="391" x="459" y="150.4575">Latency (of a message) as argument to calculate usefulness.</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="453" x2="865" y1="158.5234" y2="158.5234"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="453" x2="865" y1="160.5234" y2="160.5234"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="453" x2="612.5" y1="171.0898" y2="171.0898"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="616.5" y="175.0903"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="45" x="616.5" y="175.0903">return</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="36" x="665.5" y="175.0903">: float</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="705.5" x2="865" y1="171.0898" y2="171.0898"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="293" x="459" y="190.7231">Returns the usefulness as a value within [0,1].</text><ellipse cx="659" cy="228.7891" fill="#000000" filter="url(#f10ce7al3f6dlh)" rx="10" ry="10" style="stroke: none; stroke-width: 1.0;"/><path d="M10,263.207 L10,288.3398 A0,0 0 0 0 10,288.3398 L560,288.3398 A0,0 0 0 0 560,288.3398 L560,281.207 L580,275.7734 L560,273.207 L560,273.207 L550,263.207 L10,263.207 A0,0 0 0 0 10,263.207 " fill="#FBFB77" filter="url(#f10ce7al3f6dlh)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M550,263.207 L550,273.207 L560,273.207 L550,263.207 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="529" x="16" y="280.2739">The callback function must never return a negative value or a value greater than 1.</text><rect fill="#FEFECE" filter="url(#f10ce7al3f6dlh)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="158" x="580" y="258.7891"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="50" x="590" y="279.9277">execute</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="84" x="644" y="279.9277">usefulnesscb</text><path d="M421,311.1914 L421,336.3242 A0,0 0 0 0 421,336.3242 L628,336.3242 A0,0 0 0 0 628,336.3242 L628,329.1914 L648,323.7578 L628,321.1914 L628,321.1914 L618,311.1914 L421,311.1914 A0,0 0 0 0 421,311.1914 " fill="#FBFB77" filter="url(#f10ce7al3f6dlh)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M618,311.1914 L618,321.1914 L628,321.1914 L618,311.1914 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="186" x="427" y="328.2583">Returns callback result value.</text><ellipse cx="659" cy="323.7578" fill="#FFFFFF" filter="url(#f10ce7al3f6dlh)" rx="11" ry="11" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="659" cy="323.7578" fill="#000000" rx="6" ry="6" style="stroke: #7F7F7F; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="659" x2="659" y1="198.7891" y2="218.7891"/><polygon fill="#A80036" points="655,208.7891,659,218.7891,663,208.7891,659,212.7891" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="659" x2="659" y1="238.7891" y2="258.7891"/><polygon fill="#A80036" points="655,248.7891,659,258.7891,663,248.7891,659,252.7891" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="659" x2="659" y1="292.7578" y2="312.7578"/><polygon fill="#A80036" points="655,302.7578,659,312.7578,663,302.7578,659,306.7578" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[116af10d5564a4773b10ef3aaeab21ec]
2
@startuml
3

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

    
6

    
7
note
8
  - - **subscriber** : urt_srtsubscriber_t* - -
9
  The SRT subscriber to calculate a usefulness for.
10
  Must not be ""NULL"".
11
  - - **latency** : urt_delay_t - -
12
  Latency (of a message) as argument to calculate usefulness.
13
  ====
14
  - - **return** : float - -
15
  Returns the usefulness as a value within [0,1].
16
endnote
17

    
18

    
19
start
20
:execute ""usefulnesscb"";
21
note
22
  The callback function must never return a negative value or a value greater than 1.
23
endnote
24
stop
25
note
26
  Returns callback result value.
27
endnote
28

    
29

    
30
@enduml
31

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