Statistics
| Branch: | Revision:

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

History | View | Annotate | Download (16.124 KB)

1 ee83a495 Thomas Schöpping
<?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="583px" preserveAspectRatio="none" style="width:781px;height:583px;" version="1.1" viewBox="0 0 781 583" width="781px" zoomAndPan="magnify"><defs><filter height="300%" id="f14poi4zpuvyki" 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="345" y="26.708">µRtWare</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="266" x="256.5" y="47.6611">urtSrtSubscriberUnsubscribe()</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="0" x="392.5" y="68.6143"/><path d="M281,72.8594 L281,183.6563 L769,183.6563 L769,82.8594 L759,72.8594 L281,72.8594 " fill="#FBFB77" filter="url(#f14poi4zpuvyki)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M759,72.8594 L759,82.8594 L769,82.8594 L759,72.8594 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="281" x2="412.5" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="416.5" y="89.4263"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="78" x="416.5" y="89.4263">subscriber</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="135" x="498.5" y="89.4263">: urt_srtsubscriber_t*</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="637.5" x2="769" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="251" x="287" y="105.0591">The SRT subscriber to be unsubscribed.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="76" x="287" y="120.1919">Must not be</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="367" y="120.1919">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="399" y="120.1919">.</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="281" x2="769" y1="128.2578" y2="128.2578"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="281" x2="769" y1="130.2578" y2="130.2578"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="281" x2="454" y1="140.8242" y2="140.8242"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="458" y="144.8247"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="45" x="458" y="144.8247">return</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="85" x="507" y="144.8247">: urt_status_t</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="596" x2="769" y1="140.8242" y2="140.8242"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="49" x="287" y="160.4575">Returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="104" x="340" y="160.4575">URT_STATUS_OK</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="68" x="448" y="160.4575">on sucess.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="49" x="287" y="175.5903">Returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="128" x="340" y="175.5903">URT_STATUS_ERROR</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="282" x="472" y="175.5903">if the subscriber is not associated to a topic.</text><ellipse cx="525" cy="213.6563" fill="#000000" filter="url(#f14poi4zpuvyki)" rx="10" ry="10" style="stroke: none; stroke-width: 1.0;"/><polygon fill="#FEFECE" filter="url(#f14poi4zpuvyki)" points="462.5,243.6563,587.5,243.6563,599.5,255.6563,587.5,267.6563,462.5,267.6563,450.5,255.6563,462.5,243.6563" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="125" x="462.5" y="259.4644">Associated to a topic?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="430.5" y="253.062">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="599.5" y="253.062">no</text><rect fill="#FEFECE" filter="url(#f14poi4zpuvyki)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="124" x="303.5" y="277.6563"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="104" x="313.5" y="298.7949">unregister event</text><path d="M10,321.625 L10,528.3516 A0,0 0 0 0 10,528.3516 L288,528.3516 A0,0 0 0 0 288,528.3516 L288,428.9883 L308,424.9883 L288,420.9883 L288,331.625 L278,321.625 L10,321.625 A0,0 0 0 0 10,321.625 " fill="#FBFB77" filter="url(#f14poi4zpuvyki)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M278,321.625 L278,331.625 L288,331.625 L278,321.625 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="10" x2="78" y1="334.1914" y2="334.1914"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="134" x="82" y="338.1919">urt_basesubscriber_t</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="220" x2="288" y1="334.1914" y2="334.1914"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="37" x="16" y="353.8247">topic</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="11" x="57" y="353.8247">←</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="72" y="353.8247">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="93" x="16" y="368.9575">lastMessage</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="11" x="113" y="368.9575">←</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="128" y="368.9575">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="128" x="16" y="384.0903">lastMessageTime</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="148" y="384.0903">← 0</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="10" x2="20.5" y1="394.7227" y2="394.7227"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="249" x="24.5" y="398.7231">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="394.7227" y2="394.7227"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="101" x="16" y="414.356">sumLatencies</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="121" y="414.356">← 0</text><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="173" x="16" y="429.4888">numMessagesReceived</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="193" y="429.4888">← 0</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="10" x2="85" y1="440.1211" y2="440.1211"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="120" x="89" y="444.1216">urt_srtsubscriber_t</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="213" x2="288" y1="440.1211" y2="440.1211"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="97" x="16" y="459.7544">usefulnesscb</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="11" x="117" y="459.7544">←</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="132" y="459.7544">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="74" x="16" y="474.8872">cbparams</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="11" x="94" y="474.8872">←</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="109" y="474.8872">NULL</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="10" x2="20.5" y1="485.5195" y2="485.5195"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="249" x="24.5" y="489.52">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="485.5195" y2="485.5195"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="84" x="16" y="505.1528">minLatency</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="52" x="104" y="505.1528">← 0xF..F</text><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="88" x="16" y="520.2856">maxLatency</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="108" y="520.2856">← 0</text><rect fill="#FEFECE" filter="url(#f14poi4zpuvyki)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="115" x="308" y="408.0039"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="95" x="318" y="429.1426">reset members</text><path d="M152.5,546.7852 L152.5,571.918 A0,0 0 0 0 152.5,571.918 L334.5,571.918 A0,0 0 0 0 334.5,571.918 L334.5,564.7852 L354.5,559.3516 L334.5,556.7852 L334.5,556.7852 L324.5,546.7852 L152.5,546.7852 A0,0 0 0 0 152.5,546.7852 " fill="#FBFB77" filter="url(#f14poi4zpuvyki)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M324.5,546.7852 L324.5,556.7852 L334.5,556.7852 L324.5,546.7852 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="49" x="158.5" y="563.8521">Returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="104" x="211.5" y="563.8521">URT_STATUS_OK</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="315.5" y="563.8521">.</text><ellipse cx="365.5" cy="559.3516" fill="#FFFFFF" filter="url(#f14poi4zpuvyki)" rx="11" ry="11" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="365.5" cy="559.3516" fill="#000000" rx="6" ry="6" style="stroke: #7F7F7F; stroke-width: 1.0;"/><path d="M447.5,277.6563 L447.5,302.7891 A0,0 0 0 0 447.5,302.7891 L653.5,302.7891 A0,0 0 0 0 653.5,302.7891 L653.5,295.6563 L673.5,290.2227 L653.5,287.6563 L653.5,287.6563 L643.5,277.6563 L447.5,277.6563 A0,0 0 0 0 447.5,277.6563 " fill="#FBFB77" filter="url(#f14poi4zpuvyki)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M643.5,277.6563 L643.5,287.6563 L653.5,287.6563 L643.5,277.6563 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="49" x="453.5" y="294.7231">Returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="128" x="506.5" y="294.7231">URT_STATUS_ERROR</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="634.5" y="294.7231">.</text><ellipse cx="684.5" cy="290.2227" fill="#FFFFFF" filter="url(#f14poi4zpuvyki)" rx="11" ry="11" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="684.5" cy="290.2227" fill="#000000" rx="6" ry="6" style="stroke: #7F7F7F; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="525" x2="525" y1="183.6563" y2="203.6563"/><polygon fill="#A80036" points="521,193.6563,525,203.6563,529,193.6563,525,197.6563" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="365.5" x2="365.5" y1="311.625" y2="408.0039"/><polygon fill="#A80036" points="361.5,398.0039,365.5,408.0039,369.5,398.0039,365.5,402.0039" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="365.5" x2="365.5" y1="441.9727" y2="548.3516"/><polygon fill="#A80036" points="361.5,538.3516,365.5,548.3516,369.5,538.3516,365.5,542.3516" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="450.5" x2="365.5" y1="255.6563" y2="255.6563"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="365.5" x2="365.5" y1="255.6563" y2="277.6563"/><polygon fill="#A80036" points="361.5,267.6563,365.5,277.6563,369.5,267.6563,365.5,271.6563" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="599.5" x2="684.5" y1="255.6563" y2="255.6563"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="684.5" x2="684.5" y1="255.6563" y2="279.2227"/><polygon fill="#A80036" points="680.5,269.2227,684.5,279.2227,688.5,269.2227,684.5,273.2227" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="525" x2="525" y1="223.6563" y2="243.6563"/><polygon fill="#A80036" points="521,233.6563,525,243.6563,529,233.6563,525,237.6563" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[81fdee88b368d86a548b42373ff2df74]
2
@startuml
3
4
title **µRtWare**\nurtSrtSubscriberUnsubscribe()\n
5
6
7
note
8
  - - **subscriber** : urt_srtsubscriber_t* - -
