<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta name="robots" content="noindex"> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>RTPData class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body bgcolor="#ffffff"> <!-- Generated by Doxygen 1.2.5 on Fri Oct 5 10:28:26 2001 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindex" href="examples.html">Examples</a> </center> <hr><h1>RTPData Class Reference</h1>Interface to data received over RTP packets. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="rtp_h-source.html">cc++/rtp.h</a>></code> <p> <a href="class_RTPData-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_RTPData.html#a0">RTPData</a> (const RTPData &origin)</td></tr> <tr><td nowrap align=right valign=top>RTPData& </td><td valign=bottom><a class="el" href="class_RTPData.html#a1">operator=</a> (const RTPData &source)</td></tr> <tr><td nowrap align=right valign=top>const unsigned char* </td><td valign=bottom><a class="el" href="class_RTPData.html#a2">getData</a> () const</td></tr> <tr><td nowrap align=right valign=top>size_t </td><td valign=bottom><a class="el" href="class_RTPData.html#a3">getSize</a> () const</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="rtp_h.html#a67">rtp_payload_t</a> </td><td valign=bottom><a class="el" href="class_RTPData.html#a4">getPayloadType</a> () const</td></tr> <tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_RTPData.html#b0">RTPData</a> (<a class="el" href="class_IncomingRTPPkt.html">IncomingRTPPkt</a> &packet)</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_RTPData.html#b1">~RTPData</a> ()</td></tr> <tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="struct_RTPData__dataCounter.html">dataCounter</a>* </td><td valign=bottom><a class="el" href="class_RTPData.html#o0">datablock</a></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="class_RTPSource.html">RTPSource</a>* </td><td valign=bottom><a class="el" href="class_RTPData.html#o1">src</a></td></tr> <tr><td nowrap align=right valign=top>friend </td><td valign=bottom><a class="el" href="class_RTPData.html#o2">RTPQueue</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Interface to data received over RTP packets. <p> <p> A class of objects representing data transmitted over RTP packets. Tipically, this object will apply to <em>received</em> data. Data blocks received via RTP connections, along with its related objects (for instance, its source), are accessed through the methods of this class. <p> <dl compact><dt> <b>Author(s): </b><dd> Federico Montesino Pouzols <<a href="mailto:p5087@quintero.fie.us.es">p5087@quintero.fie.us.es</a>> </dl><dl compact><dt> <b>Examples: </b><dd> <p> <a class="el" href="audiorx_cpp-example.html#_a5">audiorx.cpp</a>.</dl> <p> <p> Definition at line <a class="el" href="rtp_h-source.html#l00225">225</a> of file <a class="el" href="rtp_h-source.html">rtp.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="RTPData::RTPData"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> RTPData::RTPData ( </b></td> <td valign="bottom"><b> const RTPData & <em>origin</em> ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>origin</em> </td><td> the RTPData object being copied </td></tr> </table> </dl> </td> </tr> </table> <a name="b0" doxytag="RTPData::RTPData"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> RTPData::RTPData ( </b></td> <td valign="bottom"><b> <a class="el" href="class_IncomingRTPPkt.html">IncomingRTPPkt</a> & <em>packet</em> )<code> [protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="b1" doxytag="RTPData::~RTPData"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> RTPData::~RTPData ( </b></td> <td valign="bottom"><b> )<code> [protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="a2" doxytag="RTPData::getData"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> const unsigned char * RTPData::getData ( </b></td> <td valign="bottom"><b> ) const<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="rtp_h-source.html#l00244">244</a> of file <a class="el" href="rtp_h-source.html">rtp.h</a>. </td> </tr> </table> <a name="a4" doxytag="RTPData::getPayloadType"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> <a class="el" href="rtp_h.html#a67">rtp_payload_t</a> RTPData::getPayloadType ( </b></td> <td valign="bottom"><b> ) const<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="rtp_h-source.html#l00252">252</a> of file <a class="el" href="rtp_h-source.html">rtp.h</a>. </td> </tr> </table> <a name="a3" doxytag="RTPData::getSize"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> size_t RTPData::getSize ( </b></td> <td valign="bottom"><b> ) const<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <dl compact><dt> <b>Examples: </b><dd> <a class="el" href="audiorx_cpp-example.html#a6">audiorx.cpp</a>.</dl> <p> Definition at line <a class="el" href="rtp_h-source.html#l00248">248</a> of file <a class="el" href="rtp_h-source.html">rtp.h</a>. </td> </tr> </table> <a name="a1" doxytag="RTPData::operator="></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> RTPData & RTPData::operator= ( </b></td> <td valign="bottom"><b> const RTPData & <em>source</em> ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Assignment operator<dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>source</em> </td><td> the RTPData object being assigned </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> the result of the assignment </dl> </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a name="o2" doxytag="RTPData::RTPQueue"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> RTPQueue<code> [private]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="rtp_h-source.html#l00279">279</a> of file <a class="el" href="rtp_h-source.html">rtp.h</a>. </td> </tr> </table> <a name="o0" doxytag="RTPData::datablock"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> <a class="el" href="struct_RTPData__dataCounter.html">dataCounter</a> * RTPData::datablock<code> [mutable, private]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="rtp_h-source.html#l00272">272</a> of file <a class="el" href="rtp_h-source.html">rtp.h</a>. </td> </tr> </table> <a name="o1" doxytag="RTPData::src"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> <a class="el" href="class_RTPSource.html">RTPSource</a> * RTPData::src<code> [private]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="rtp_h-source.html#l00277">277</a> of file <a class="el" href="rtp_h-source.html">rtp.h</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="rtp_h-source.html">rtp.h</a></ul> <hr><address><small>Generated at Fri Oct 5 10:28:26 2001 for ccRTP by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.gif" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.5 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, © 1997-2001</small></address> </body> </html>