Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 7c0c66d6521a2c8efa0ef6bf03291d7f > files > 446

jrtplib-devel-3.7.1-7.fc12.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>jrtplib: src/rtcppacketbuilder.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="jrtplib.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="dir_e5298977290e638844c8018a73ab0caf.html">src</a>
  </div>
</div>
<div class="contents">
<h1>rtcppacketbuilder.h</h1><a href="rtcppacketbuilder_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"></span>
<a name="l00003"></a>00003 <span class="comment">  This file is a part of JRTPLIB</span>
<a name="l00004"></a>00004 <span class="comment">  Copyright (c) 1999-2007 Jori Liesenborgs</span>
<a name="l00005"></a>00005 <span class="comment"></span>
<a name="l00006"></a>00006 <span class="comment">  Contact: jori.liesenborgs@gmail.com</span>
<a name="l00007"></a>00007 <span class="comment"></span>
<a name="l00008"></a>00008 <span class="comment">  This library was developed at the "Expertisecentrum Digitale Media"</span>
<a name="l00009"></a>00009 <span class="comment">  (http://www.edm.uhasselt.be), a research center of the Hasselt University</span>
<a name="l00010"></a>00010 <span class="comment">  (http://www.uhasselt.be). The library is based upon work done for </span>
<a name="l00011"></a>00011 <span class="comment">  my thesis at the School for Knowledge Technology (Belgium/The Netherlands).</span>
<a name="l00012"></a>00012 <span class="comment"></span>
<a name="l00013"></a>00013 <span class="comment">  Permission is hereby granted, free of charge, to any person obtaining a</span>
<a name="l00014"></a>00014 <span class="comment">  copy of this software and associated documentation files (the "Software"),</span>
<a name="l00015"></a>00015 <span class="comment">  to deal in the Software without restriction, including without limitation</span>
<a name="l00016"></a>00016 <span class="comment">  the rights to use, copy, modify, merge, publish, distribute, sublicense,</span>
<a name="l00017"></a>00017 <span class="comment">  and/or sell copies of the Software, and to permit persons to whom the</span>
<a name="l00018"></a>00018 <span class="comment">  Software is furnished to do so, subject to the following conditions:</span>
<a name="l00019"></a>00019 <span class="comment"></span>
<a name="l00020"></a>00020 <span class="comment">  The above copyright notice and this permission notice shall be included</span>
<a name="l00021"></a>00021 <span class="comment">  in all copies or substantial portions of the Software.</span>
<a name="l00022"></a>00022 <span class="comment"></span>
<a name="l00023"></a>00023 <span class="comment">  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS</span>
<a name="l00024"></a>00024 <span class="comment">  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span>
<a name="l00025"></a>00025 <span class="comment">  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL</span>
<a name="l00026"></a>00026 <span class="comment">  THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span>
<a name="l00027"></a>00027 <span class="comment">  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING</span>
<a name="l00028"></a>00028 <span class="comment">  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS</span>
<a name="l00029"></a>00029 <span class="comment">  IN THE SOFTWARE.</span>
<a name="l00030"></a>00030 <span class="comment"></span>
<a name="l00031"></a>00031 <span class="comment">*/</span>
<a name="l00032"></a>00032 
<a name="l00037"></a>00037 <span class="preprocessor">#ifndef RTCPPACKETBUILDER_H</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span>
<a name="l00039"></a>00039 <span class="preprocessor">#define RTCPPACKETBUILDER_H</span>
<a name="l00040"></a>00040 <span class="preprocessor"></span>
<a name="l00041"></a>00041 <span class="preprocessor">#include "rtpconfig.h"</span>
<a name="l00042"></a>00042 <span class="preprocessor">#include "rtptypes.h"</span>
<a name="l00043"></a>00043 <span class="preprocessor">#include "<a class="code" href="rtperrors_8h.html">rtperrors.h</a>"</span>
<a name="l00044"></a>00044 <span class="preprocessor">#include "<a class="code" href="rtcpsdesinfo_8h.html">rtcpsdesinfo.h</a>"</span>
<a name="l00045"></a>00045 <span class="preprocessor">#include "<a class="code" href="rtptimeutilities_8h.html">rtptimeutilities.h</a>"</span>
<a name="l00046"></a>00046 <span class="preprocessor">#include "<a class="code" href="rtpmemoryobject_8h.html">rtpmemoryobject.h</a>"</span>
<a name="l00047"></a>00047 
<a name="l00048"></a>00048 <span class="keyword">class </span><a class="code" href="classRTPSources.html" title="Represents a table in which information about the participating sources is kept.">RTPSources</a>;
<a name="l00049"></a>00049 <span class="keyword">class </span><a class="code" href="classRTPPacketBuilder.html" title="This class can be used to build RTP packets and is a bit more high-level than the...">RTPPacketBuilder</a>;
<a name="l00050"></a>00050 <span class="keyword">class </span><a class="code" href="classRTCPScheduler.html" title="This class determines when RTCP compound packets should be sent.">RTCPScheduler</a>;
<a name="l00051"></a>00051 <span class="keyword">class </span><a class="code" href="classRTCPCompoundPacket.html" title="Represents an RTCP compound packet.">RTCPCompoundPacket</a>;
<a name="l00052"></a>00052 <span class="keyword">class </span><a class="code" href="classRTCPCompoundPacketBuilder.html" title="This class can be used to construct an RTCP compound packet.">RTCPCompoundPacketBuilder</a>;
<a name="l00053"></a>00053 
<a name="l00060"></a><a class="code" href="classRTCPPacketBuilder.html">00060</a> <span class="keyword">class </span><a class="code" href="classRTCPPacketBuilder.html" title="This class can be used to build RTCP compound packets, on a higher level than the...">RTCPPacketBuilder</a> : <span class="keyword">public</span> RTPMemoryObject
<a name="l00061"></a>00061 {
<a name="l00062"></a>00062 <span class="keyword">public</span>:
<a name="l00068"></a>00068         <a class="code" href="classRTCPPacketBuilder.html#78355c2b1f23b75140aba28617b14226" title="Creates an RTCPPacketBuilder instance.">RTCPPacketBuilder</a>(<a class="code" href="classRTPSources.html" title="Represents a table in which information about the participating sources is kept.">RTPSources</a> &amp;sources,<a class="code" href="classRTPPacketBuilder.html" title="This class can be used to build RTP packets and is a bit more high-level than the...">RTPPacketBuilder</a> &amp;rtppackbuilder, <a class="code" href="classRTPMemoryManager.html" title="A memory manager.">RTPMemoryManager</a> *mgr = 0);
<a name="l00069"></a>00069         ~<a class="code" href="classRTCPPacketBuilder.html" title="This class can be used to build RTCP compound packets, on a higher level than the...">RTCPPacketBuilder</a>();
<a name="l00070"></a>00070 
<a name="l00077"></a>00077         <span class="keywordtype">int</span> <a class="code" href="classRTCPPacketBuilder.html#7a2c0c06a77fffcaf822f251e760e6da" title="Initializes the builder.">Init</a>(<span class="keywordtype">size_t</span> maxpacksize,<span class="keywordtype">double</span> timestampunit,<span class="keyword">const</span> <span class="keywordtype">void</span> *cname,<span class="keywordtype">size_t</span> cnamelen);
<a name="l00078"></a>00078 
<a name="l00080"></a>00080         <span class="keywordtype">void</span> <a class="code" href="classRTCPPacketBuilder.html#4a861aae8f6864a500038f0e43586f36" title="Cleans up the builder.">Destroy</a>();
<a name="l00081"></a>00081 
<a name="l00087"></a><a class="code" href="classRTCPPacketBuilder.html#fe5958d7c1ad50e06568893747478f56">00087</a>         <span class="keywordtype">int</span> <a class="code" href="classRTCPPacketBuilder.html#fe5958d7c1ad50e06568893747478f56" title="Sets the timestamp unit to be used to tsunit.">SetTimestampUnit</a>(<span class="keywordtype">double</span> tsunit)                                             { <span class="keywordflow">if</span> (!init) <span class="keywordflow">return</span> ERR_RTP_RTCPPACKETBUILDER_NOTINIT; <span class="keywordflow">if</span> (tsunit &lt; 0) <span class="keywordflow">return</span> ERR_RTP_RTCPPACKETBUILDER_ILLEGALTIMESTAMPUNIT; timestampunit = tsunit; <span class="keywordflow">return</span> 0; }
<a name="l00088"></a>00088 
<a name="l00090"></a><a class="code" href="classRTCPPacketBuilder.html#9b50b03cccc7b61901690ce1b2f3ee24">00090</a>         <span class="keywordtype">int</span> <a class="code" href="classRTCPPacketBuilder.html#9b50b03cccc7b61901690ce1b2f3ee24" title="Sets the maximum size allowed size of an RTCP compound packet to maxpacksize.">SetMaximumPacketSize</a>(<span class="keywordtype">size_t</span> maxpacksize)                                    { <span class="keywordflow">if</span> (!init) <span class="keywordflow">return</span> ERR_RTP_RTCPPACKETBUILDER_NOTINIT; <span class="keywordflow">if</span> (maxpacksize &lt; RTP_MINPACKETSIZE) <span class="keywordflow">return</span> ERR_RTP_RTCPPACKETBUILDER_ILLEGALMAXPACKSIZE; maxpacketsize = maxpacksize; <span class="keywordflow">return</span> 0; }
<a name="l00091"></a>00091         
<a name="l00098"></a><a class="code" href="classRTCPPacketBuilder.html#9edd4743ac1dae6c9c5ed450980f0bbc">00098</a>         <span class="keywordtype">int</span> <a class="code" href="classRTCPPacketBuilder.html#9edd4743ac1dae6c9c5ed450980f0bbc" title="This function allows you to inform RTCP packet builder about the delay between sampling...">SetPreTransmissionDelay</a>(<span class="keyword">const</span> <a class="code" href="classRTPTime.html" title="This class is used to specify wallclock time, delay intervals etc.">RTPTime</a> &amp;delay)                               { <span class="keywordflow">if</span> (!init) <span class="keywordflow">return</span> ERR_RTP_RTCPPACKETBUILDER_NOTINIT; transmissiondelay = delay; <span class="keywordflow">return</span> 0; }
<a name="l00099"></a>00099         
<a name="l00101"></a>00101         <span class="keywordtype">int</span> <a class="code" href="classRTCPPacketBuilder.html#2a7683fb2f660f063b5a2958d8bf3d71" title="Builds the next RTCP compound packet which should be sent and stores it in pack.">BuildNextPacket</a>(<a class="code" href="classRTCPCompoundPacket.html" title="Represents an RTCP compound packet.">RTCPCompoundPacket</a> **pack);
<a name="l00102"></a>00102 
<a name="l00108"></a>00108         <span class="keywordtype">int</span> <a class="code" href="classRTCPPacketBuilder.html#1e34e48a2bf0a768dc002a39fe318260" title="Builds a BYE packet with reason for leaving specified by reason and length reasonlength...">BuildBYEPacket</a>(<a class="code" href="classRTCPCompoundPacket.html" title="Represents an RTCP compound packet.">RTCPCompoundPacket</a> **pack,<span class="keyword">const</span> <span class="keywordtype">void</span> *reason,<span class="keywordtype">size_t</span> reasonlength,<span class="keywordtype">bool</span> useSRifpossible = <span class="keyword">true</span>);
<a name="l00109"></a>00109 
<a name="l00116"></a><a class="code" href="classRTCPPacketBuilder.html#0c3558e1ed16f5c4b67e521481358618">00116</a>         <span class="keywordtype">void</span> <a class="code" href="classRTCPPacketBuilder.html#0c3558e1ed16f5c4b67e521481358618" title="Sets the RTCP interval for the SDES name item.">SetNameInterval</a>(<span class="keywordtype">int</span> count)                                                 { <span class="keywordflow">if</span> (!init) <span class="keywordflow">return</span>; interval_name = count; }
<a name="l00117"></a>00117         
<a name="l00124"></a><a class="code" href="classRTCPPacketBuilder.html#01e7495c7419af26f2c820b5a5709a0e">00124</a>         <span class="keywordtype">void</span> <a class="code" href="classRTCPPacketBuilder.html#01e7495c7419af26f2c820b5a5709a0e" title="Sets the RTCP interval for the SDES e-mail item.">SetEMailInterval</a>(<span class="keywordtype">int</span> count)                                                { <span class="keywordflow">if</span> (!init) <span class="keywordflow">return</span>; interval_email = count; }
<a name="l00125"></a>00125         
<a name="l00132"></a><a class="code" href="classRTCPPacketBuilder.html#69788907d417b524732188c55f8ffb4b">00132</a>         <span class="keywordtype">void</span> <a class="code" href="classRTCPPacketBuilder.html#69788907d417b524732188c55f8ffb4b" title="Sets the RTCP interval for the SDES location item.">SetLocationInterval</a>(<span class="keywordtype">int</span> count)                                             { <span class="keywordflow">if</span> (!init) <span class="keywordflow">return</span>; interval_location = count; }
<a name="l00133"></a>00133 
<a name="l00140"></a><a class="code" href="classRTCPPacketBuilder.html#a312fb75d5fa3f32288f044b24b189a2">00140</a>         <span class="keywordtype">void</span> <a class="code" href="classRTCPPacketBuilder.html#a312fb75d5fa3f32288f044b24b189a2" title="Sets the RTCP interval for the SDES phone item.">SetPhoneInterval</a>(<span class="keywordtype">int</span> count)                                                { <span class="keywordflow">if</span> (!init) <span class="keywordflow">return</span>; interval_phone = count; }
<a name="l00141"></a>00141 
<a name="l00148"></a><a class="code" href="classRTCPPacketBuilder.html#064f49fe2246744e88b71a255052fe05">00148</a>         <span class="keywordtype">void</span> <a class="code" href="classRTCPPacketBuilder.html#064f49fe2246744e88b71a255052fe05" title="Sets the RTCP interval for the SDES tool item.">SetToolInterval</a>(<span class="keywordtype">int</span> count)                                                 { <span class="keywordflow">if</span> (!init) <span class="keywordflow">return</span>; interval_tool = count; }
<a name="l00149"></a>00149         
<a name="l00156"></a><a class="code" href="classRTCPPacketBuilder.html#999f2abf154d767bff38e4cb53e12000">00156</a>         <span class="keywordtype">void</span> <a class="code" href="classRTCPPacketBuilder.html#999f2abf154d767bff38e4cb53e12000" title="Sets the RTCP interval for the SDES note item.">SetNoteInterval</a>(<span class="keywordtype">int</span> count)                                                 { <span class="keywordflow">if</span> (!init) <span class="keywordflow">return</span>; interval_note = count; }
<a name="l00157"></a>00157 
<a name="l00159"></a><a class="code" href="classRTCPPacketBuilder.html#ff96bc9bb997c9ff0b4bd87a277424dc">00159</a>         <span class="keywordtype">int</span> <a class="code" href="classRTCPPacketBuilder.html#ff96bc9bb997c9ff0b4bd87a277424dc" title="Sets the SDES name item for the local participant to the value s with length len...">SetLocalName</a>(<span class="keyword">const</span> <span class="keywordtype">void</span> *s,<span class="keywordtype">size_t</span> len)                                      { <span class="keywordflow">if</span> (!init) <span class="keywordflow">return</span> ERR_RTP_RTCPPACKETBUILDER_NOTINIT; <span class="keywordflow">return</span> ownsdesinfo.SetName((<span class="keyword">const</span> uint8_t *)s,len); }
<a name="l00160"></a>00160         
<a name="l00162"></a><a class="code" href="classRTCPPacketBuilder.html#8d961c2038c3d9fbc82c8c0b970b142f">00162</a>         <span class="keywordtype">int</span> <a class="code" href="classRTCPPacketBuilder.html#8d961c2038c3d9fbc82c8c0b970b142f" title="Sets the SDES e-mail item for the local participant to the value s with length len...">SetLocalEMail</a>(<span class="keyword">const</span> <span class="keywordtype">void</span> *s,<span class="keywordtype">size_t</span> len)                                     { <span class="keywordflow">if</span> (!init) <span class="keywordflow">return</span> ERR_RTP_RTCPPACKETBUILDER_NOTINIT; <span class="keywordflow">return</span> ownsdesinfo.SetEMail((<span class="keyword">const</span> uint8_t *)s,len); }
<a name="l00163"></a>00163         
<a name="l00165"></a><a class="code" href="classRTCPPacketBuilder.html#62c3601b1c121197a46532e64bec1066">00165</a>         <span class="keywordtype">int</span> <a class="code" href="classRTCPPacketBuilder.html#62c3601b1c121197a46532e64bec1066" title="Sets the SDES location item for the local participant to the value s with length...">SetLocalLocation</a>(<span class="keyword">const</span> <span class="keywordtype">void</span> *s,<span class="keywordtype">size_t</span> len)                                  { <span class="keywordflow">if</span> (!init) <span class="keywordflow">return</span> ERR_RTP_RTCPPACKETBUILDER_NOTINIT; <span class="keywordflow">return</span> ownsdesinfo.SetLocation((<span class="keyword">const</span> uint8_t *)s,len); }
<a name="l00166"></a>00166         
<a name="l00168"></a><a class="code" href="classRTCPPacketBuilder.html#e0af3cd2bcaac6a503de1fca6413e59f">00168</a>         <span class="keywordtype">int</span> <a class="code" href="classRTCPPacketBuilder.html#e0af3cd2bcaac6a503de1fca6413e59f" title="Sets the SDES phone item for the local participant to the value s with length len...">SetLocalPhone</a>(<span class="keyword">const</span> <span class="keywordtype">void</span> *s,<span class="keywordtype">size_t</span> len)                                     { <span class="keywordflow">if</span> (!init) <span class="keywordflow">return</span> ERR_RTP_RTCPPACKETBUILDER_NOTINIT; <span class="keywordflow">return</span> ownsdesinfo.SetPhone((<span class="keyword">const</span> uint8_t *)s,len); }
<a name="l00169"></a>00169         
<a name="l00171"></a><a class="code" href="classRTCPPacketBuilder.html#b67fbb85c8623fdbae431a1e37e54c61">00171</a>         <span class="keywordtype">int</span> <a class="code" href="classRTCPPacketBuilder.html#b67fbb85c8623fdbae431a1e37e54c61" title="Sets the SDES tool item for the local participant to the value s with length len...">SetLocalTool</a>(<span class="keyword">const</span> <span class="keywordtype">void</span> *s,<span class="keywordtype">size_t</span> len)                                      { <span class="keywordflow">if</span> (!init) <span class="keywordflow">return</span> ERR_RTP_RTCPPACKETBUILDER_NOTINIT; <span class="keywordflow">return</span> ownsdesinfo.SetTool((<span class="keyword">const</span> uint8_t *)s,len); }
<a name="l00172"></a>00172         
<a name="l00174"></a><a class="code" href="classRTCPPacketBuilder.html#4c24365b3c2736dd5d638f3dcc7d5ae4">00174</a>         <span class="keywordtype">int</span> <a class="code" href="classRTCPPacketBuilder.html#4c24365b3c2736dd5d638f3dcc7d5ae4" title="Sets the SDES note item for the local participant to the value s with length len...">SetLocalNote</a>(<span class="keyword">const</span> <span class="keywordtype">void</span> *s,<span class="keywordtype">size_t</span> len)                                      { <span class="keywordflow">if</span> (!init) <span class="keywordflow">return</span> ERR_RTP_RTCPPACKETBUILDER_NOTINIT; <span class="keywordflow">return</span> ownsdesinfo.SetNote((<span class="keyword">const</span> uint8_t *)s,len); }
<a name="l00175"></a>00175 
<a name="l00177"></a><a class="code" href="classRTCPPacketBuilder.html#fe0441644e981f1548012ff80a1bfcaa">00177</a>         uint8_t *<a class="code" href="classRTCPPacketBuilder.html#fe0441644e981f1548012ff80a1bfcaa" title="Returns the own CNAME item with length len.">GetLocalCNAME</a>(<span class="keywordtype">size_t</span> *len)<span class="keyword"> const                                       </span>{ <span class="keywordflow">if</span> (!init) <span class="keywordflow">return</span> 0; <span class="keywordflow">return</span> ownsdesinfo.GetCNAME(len); }
<a name="l00178"></a>00178 <span class="keyword">private</span>:
<a name="l00179"></a>00179         <span class="keywordtype">void</span> ClearAllSourceFlags();
<a name="l00180"></a>00180         <span class="keywordtype">int</span> FillInReportBlocks(<a class="code" href="classRTCPCompoundPacketBuilder.html" title="This class can be used to construct an RTCP compound packet.">RTCPCompoundPacketBuilder</a> *pack,<span class="keyword">const</span> <a class="code" href="classRTPTime.html" title="This class is used to specify wallclock time, delay intervals etc.">RTPTime</a> &amp;curtime,<span class="keywordtype">int</span> maxcount,<span class="keywordtype">bool</span> *full,<span class="keywordtype">int</span> *added,<span class="keywordtype">int</span> *skipped,<span class="keywordtype">bool</span> *atendoflist);
<a name="l00181"></a>00181         <span class="keywordtype">int</span> FillInSDES(<a class="code" href="classRTCPCompoundPacketBuilder.html" title="This class can be used to construct an RTCP compound packet.">RTCPCompoundPacketBuilder</a> *pack,<span class="keywordtype">bool</span> *full,<span class="keywordtype">bool</span> *processedall,<span class="keywordtype">int</span> *added);
<a name="l00182"></a>00182         <span class="keywordtype">void</span> ClearAllSDESFlags();
<a name="l00183"></a>00183         
<a name="l00184"></a>00184         <a class="code" href="classRTPSources.html" title="Represents a table in which information about the participating sources is kept.">RTPSources</a> &amp;sources;
<a name="l00185"></a>00185         <a class="code" href="classRTPPacketBuilder.html" title="This class can be used to build RTP packets and is a bit more high-level than the...">RTPPacketBuilder</a> &amp;rtppacketbuilder;
<a name="l00186"></a>00186         
<a name="l00187"></a>00187         <span class="keywordtype">bool</span> init;
<a name="l00188"></a>00188         <span class="keywordtype">size_t</span> maxpacketsize;
<a name="l00189"></a>00189         <span class="keywordtype">double</span> timestampunit;
<a name="l00190"></a>00190         <span class="keywordtype">bool</span> firstpacket;
<a name="l00191"></a>00191         <a class="code" href="classRTPTime.html" title="This class is used to specify wallclock time, delay intervals etc.">RTPTime</a> prevbuildtime,transmissiondelay;
<a name="l00192"></a>00192 
<a name="l00193"></a>00193         <span class="keyword">class </span>RTCPSDESInfoInternal : <span class="keyword">public</span> <a class="code" href="classRTCPSDESInfo.html" title="The class RTCPSDESInfo is a container for RTCP SDES information.">RTCPSDESInfo</a>
<a name="l00194"></a>00194         {
<a name="l00195"></a>00195         <span class="keyword">public</span>:
<a name="l00196"></a>00196                 RTCPSDESInfoInternal(<a class="code" href="classRTPMemoryManager.html" title="A memory manager.">RTPMemoryManager</a> *mgr) : <a class="code" href="classRTCPSDESInfo.html" title="The class RTCPSDESInfo is a container for RTCP SDES information.">RTCPSDESInfo</a>(mgr) { ClearFlags(); }
<a name="l00197"></a>00197                 <span class="keywordtype">void</span> ClearFlags()                       { pname = <span class="keyword">false</span>; pemail = <span class="keyword">false</span>; plocation = <span class="keyword">false</span>; pphone = <span class="keyword">false</span>; ptool = <span class="keyword">false</span>; pnote = <span class="keyword">false</span>; }
<a name="l00198"></a>00198                 <span class="keywordtype">bool</span> ProcessedName()<span class="keyword"> const              </span>{ <span class="keywordflow">return</span> pname; }
<a name="l00199"></a>00199                 <span class="keywordtype">bool</span> ProcessedEMail()<span class="keyword"> const             </span>{ <span class="keywordflow">return</span> pemail; }
<a name="l00200"></a>00200                 <span class="keywordtype">bool</span> ProcessedLocation()<span class="keyword"> const          </span>{ <span class="keywordflow">return</span> plocation; }
<a name="l00201"></a>00201                 <span class="keywordtype">bool</span> ProcessedPhone()<span class="keyword"> const             </span>{ <span class="keywordflow">return</span> pphone; }
<a name="l00202"></a>00202                 <span class="keywordtype">bool</span> ProcessedTool()<span class="keyword"> const              </span>{ <span class="keywordflow">return</span> ptool; }
<a name="l00203"></a>00203                 <span class="keywordtype">bool</span> ProcessedNote()<span class="keyword"> const              </span>{ <span class="keywordflow">return</span> pnote; }
<a name="l00204"></a>00204                 <span class="keywordtype">void</span> SetProcessedName(<span class="keywordtype">bool</span> v)           { pname = v; }
<a name="l00205"></a>00205                 <span class="keywordtype">void</span> SetProcessedEMail(<span class="keywordtype">bool</span> v)          { pemail = v; }
<a name="l00206"></a>00206                 <span class="keywordtype">void</span> SetProcessedLocation(<span class="keywordtype">bool</span> v)       { plocation  = v; }
<a name="l00207"></a>00207                 <span class="keywordtype">void</span> SetProcessedPhone(<span class="keywordtype">bool</span> v)          { pphone = v; }
<a name="l00208"></a>00208                 <span class="keywordtype">void</span> SetProcessedTool(<span class="keywordtype">bool</span> v)           { ptool = v; }
<a name="l00209"></a>00209                 <span class="keywordtype">void</span> SetProcessedNote(<span class="keywordtype">bool</span> v)           { pnote = v; }
<a name="l00210"></a>00210         <span class="keyword">private</span>:
<a name="l00211"></a>00211                 <span class="keywordtype">bool</span> pname,pemail,plocation,pphone,ptool,pnote;
<a name="l00212"></a>00212         };
<a name="l00213"></a>00213         
<a name="l00214"></a>00214         RTCPSDESInfoInternal ownsdesinfo;
<a name="l00215"></a>00215         <span class="keywordtype">int</span> interval_name,interval_email,interval_location;
<a name="l00216"></a>00216         <span class="keywordtype">int</span> interval_phone,interval_tool,interval_note;
<a name="l00217"></a>00217         <span class="keywordtype">bool</span> doname,doemail,doloc,dophone,dotool,donote;
<a name="l00218"></a>00218         <span class="keywordtype">bool</span> processingsdes;
<a name="l00219"></a>00219 
<a name="l00220"></a>00220         <span class="keywordtype">int</span> sdesbuildcount;
<a name="l00221"></a>00221 };
<a name="l00222"></a>00222 
<a name="l00223"></a>00223 <span class="preprocessor">#endif // RTCPPACKETBUILDER_H</span>
<a name="l00224"></a>00224 <span class="preprocessor"></span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Jul 26 09:42:07 2009 for jrtplib by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>