9
  The SRT subscriber to be unsubscribed.
10
  Must not be ""NULL"".
11
  ====
12
  - - **return** : urt_status_t - -
13
  Returns ""URT_STATUS_OK"" on sucess.
14
  Returns ""URT_STATUS_ERROR"" if the subscriber is not associated to a topic.
15
endnote
16
17
18
start
19
if (Associated to a topic?) then (yes)
20
  :unregister event;
21
  :reset members;
22
  note
23
    - - urt_basesubscriber_t - -
24
    **topic** ← ""NULL""
25
    **lastMessage** ← ""NULL""
26
    **lastMessageTime** ← 0
27
    .. URT_CFG_PUBSUB_PROFILING == true ..
28
    **sumLatencies** ← 0
29
    **numMessagesReceived** ← 0
30
    - - urt_srtsubscriber_t - -
31
    **usefulnesscb** ← ""NULL""
32
    **cbparams** ← ""NULL""
33
    .. URT_CFG_PUBSUB_PROFILING == true ..
34
    **minLatency** ← 0xF..F
35
    **maxLatency** ← 0
36
  endnote
37
  stop
38
  note
39
    Returns ""URT_STATUS_OK"".
40
  endnote
41
else (no)
42
  stop
43
  note
44
    Returns ""URT_STATUS_ERROR"".
45
  endnote
46
endif
47
48
49
@enduml
50
51
PlantUML version 1.2020.00(Sat Jan 11 13:30:53 CET 2020)
52
(GPL source distribution)
53
Java Runtime: OpenJDK Runtime Environment
54
JVM: OpenJDK 64-Bit Server VM
55
Java Version: 11.0.6+10-post-Ubuntu-1ubuntu118.04.1
56
Operating System: Linux
57
Default Encoding: UTF-8
58
Language: en
59
Country: US
60
--></g></svg>