<!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: RTPAddress Class Reference</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 Page</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><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="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>RTPAddress Class Reference</h1><!-- doxytag: class="RTPAddress" -->This class is an abstract class which is used to specify destinations, multicast groups etc. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="rtpaddress_8h_source.html">rtpaddress.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for RTPAddress:</div> <div class="dynsection"> <p><center><img src="classRTPAddress__inherit__graph.png" border="0" usemap="#RTPAddress__inherit__map" alt="Inheritance graph"></center> <map name="RTPAddress__inherit__map"> <area shape="rect" href="classRTPIPv4Address.html" title="Represents an IPv4 IP address and port." alt="" coords="5,84,128,111"><area shape="rect" href="classRTPIPv6Address.html" title="Represents an IPv6 IP address and port." alt="" coords="152,84,275,111"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classRTPAddress-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="classRTPAddress.html#e79e80c78ebabc430d0797635b93ff94">AddressType</a> { <a class="el" href="classRTPAddress.html#e79e80c78ebabc430d0797635b93ff94ac69585250b1b9af1a84604cd253f68b">IPv4Address</a>, <a class="el" href="classRTPAddress.html#e79e80c78ebabc430d0797635b93ff9433446ef39106d6044d61c6a00ca26408">IPv6Address</a>, <a class="el" href="classRTPAddress.html#e79e80c78ebabc430d0797635b93ff947b92da2b1daa4a37b8420bc832c50359">UserDefinedAddress</a> }</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Identifies the actual implementation being used. <a href="classRTPAddress.html#e79e80c78ebabc430d0797635b93ff94">More...</a><br></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classRTPAddress.html#e79e80c78ebabc430d0797635b93ff94">AddressType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classRTPAddress.html#a34a7ddfaed4a688f7364ed17d51b440">GetAddressType</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the type of address the actual implementation represents. <a href="#a34a7ddfaed4a688f7364ed17d51b440"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRTPAddress.html">RTPAddress</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classRTPAddress.html#c96522d4827bbf59a52438b74c63032c">CreateCopy</a> (<a class="el" href="classRTPMemoryManager.html">RTPMemoryManager</a> *mgr) const =0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a copy of the <a class="el" href="classRTPAddress.html" title="This class is an abstract class which is used to specify destinations, multicast...">RTPAddress</a> instance. <a href="#c96522d4827bbf59a52438b74c63032c"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classRTPAddress.html#705c20518090f4ead480a0babaa14d14">IsSameAddress</a> (const <a class="el" href="classRTPAddress.html">RTPAddress</a> *addr) const =0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks if the address <code>addr</code> is the same address as the one this instance represents. <a href="#705c20518090f4ead480a0babaa14d14"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classRTPAddress.html#9ed4566222b81552ebf58b3b93dfddee">IsFromSameHost</a> (const <a class="el" href="classRTPAddress.html">RTPAddress</a> *addr) const =0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks if the address <code>addr</code> represents the same host as this instance. <a href="#9ed4566222b81552ebf58b3b93dfddee"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <hr><h2>Member Enumeration Documentation</h2> <a class="anchor" name="e79e80c78ebabc430d0797635b93ff94"></a><!-- doxytag: member="RTPAddress::AddressType" ref="e79e80c78ebabc430d0797635b93ff94" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="classRTPAddress.html#e79e80c78ebabc430d0797635b93ff94">RTPAddress::AddressType</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <dl compact><dt><b>Enumerator: </b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><em><a class="anchor" name="e79e80c78ebabc430d0797635b93ff94ac69585250b1b9af1a84604cd253f68b"></a><!-- doxytag: member="IPv4Address" ref="e79e80c78ebabc430d0797635b93ff94ac69585250b1b9af1a84604cd253f68b" args="" -->IPv4Address</em> </td><td> Used by the UDP over IPv4 transmitter. <p> </td></tr> <tr><td valign="top"><em><a class="anchor" name="e79e80c78ebabc430d0797635b93ff9433446ef39106d6044d61c6a00ca26408"></a><!-- doxytag: member="IPv6Address" ref="e79e80c78ebabc430d0797635b93ff9433446ef39106d6044d61c6a00ca26408" args="" -->IPv6Address</em> </td><td> Used by the UDP over IPv6 transmitter. <p> </td></tr> <tr><td valign="top"><em><a class="anchor" name="e79e80c78ebabc430d0797635b93ff947b92da2b1daa4a37b8420bc832c50359"></a><!-- doxytag: member="UserDefinedAddress" ref="e79e80c78ebabc430d0797635b93ff947b92da2b1daa4a37b8420bc832c50359" args="" -->UserDefinedAddress</em> </td><td> Can be useful for a user-defined transmitter. <p> </td></tr> </table> </dl> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="c96522d4827bbf59a52438b74c63032c"></a><!-- doxytag: member="RTPAddress::CreateCopy" ref="c96522d4827bbf59a52438b74c63032c" args="(RTPMemoryManager *mgr) const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classRTPAddress.html">RTPAddress</a>* RTPAddress::CreateCopy </td> <td>(</td> <td class="paramtype"><a class="el" href="classRTPMemoryManager.html">RTPMemoryManager</a> * </td> <td class="paramname"> <em>mgr</em> </td> <td> ) </td> <td> const<code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Creates a copy of the <a class="el" href="classRTPAddress.html" title="This class is an abstract class which is used to specify destinations, multicast...">RTPAddress</a> instance. If <code>mgr</code> is not NULL, the corresponding memory manager will be used to allocate the memory for the address copy. </div> </div><p> <a class="anchor" name="a34a7ddfaed4a688f7364ed17d51b440"></a><!-- doxytag: member="RTPAddress::GetAddressType" ref="a34a7ddfaed4a688f7364ed17d51b440" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classRTPAddress.html#e79e80c78ebabc430d0797635b93ff94">AddressType</a> RTPAddress::GetAddressType </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="9ed4566222b81552ebf58b3b93dfddee"></a><!-- doxytag: member="RTPAddress::IsFromSameHost" ref="9ed4566222b81552ebf58b3b93dfddee" args="(const RTPAddress *addr) const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool RTPAddress::IsFromSameHost </td> <td>(</td> <td class="paramtype">const <a class="el" href="classRTPAddress.html">RTPAddress</a> * </td> <td class="paramname"> <em>addr</em> </td> <td> ) </td> <td> const<code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Checks if the address <code>addr</code> represents the same host as this instance. Implementations must be able to handle a NULL argument. </div> </div><p> <a class="anchor" name="705c20518090f4ead480a0babaa14d14"></a><!-- doxytag: member="RTPAddress::IsSameAddress" ref="705c20518090f4ead480a0babaa14d14" args="(const RTPAddress *addr) const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool RTPAddress::IsSameAddress </td> <td>(</td> <td class="paramtype">const <a class="el" href="classRTPAddress.html">RTPAddress</a> * </td> <td class="paramname"> <em>addr</em> </td> <td> ) </td> <td> const<code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Checks if the address <code>addr</code> is the same address as the one this instance represents. Implementations must be able to handle a NULL argument. </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li>src/<a class="el" href="rtpaddress_8h_source.html">rtpaddress.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Sun Jul 26 09:42:14 2009 for jrtplib by <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>