Sophie

Sophie

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

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/rtptransmitter.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>rtptransmitter.h</h1><a href="rtptransmitter_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 RTPTRANSMITTER_H</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span>
<a name="l00039"></a>00039 <span class="preprocessor">#define RTPTRANSMITTER_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="rtpmemoryobject_8h.html">rtpmemoryobject.h</a>"</span>
<a name="l00044"></a>00044 
<a name="l00045"></a>00045 <span class="keyword">class </span><a class="code" href="classRTPRawPacket.html" title="This class is used by the transmission component to store the incoming RTP and RTCP...">RTPRawPacket</a>;
<a name="l00046"></a>00046 <span class="keyword">class </span><a class="code" href="classRTPAddress.html" title="This class is an abstract class which is used to specify destinations, multicast...">RTPAddress</a>;
<a name="l00047"></a>00047 <span class="keyword">class </span><a class="code" href="classRTPTransmissionParams.html" title="Base class for transmission parameters.">RTPTransmissionParams</a>;
<a name="l00048"></a>00048 <span class="keyword">class </span><a class="code" href="classRTPTime.html" title="This class is used to specify wallclock time, delay intervals etc.">RTPTime</a>;
<a name="l00049"></a>00049 <span class="keyword">class </span><a class="code" href="classRTPTransmissionInfo.html" title="Base class for additional information about the transmitter.">RTPTransmissionInfo</a>;
<a name="l00050"></a>00050 
<a name="l00057"></a><a class="code" href="classRTPTransmitter.html">00057</a> <span class="keyword">class </span><a class="code" href="classRTPTransmitter.html" title="Abstract class from which actual transmission components should be derived.">RTPTransmitter</a> : <span class="keyword">public</span> RTPMemoryObject
<a name="l00058"></a>00058 {
<a name="l00059"></a>00059 <span class="keyword">public</span>:
<a name="l00065"></a><a class="code" href="classRTPTransmitter.html#00529bcf331e3d3dc57c4ebb476f1fd2">00065</a>         <span class="keyword">enum</span> <a class="code" href="classRTPTransmitter.html#00529bcf331e3d3dc57c4ebb476f1fd2" title="Used to identify a specific transmitter.">TransmissionProtocol</a> 
<a name="l00066"></a>00066         { 
<a name="l00067"></a><a class="code" href="classRTPTransmitter.html#00529bcf331e3d3dc57c4ebb476f1fd2430dce496268bd29e79f32fd91d576ff">00067</a>                 <a class="code" href="classRTPTransmitter.html#00529bcf331e3d3dc57c4ebb476f1fd2430dce496268bd29e79f32fd91d576ff" title="Specifies the internal UDP over IPv4 transmitter.">IPv4UDPProto</a>, 
<a name="l00068"></a><a class="code" href="classRTPTransmitter.html#00529bcf331e3d3dc57c4ebb476f1fd2842860772368b19de0c1de091df76f9f">00068</a>                 <a class="code" href="classRTPTransmitter.html#00529bcf331e3d3dc57c4ebb476f1fd2842860772368b19de0c1de091df76f9f" title="Specifies the internal UDP over IPv6 transmitter.">IPv6UDPProto</a>, 
<a name="l00069"></a><a class="code" href="classRTPTransmitter.html#00529bcf331e3d3dc57c4ebb476f1fd2f45e5ade219d16a0b8697d44c59eca4e">00069</a>                 <a class="code" href="classRTPTransmitter.html#00529bcf331e3d3dc57c4ebb476f1fd2f45e5ade219d16a0b8697d44c59eca4e" title="Specifies a user defined, external transmitter.">UserDefinedProto</a>  
<a name="l00070"></a>00070         };
<a name="l00071"></a>00071 
<a name="l00073"></a><a class="code" href="classRTPTransmitter.html#bae77e9adf52db77f5ea29757dfa6386">00073</a>         <span class="keyword">enum</span> <a class="code" href="classRTPTransmitter.html#bae77e9adf52db77f5ea29757dfa6386" title="Three kind of receive modes can be specified.">ReceiveMode</a> 
<a name="l00074"></a>00074         { 
<a name="l00075"></a><a class="code" href="classRTPTransmitter.html#bae77e9adf52db77f5ea29757dfa638632b43c3c1b447b9f5ad2ab8405379eef">00075</a>                 <a class="code" href="classRTPTransmitter.html#bae77e9adf52db77f5ea29757dfa638632b43c3c1b447b9f5ad2ab8405379eef" title="All incoming data is accepted, no matter where it originated from.">AcceptAll</a>, 
<a name="l00076"></a><a class="code" href="classRTPTransmitter.html#bae77e9adf52db77f5ea29757dfa6386c91e1201cb9620b2db7bfd0ecbd5abb3">00076</a>                 <a class="code" href="classRTPTransmitter.html#bae77e9adf52db77f5ea29757dfa6386c91e1201cb9620b2db7bfd0ecbd5abb3" title="Only data coming from specific sources will be accepted.">AcceptSome</a>, 
<a name="l00077"></a><a class="code" href="classRTPTransmitter.html#bae77e9adf52db77f5ea29757dfa638630e323318ddb3597a8d58f0a31b0fdbb">00077</a>                 <a class="code" href="classRTPTransmitter.html#bae77e9adf52db77f5ea29757dfa638630e323318ddb3597a8d58f0a31b0fdbb" title="All incoming data is accepted, except for data coming from a specific set of sources...">IgnoreSome</a> 
<a name="l00078"></a>00078         };
<a name="l00079"></a>00079 <span class="keyword">protected</span>:
<a name="l00081"></a><a class="code" href="classRTPTransmitter.html#4ffe998d7fa72d691fbedf685fe1997b">00081</a>         <a class="code" href="classRTPTransmitter.html#4ffe998d7fa72d691fbedf685fe1997b" title="Constructor in which you can specify a memory manager to use.">RTPTransmitter</a>(<a class="code" href="classRTPMemoryManager.html" title="A memory manager.">RTPMemoryManager</a> *mgr) : RTPMemoryObject(mgr)                                                                    { }
<a name="l00082"></a>00082 <span class="keyword">public</span>:
<a name="l00083"></a>00083         <span class="keyword">virtual</span> ~<a class="code" href="classRTPTransmitter.html" title="Abstract class from which actual transmission components should be derived.">RTPTransmitter</a>()                                                                                                       { }
<a name="l00084"></a>00084 
<a name="l00089"></a>00089         <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classRTPTransmitter.html#8c51729221ae8a27cd327598a5cff7a1" title="This function must be called before the transmission component can be used.">Init</a>(<span class="keywordtype">bool</span> threadsafe) = 0;
<a name="l00090"></a>00090 
<a name="l00099"></a>00099         <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classRTPTransmitter.html#32e7024c43447887422009e5d7ae928d" title="Prepares the component to be used.">Create</a>(<span class="keywordtype">size_t</span> maxpacksize,<span class="keyword">const</span> <a class="code" href="classRTPTransmissionParams.html" title="Base class for transmission parameters.">RTPTransmissionParams</a> *transparams) = 0;
<a name="l00100"></a>00100 
<a name="l00104"></a>00104         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classRTPTransmitter.html#b1b7a3f9ba045e4badcda10a9c274ccd" title="By calling this function, buffers are cleared and the component cannot be used anymore...">Destroy</a>() = 0;
<a name="l00105"></a>00105 
<a name="l00113"></a>00113         <span class="keyword">virtual</span> <a class="code" href="classRTPTransmissionInfo.html" title="Base class for additional information about the transmitter.">RTPTransmissionInfo</a> *<a class="code" href="classRTPTransmitter.html#c6e8e09ca732f76f4b7a531e592700e4" title="Returns additional information about the transmitter.">GetTransmissionInfo</a>() = 0;
<a name="l00114"></a>00114 
<a name="l00124"></a>00124         <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classRTPTransmitter.html#09e113ec309ffd7b28b0ef531355baac" title="Looks up the local host name.">GetLocalHostName</a>(uint8_t *buffer,<span class="keywordtype">size_t</span> *bufferlength) = 0;
<a name="l00125"></a>00125 
<a name="l00127"></a>00127         <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classRTPTransmitter.html#303b9ce5733c8279228b2dcac248f013" title="Returns true if the address specified by addr is one of the addresses of the transmitter...">ComesFromThisTransmitter</a>(<span class="keyword">const</span> <a class="code" href="classRTPAddress.html" title="This class is an abstract class which is used to specify destinations, multicast...">RTPAddress</a> *addr) = 0;
<a name="l00128"></a>00128 
<a name="l00131"></a>00131         <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code" href="classRTPTransmitter.html#d96879b560b05db868a4e66afff5712c" title="Returns the amount of bytes that will be added to the RTP packet by the underlying...">GetHeaderOverhead</a>() = 0;
<a name="l00132"></a>00132         
<a name="l00134"></a>00134         <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classRTPTransmitter.html#72963cd613bf7f54ce54811cd6f41e1d" title="Checks for incoming data and stores it.">Poll</a>() = 0;
<a name="l00135"></a>00135 
<a name="l00140"></a>00140         <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classRTPTransmitter.html#295b8b83135cbefa9d93c28afe86fcd0" title="Waits until incoming data is detected.">WaitForIncomingData</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="keywordtype">bool</span> *dataavailable = 0) = 0;
<a name="l00141"></a>00141 
<a name="l00143"></a>00143         <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classRTPTransmitter.html#4e32264c5c12c5a7b05bce28baa430f6" title="If the previous function has been called, this one aborts the waiting.">AbortWait</a>() = 0;
<a name="l00144"></a>00144         
<a name="l00146"></a>00146         <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classRTPTransmitter.html#4a9300acce9b60cf5012a91167465c81" title="Send a packet with length len containing data to all RTP addresses of the current...">SendRTPData</a>(<span class="keyword">const</span> <span class="keywordtype">void</span> *data,<span class="keywordtype">size_t</span> len) = 0;       
<a name="l00147"></a>00147 
<a name="l00149"></a>00149         <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classRTPTransmitter.html#1a4b449c3aa5a6f9073e777d3a916dd4" title="Send a packet with length len containing data to all RTCP addresses of the current...">SendRTCPData</a>(<span class="keyword">const</span> <span class="keywordtype">void</span> *data,<span class="keywordtype">size_t</span> len) = 0;
<a name="l00150"></a>00150 
<a name="l00152"></a>00152         <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classRTPTransmitter.html#5709df859a09e775fbe0cb65d8e93463" title="Adds the address specified by addr to the list of destinations.">AddDestination</a>(<span class="keyword">const</span> <a class="code" href="classRTPAddress.html" title="This class is an abstract class which is used to specify destinations, multicast...">RTPAddress</a> &amp;addr) = 0;
<a name="l00153"></a>00153 
<a name="l00155"></a>00155         <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classRTPTransmitter.html#649983247fd0de0c49c9bad132078804" title="Deletes the address specified by addr from the list of destinations.">DeleteDestination</a>(<span class="keyword">const</span> <a class="code" href="classRTPAddress.html" title="This class is an abstract class which is used to specify destinations, multicast...">RTPAddress</a> &amp;addr) = 0;
<a name="l00156"></a>00156 
<a name="l00158"></a>00158         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classRTPTransmitter.html#c547678e9164628a5f0a6897d2340704" title="Clears the list of destinations.">ClearDestinations</a>() = 0;
<a name="l00159"></a>00159 
<a name="l00161"></a>00161         <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classRTPTransmitter.html#b35f318dfb9e02813ed45bb8550fee6a" title="Returns true if the transmission component supports multicasting.">SupportsMulticasting</a>() = 0;
<a name="l00162"></a>00162 
<a name="l00164"></a>00164         <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classRTPTransmitter.html#d817b4f899689f87da9767854d29e4cb" title="Joins the multicast group specified by addr.">JoinMulticastGroup</a>(<span class="keyword">const</span> <a class="code" href="classRTPAddress.html" title="This class is an abstract class which is used to specify destinations, multicast...">RTPAddress</a> &amp;addr) = 0;
<a name="l00165"></a>00165 
<a name="l00167"></a>00167         <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classRTPTransmitter.html#dc3c7c9622ae8b5df6df624c9ab3cd16" title="Leaves the multicast group specified by addr.">LeaveMulticastGroup</a>(<span class="keyword">const</span> <a class="code" href="classRTPAddress.html" title="This class is an abstract class which is used to specify destinations, multicast...">RTPAddress</a> &amp;addr) = 0;
<a name="l00168"></a>00168 
<a name="l00170"></a>00170         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classRTPTransmitter.html#00d6f1346124aec45cef57a67f041234" title="Leaves all the multicast groups that have been joined.">LeaveAllMulticastGroups</a>() = 0;
<a name="l00171"></a>00171 
<a name="l00177"></a>00177         <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classRTPTransmitter.html#fd33f5ca2046f0d08a21ff6e5fa6c99e" title="Sets the receive mode.">SetReceiveMode</a>(<a class="code" href="classRTPTransmitter.html#bae77e9adf52db77f5ea29757dfa6386" title="Three kind of receive modes can be specified.">RTPTransmitter::ReceiveMode</a> m) = 0;
<a name="l00178"></a>00178 
<a name="l00180"></a>00180         <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classRTPTransmitter.html#53fca7150678471685f6bc046c6f0ca2" title="Adds addr to the list of addresses to ignore.">AddToIgnoreList</a>(<span class="keyword">const</span> <a class="code" href="classRTPAddress.html" title="This class is an abstract class which is used to specify destinations, multicast...">RTPAddress</a> &amp;addr) = 0;
<a name="l00181"></a>00181 
<a name="l00183"></a>00183         <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classRTPTransmitter.html#62b670aed033a21338dff518e9c757ce" title="Deletes addr from the list of addresses to accept.">DeleteFromIgnoreList</a>(<span class="keyword">const</span> <a class="code" href="classRTPAddress.html" title="This class is an abstract class which is used to specify destinations, multicast...">RTPAddress</a> &amp;addr)= 0;
<a name="l00184"></a>00184 
<a name="l00186"></a>00186         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classRTPTransmitter.html#3862dc2a8b8571bb24b800d81f30299d" title="Clears the list of addresses to ignore.">ClearIgnoreList</a>() = 0;
<a name="l00187"></a>00187 
<a name="l00189"></a>00189         <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classRTPTransmitter.html#96fda0a5e6b7484d295bb0b291720eb2" title="Adds addr to the list of addresses to accept.">AddToAcceptList</a>(<span class="keyword">const</span> <a class="code" href="classRTPAddress.html" title="This class is an abstract class which is used to specify destinations, multicast...">RTPAddress</a> &amp;addr) = 0;
<a name="l00190"></a>00190 
<a name="l00192"></a>00192         <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classRTPTransmitter.html#72a8ca0bf9bbb12325d882a77ec4dcc8" title="Deletes addr from the list of addresses to accept.">DeleteFromAcceptList</a>(<span class="keyword">const</span> <a class="code" href="classRTPAddress.html" title="This class is an abstract class which is used to specify destinations, multicast...">RTPAddress</a> &amp;addr) = 0;
<a name="l00193"></a>00193 
<a name="l00195"></a>00195         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classRTPTransmitter.html#d1cd475c302925e145966290e286a69e" title="Clears the list of addresses to accept.">ClearAcceptList</a>() = 0;
<a name="l00196"></a>00196 
<a name="l00198"></a>00198         <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classRTPTransmitter.html#81cad761ff649079f7d6285183f31455" title="Sets the maximum packet size which the transmitter should allow to s.">SetMaximumPacketSize</a>(<span class="keywordtype">size_t</span> s) = 0; 
<a name="l00199"></a>00199         
<a name="l00201"></a>00201         <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classRTPTransmitter.html#cb8f396cfd48d52134b7b090e6963c32" title="Returns true if packets can be obtained using the GetNextPacket member function.">NewDataAvailable</a>() = 0;
<a name="l00202"></a>00202 
<a name="l00205"></a>00205         <span class="keyword">virtual</span> <a class="code" href="classRTPRawPacket.html" title="This class is used by the transmission component to store the incoming RTP and RTCP...">RTPRawPacket</a> *<a class="code" href="classRTPTransmitter.html#12ae1a197dd8b59d99e16d39e5159beb" title="Returns the raw data of a received RTP packet (received during the Poll function)...">GetNextPacket</a>() = 0;
<a name="l00206"></a>00206 <span class="preprocessor">#ifdef RTPDEBUG</span>
<a name="l00207"></a>00207 <span class="preprocessor"></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> Dump() = 0;
<a name="l00208"></a>00208 <span class="preprocessor">#endif // RTPDEBUG</span>
<a name="l00209"></a>00209 <span class="preprocessor"></span>};
<a name="l00210"></a>00210 
<a name="l00217"></a><a class="code" href="classRTPTransmissionParams.html">00217</a> <span class="keyword">class </span><a class="code" href="classRTPTransmissionParams.html" title="Base class for transmission parameters.">RTPTransmissionParams</a>
<a name="l00218"></a>00218 {
<a name="l00219"></a>00219 <span class="keyword">protected</span>:
<a name="l00220"></a>00220         <a class="code" href="classRTPTransmissionParams.html" title="Base class for transmission parameters.">RTPTransmissionParams</a>(<a class="code" href="classRTPTransmitter.html#00529bcf331e3d3dc57c4ebb476f1fd2" title="Used to identify a specific transmitter.">RTPTransmitter::TransmissionProtocol</a> p)                           { protocol = p; }
<a name="l00221"></a>00221 <span class="keyword">public</span>:
<a name="l00222"></a>00222         <span class="keyword">virtual</span> ~<a class="code" href="classRTPTransmissionParams.html" title="Base class for transmission parameters.">RTPTransmissionParams</a>() { }
<a name="l00223"></a>00223 
<a name="l00225"></a><a class="code" href="classRTPTransmissionParams.html#543b25f9709bebf3fe30b1d8c1898f32">00225</a>         <a class="code" href="classRTPTransmitter.html#00529bcf331e3d3dc57c4ebb476f1fd2" title="Used to identify a specific transmitter.">RTPTransmitter::TransmissionProtocol</a> <a class="code" href="classRTPTransmissionParams.html#543b25f9709bebf3fe30b1d8c1898f32" title="Returns the transmitter type for which these parameters are valid.">GetTransmissionProtocol</a>()<span class="keyword"> const                    </span>{ <span class="keywordflow">return</span> protocol; }
<a name="l00226"></a>00226 <span class="keyword">private</span>:
<a name="l00227"></a>00227         <a class="code" href="classRTPTransmitter.html#00529bcf331e3d3dc57c4ebb476f1fd2" title="Used to identify a specific transmitter.">RTPTransmitter::TransmissionProtocol</a> protocol;
<a name="l00228"></a>00228 };
<a name="l00229"></a>00229 
<a name="l00236"></a><a class="code" href="classRTPTransmissionInfo.html">00236</a> <span class="keyword">class </span><a class="code" href="classRTPTransmissionInfo.html" title="Base class for additional information about the transmitter.">RTPTransmissionInfo</a>
<a name="l00237"></a>00237 {
<a name="l00238"></a>00238 <span class="keyword">protected</span>:
<a name="l00239"></a>00239         <a class="code" href="classRTPTransmissionInfo.html" title="Base class for additional information about the transmitter.">RTPTransmissionInfo</a>(<a class="code" href="classRTPTransmitter.html#00529bcf331e3d3dc57c4ebb476f1fd2" title="Used to identify a specific transmitter.">RTPTransmitter::TransmissionProtocol</a> p)                             { protocol = p; }
<a name="l00240"></a>00240 <span class="keyword">public</span>:
<a name="l00241"></a>00241         <span class="keyword">virtual</span> ~<a class="code" href="classRTPTransmissionInfo.html" title="Base class for additional information about the transmitter.">RTPTransmissionInfo</a>() { }
<a name="l00243"></a><a class="code" href="classRTPTransmissionInfo.html#4c1ce790f2bbab0ad42fe15982f03a29">00243</a>         <a class="code" href="classRTPTransmitter.html#00529bcf331e3d3dc57c4ebb476f1fd2" title="Used to identify a specific transmitter.">RTPTransmitter::TransmissionProtocol</a> <a class="code" href="classRTPTransmissionInfo.html#4c1ce790f2bbab0ad42fe15982f03a29" title="Returns the transmitter type for which these parameters are valid.">GetTransmissionProtocol</a>()<span class="keyword"> const                    </span>{ <span class="keywordflow">return</span> protocol; }
<a name="l00244"></a>00244 <span class="keyword">private</span>:
<a name="l00245"></a>00245         <a class="code" href="classRTPTransmitter.html#00529bcf331e3d3dc57c4ebb476f1fd2" title="Used to identify a specific transmitter.">RTPTransmitter::TransmissionProtocol</a> protocol;
<a name="l00246"></a>00246 };
<a name="l00247"></a>00247 
<a name="l00248"></a>00248 <span class="preprocessor">#endif // RTPTRANSMITTER_H</span>
<a name="l00249"></a>00249 <span class="preprocessor"></span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Jul 26 09:42:08 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>