urtware / doc / activitydiagrams / subscriber / srtsubscriber / urtSrtSubscriberInit.svg @ 22ccef0f
History | View | Annotate | Download (12.973 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="478px" preserveAspectRatio="none" style="width:521px;height:478px;" version="1.1" viewBox="0 0 521 478" width="521px" zoomAndPan="magnify"><defs><filter height="300%" id="fo5v7x2mc15wf" 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="215.25" y="26.708">µRtWare</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="188" x="165.75" y="47.6611">urtSrtSubscriberInit()</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="0" x="262.75" y="68.6143"/><path d="M263.5,72.8594 L263.5,153.3906 L509.5,153.3906 L509.5,82.8594 L499.5,72.8594 L263.5,72.8594 " fill="#FBFB77" filter="url(#fo5v7x2mc15wf)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M499.5,72.8594 L499.5,82.8594 L509.5,82.8594 L499.5,72.8594 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="263.5" x2="274" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="278" y="89.4263"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="78" x="278" y="89.4263">subscriber</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="135" x="360" y="89.4263">: urt_srtsubscriber_t*</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="499" x2="509.5" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="197" x="269.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="269.5" y="120.1919">Must not be</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="349.5" y="120.1919">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="381.5" y="120.1919">.</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="263.5" x2="509.5" y1="128.2578" y2="128.2578"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="263.5" x2="509.5" y1="130.2578" y2="130.2578"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="263.5" x2="341" y1="140.8242" y2="140.8242"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="345" y="144.8247"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="45" x="345" y="144.8247">return</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="34" x="394" y="144.8247">: void</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="432" x2="509.5" y1="140.8242" y2="140.8242"/><ellipse cx="386.5" cy="183.3906" fill="#000000" filter="url(#fo5v7x2mc15wf)" rx="10" ry="10" style="stroke: none; stroke-width: 1.0;"/><path d="M10,203.3906 L10,425.25 A0,0 0 0 0 10,425.25 L301,425.25 A0,0 0 0 0 301,425.25 L301,318.3203 L321,314.3203 L301,310.3203 L301,213.3906 L291,203.3906 L10,203.3906 A0,0 0 0 0 10,203.3906 " fill="#FBFB77" filter="url(#fo5v7x2mc15wf)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M291,203.3906 L291,213.3906 L301,213.3906 L291,203.3906 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="10" x2="84.5" y1="215.957" y2="215.957"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="134" x="88.5" y="219.9575">urt_basesubscriber_t</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="226.5" x2="301" y1="215.957" y2="215.957"/><ellipse cx="21.5" cy="231.1563" fill="#000000" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 0.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="37" x="27" y="235.5903">topic</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="11" x="68" y="235.5903">←</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="83" y="235.5903">NULL</text><ellipse cx="21.5" cy="246.2891" fill="#000000" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 0.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="129" x="27" y="250.7231">urtEventListenerInit(</text><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="82" x="156" y="250.7231">evtListener</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="5" x="238" y="250.7231">)</text><ellipse cx="21.5" cy="261.4219" fill="#000000" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 0.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="93" x="27" y="265.856">lastMessage</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="11" x="124" y="265.856">←</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="139" y="265.856">NULL</text><ellipse cx="21.5" cy="276.5547" fill="#000000" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 0.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="128" x="27" y="280.9888">lastMessageTime</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="159" y="280.9888">← 0</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="10" x2="27" y1="291.6211" y2="291.6211"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="249" x="31" y="295.6216">URT_CFG_PUBSUB_PROFILING == true</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="284" x2="301" y1="291.6211" y2="291.6211"/><ellipse cx="21.5" cy="306.8203" fill="#000000" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 0.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="101" x="27" y="311.2544">sumLatencies</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="132" y="311.2544">← 0</text><ellipse cx="21.5" cy="321.9531" fill="#000000" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 0.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="173" x="27" y="326.3872">numMessagesReceived</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="204" y="326.3872">← 0</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="10" x2="91.5" y1="337.0195" y2="337.0195"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="120" x="95.5" y="341.02">urt_srtsubscriber_t</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="219.5" x2="301" y1="337.0195" y2="337.0195"/><ellipse cx="21.5" cy="352.2188" fill="#000000" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 0.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="97" x="27" y="356.6528">usefulnesscb</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="11" x="128" y="356.6528">←</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="143" y="356.6528">NULL</text><ellipse cx="21.5" cy="367.3516" fill="#000000" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 0.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="74" x="27" y="371.7856">cbparams</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="11" x="105" y="371.7856">←</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="120" y="371.7856">NULL</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="10" x2="27" y1="382.418" y2="382.418"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="249" x="31" y="386.4185">URT_CFG_PUBSUB_PROFILING == true</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="284" x2="301" y1="382.418" y2="382.418"/><ellipse cx="21.5" cy="397.6172" fill="#000000" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 0.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="84" x="27" y="402.0513">minLatency</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="11" x="115" y="402.0513">←</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="144" x="130" y="402.0513">URT_DELAY_INFINITE</text><ellipse cx="21.5" cy="412.75" fill="#000000" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 0.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="88" x="27" y="417.1841">maxLatency</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="11" x="119" y="417.1841">←</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="152" x="134" y="417.1841">URT_DELAY_IMMEDIATE</text><rect fill="#FEFECE" filter="url(#fo5v7x2mc15wf)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="131" x="321" y="297.3359"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="111" x="331" y="318.4746">initialize members</text><ellipse cx="386.5" cy="456.25" fill="#FFFFFF" filter="url(#fo5v7x2mc15wf)" rx="11" ry="11" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="386.5" cy="456.25" fill="#000000" rx="6" ry="6" style="stroke: #7F7F7F; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="386.5" x2="386.5" y1="153.3906" y2="173.3906"/><polygon fill="#A80036" points="382.5,163.3906,386.5,173.3906,390.5,163.3906,386.5,167.3906" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="386.5" x2="386.5" y1="193.3906" y2="297.3359"/><polygon fill="#A80036" points="382.5,287.3359,386.5,297.3359,390.5,287.3359,386.5,291.3359" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="386.5" x2="386.5" y1="331.3047" y2="445.25"/><polygon fill="#A80036" points="382.5,435.25,386.5,445.25,390.5,435.25,386.5,439.25" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[d97a552859996775fdc7a6403d4c57e9] |
---|---|
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** : void - - |
13 |
endnote |
14 |
|
15 |
|
16 |
start |
17 |
:initialize members; |
18 |
note |
19 |
- - urt_basesubscriber_t - - |
20 |
* **topic** ← ""NULL"" |
21 |
* urtEventListenerInit(**evtListener**) |
22 |
* **lastMessage** ← ""NULL"" |
23 |
* **lastMessageTime** ← 0 |
24 |
.. URT_CFG_PUBSUB_PROFILING == true .. |
25 |
* **sumLatencies** ← 0 |
26 |
* **numMessagesReceived** ← 0 |
27 |
- - urt_srtsubscriber_t - - |
28 |
* **usefulnesscb** ← ""NULL"" |
29 |
* **cbparams** ← ""NULL"" |
30 |
.. URT_CFG_PUBSUB_PROFILING == true .. |
31 |
* **minLatency** ← ""URT_DELAY_INFINITE"" |
32 |
* **maxLatency** ← ""URT_DELAY_IMMEDIATE"" |
33 |
endnote |
34 |
stop |
35 |
|
36 |
|
37 |
@enduml |
38 |
|
39 |
PlantUML version 1.2020.00(Sat Jan 11 13:30:53 CET 2020) |
40 |
(GPL source distribution) |
41 |
Java Runtime: OpenJDK Runtime Environment |
42 |
JVM: OpenJDK 64-Bit Server VM |
43 |
Java Version: 11.0.7+10-post-Ubuntu-2ubuntu218.04 |
44 |
Operating System: Linux |
45 |
Default Encoding: UTF-8 |
46 |
Language: en |
47 |
Country: US |
48 |
--></g></svg> |