Statistics
| Branch: | Revision:

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

History | View | Annotate | Download (12.986 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="495px" preserveAspectRatio="none" style="width:508px;height:495px;" version="1.1" viewBox="0 0 508 495" width="508px" zoomAndPan="magnify"><defs><filter height="300%" id="f15ks931pbyyq5" 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="208.75" y="26.708">µRtWare</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="188" x="159.25" y="47.6611">urtSrtSubscriberInit()</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="0" x="256.25" y="68.6143"/><path d="M250.5,72.8594 L250.5,168.5234 L496.5,168.5234 L496.5,82.8594 L486.5,72.8594 L250.5,72.8594 " fill="#FBFB77" filter="url(#f15ks931pbyyq5)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M486.5,72.8594 L486.5,82.8594 L496.5,82.8594 L486.5,72.8594 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="250.5" x2="261" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="265" y="89.4263"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="78" x="265" y="89.4263">subscriber</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="135" x="347" y="89.4263">: urt_srtsubscriber_t*</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="486" x2="496.5" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="197" x="256.5" y="105.0591">The SRT subscriber to initialize.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="76" x="256.5" y="120.1919">Must not be</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="336.5" y="120.1919">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="368.5" y="120.1919">.</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="250.5" x2="496.5" y1="128.2578" y2="128.2578"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="250.5" x2="496.5" y1="130.2578" y2="130.2578"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="250.5" x2="302.5" y1="140.8242" y2="140.8242"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="306.5" y="144.8247"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="45" x="306.5" y="144.8247">return</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="85" x="355.5" y="144.8247">: urt_status_t</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="444.5" x2="496.5" y1="140.8242" y2="140.8242"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="93" x="256.5" y="160.4575">Always returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="104" x="353.5" y="160.4575">URT_STATUS_OK</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="457.5" y="160.4575">.</text><ellipse cx="373.5" cy="198.5234" fill="#000000" filter="url(#f15ks931pbyyq5)" rx="10" ry="10" style="stroke: none; stroke-width: 1.0;"/><path d="M10,218.5234 L10,440.3828 A0,0 0 0 0 10,440.3828 L288,440.3828 A0,0 0 0 0 288,440.3828 L288,333.4531 L308,329.4531 L288,325.4531 L288,228.5234 L278,218.5234 L10,218.5234 A0,0 0 0 0 10,218.5234 " fill="#FBFB77" filter="url(#f15ks931pbyyq5)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M278,218.5234 L278,228.5234 L288,228.5234 L278,218.5234 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="10" x2="78" y1="231.0898" y2="231.0898"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="134" x="82" y="235.0903">urt_basesubscriber_t</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="220" x2="288" y1="231.0898" y2="231.0898"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="37" x="16" y="250.7231">topic</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="11" x="57" y="250.7231">←</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="72" y="250.7231">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="129" x="16" y="265.856">urtEventListenerInit(</text><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="82" x="145" y="265.856">evtListener</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="5" x="227" y="265.856">)</text><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="93" x="16" y="280.9888">lastMessage</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="11" x="113" y="280.9888">←</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="128" y="280.9888">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="128" x="16" y="296.1216">lastMessageTime</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="148" y="296.1216">← 0</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="10" x2="20.5" y1="306.7539" y2="306.7539"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="249" x="24.5" y="310.7544">URT_CFG_PUBSUB_PROFILING == true</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="277.5" x2="288" y1="306.7539" y2="306.7539"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="101" x="16" y="326.3872">sumLatencies</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="121" y="326.3872">← 0</text><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="173" x="16" y="341.52">numMessagesReceived</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="193" y="341.52">← 0</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="10" x2="85" y1="352.1523" y2="352.1523"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="120" x="89" y="356.1528">urt_srtsubscriber_t</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="213" x2="288" y1="352.1523" y2="352.1523"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="97" x="16" y="371.7856">usefulnesscb</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="11" x="117" y="371.7856">←</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="132" y="371.7856">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="74" x="16" y="386.9185">cbparams</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="11" x="94" y="386.9185">←</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="109" y="386.9185">NULL</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="10" x2="20.5" y1="397.5508" y2="397.5508"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="249" x="24.5" y="401.5513">URT_CFG_PUBSUB_PROFILING == true</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="277.5" x2="288" y1="397.5508" y2="397.5508"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="84" x="16" y="417.1841">minLatency</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="52" x="104" y="417.1841">← 0xF..F</text><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="88" x="16" y="432.3169">maxLatency</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="108" y="432.3169">← 0</text><rect fill="#FEFECE" filter="url(#f15ks931pbyyq5)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="131" x="308" y="312.4688"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="111" x="318" y="333.6074">initialize members</text><path d="M160.5,458.8164 L160.5,483.9492 A0,0 0 0 0 160.5,483.9492 L342.5,483.9492 A0,0 0 0 0 342.5,483.9492 L342.5,476.8164 L362.5,471.3828 L342.5,468.8164 L342.5,468.8164 L332.5,458.8164 L160.5,458.8164 A0,0 0 0 0 160.5,458.8164 " fill="#FBFB77" filter="url(#f15ks931pbyyq5)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M332.5,458.8164 L332.5,468.8164 L342.5,468.8164 L332.5,458.8164 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="49" x="166.5" y="475.8833">Returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="104" x="219.5" y="475.8833">URT_STATUS_OK</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="323.5" y="475.8833">.</text><ellipse cx="373.5" cy="471.3828" fill="#FFFFFF" filter="url(#f15ks931pbyyq5)" rx="11" ry="11" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="373.5" cy="471.3828" fill="#000000" rx="6" ry="6" style="stroke: #7F7F7F; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="373.5" x2="373.5" y1="168.5234" y2="188.5234"/><polygon fill="#A80036" points="369.5,178.5234,373.5,188.5234,377.5,178.5234,373.5,182.5234" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="373.5" x2="373.5" y1="208.5234" y2="312.4688"/><polygon fill="#A80036" points="369.5,302.4688,373.5,312.4688,377.5,302.4688,373.5,306.4688" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="373.5" x2="373.5" y1="346.4375" y2="460.3828"/><polygon fill="#A80036" points="369.5,450.3828,373.5,460.3828,377.5,450.3828,373.5,454.3828" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[0745453a98b4dfc33b42f23ddd6ecabe]
2
@startuml
3

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

    
6

    
7
note
8
  - - **subscriber** : urt_srtsubscriber_t* - -
9
  The SRT subscriber to initialize.
10
  Must not be ""NULL"".
11
  ====
12
  - - **return** : urt_status_t - -
13
  Always returns ""URT_STATUS_OK"".
14
endnote
15

    
16

    
17
start
18
:initialize members;
19
note
20
  - - urt_basesubscriber_t - -
21
  **topic** ← ""NULL""
22
  urtEventListenerInit(**evtListener**)
23
  **lastMessage** ← ""NULL""
24
  **lastMessageTime** ← 0
25
  .. URT_CFG_PUBSUB_PROFILING == true ..
26
  **sumLatencies** ← 0
27
  **numMessagesReceived** ← 0
28
  - - urt_srtsubscriber_t - -
29
  **usefulnesscb** ← ""NULL""
30
  **cbparams** ← ""NULL""
31
  .. URT_CFG_PUBSUB_PROFILING == true ..
32
  **minLatency** ← 0xF..F
33
  **maxLatency** ← 0
34
endnote
35
stop
36
note
37
  Returns ""URT_STATUS_OK"".
38
endnote
39

    
40

    
41
@enduml
42

    
43
PlantUML version 1.2020.00(Sat Jan 11 13:30:53 CET 2020)
44
(GPL source distribution)
45
Java Runtime: OpenJDK Runtime Environment
46
JVM: OpenJDK 64-Bit Server VM
47
Java Version: 11.0.6+10-post-Ubuntu-1ubuntu118.04.1
48
Operating System: Linux
49
Default Encoding: UTF-8
50
Language: en
51
Country: US
52
--></g></svg>