<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>ccRTP: DestinationListHandler Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.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><a href="modules.html"><span>Modules</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="examples.html"><span>Examples</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</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>DestinationListHandler Class Reference<br> <small> [<a class="el" href="group__oqueue.html">Generic RTP output queues.</a>]</small> </h1><!-- doxytag: class="DestinationListHandler" -->This class handles a list of destination addresses. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="oqueue_8h_source.html">oqueue.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for DestinationListHandler:</div> <div class="dynsection"> <p><center><img src="class_destination_list_handler.png" usemap="#DestinationListHandler_map" border="0" alt=""></center> <map name="DestinationListHandler_map"> <area href="class_outgoing_data_queue.html" alt="OutgoingDataQueue" shape="rect" coords="74,56,212,80"> <area href="class_r_t_p_data_queue.html" alt="RTPDataQueue" shape="rect" coords="74,112,212,136"> <area href="class_queue_r_t_c_p_manager.html" alt="QueueRTCPManager" shape="rect" coords="0,168,138,192"> <area href="class_r_t_p_duplex.html" alt="RTPDuplex" shape="rect" coords="148,168,286,192"> <area href="class_a_v_p_queue.html" alt="AVPQueue" shape="rect" coords="0,224,138,248"> </map> </div> <p> <a href="class_destination_list_handler-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Classes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_destination_list_handler_1_1_transport_address.html">TransportAddress</a></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_destination_list_handler.html#040f728d9dfdbbb596a2a64c8dab3ec1">DestinationListHandler</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_destination_list_handler.html#34cc9432bd0bb30fce56d5bf7c0961bc">~DestinationListHandler</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_destination_list_handler.html#b3562903d72394a74a6edcb214303a62">isSingleDestination</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get whether there is only a destination in the list. <a href="#b3562903d72394a74a6edcb214303a62"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="struct_destination_list_handler_1_1_transport_address.html">TransportAddress</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_destination_list_handler.html#bb299a19878d20e3f0ee4e637d83b1b8">getFirstDestination</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_destination_list_handler.html#953e97c7387f5d81986d0ca6dcf30588">lockDestinationList</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_destination_list_handler.html#042b325c6a8e2d290b0c008603c79448">unlockDestinationList</a> () const </td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_destination_list_handler.html#e5d51b14f7c94a8040e3b345e4ec0854">writeLockDestinationList</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_destination_list_handler.html#5ad95cef0816d1f255058fbe67fbbb02">addDestinationToList</a> (const InetAddress &ia, tpport_t data, tpport_t control)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Locks the object before modifying it. <a href="#5ad95cef0816d1f255058fbe67fbbb02"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_destination_list_handler.html#c8bb26c80361205ea338b6d6a7bf575e">removeDestinationFromList</a> (const InetAddress &ia, tpport_t dataPort, tpport_t controlPort)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Locks the object before modifying it. <a href="#c8bb26c80361205ea338b6d6a7bf575e"></a><br></td></tr> <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">std::list< <a class="el" href="struct_destination_list_handler_1_1_transport_address.html">TransportAddress</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_destination_list_handler.html#9032eb908a72145fcab9908020686d3b">destList</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> This class handles a list of destination addresses. <p> Stores network addresses as InetAddress objects.<p> <dl class="author" compact><dt><b>Author:</b></dt><dd>Federico Montesino Pouzols <<a href="mailto:fedemp@altern.org">fedemp@altern.org</a>> </dd></dl> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="040f728d9dfdbbb596a2a64c8dab3ec1"></a><!-- doxytag: member="DestinationListHandler::DestinationListHandler" ref="040f728d9dfdbbb596a2a64c8dab3ec1" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">DestinationListHandler::DestinationListHandler </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="34cc9432bd0bb30fce56d5bf7c0961bc"></a><!-- doxytag: member="DestinationListHandler::~DestinationListHandler" ref="34cc9432bd0bb30fce56d5bf7c0961bc" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">DestinationListHandler::~DestinationListHandler </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="5ad95cef0816d1f255058fbe67fbbb02"></a><!-- doxytag: member="DestinationListHandler::addDestinationToList" ref="5ad95cef0816d1f255058fbe67fbbb02" args="(const InetAddress &ia, tpport_t data, tpport_t control)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool DestinationListHandler::addDestinationToList </td> <td>(</td> <td class="paramtype">const InetAddress & </td> <td class="paramname"> <em>ia</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">tpport_t </td> <td class="paramname"> <em>data</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">tpport_t </td> <td class="paramname"> <em>control</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Locks the object before modifying it. <p> </div> </div><p> <a class="anchor" name="bb299a19878d20e3f0ee4e637d83b1b8"></a><!-- doxytag: member="DestinationListHandler::getFirstDestination" ref="bb299a19878d20e3f0ee4e637d83b1b8" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="struct_destination_list_handler_1_1_transport_address.html">TransportAddress</a>* DestinationListHandler::getFirstDestination </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="b3562903d72394a74a6edcb214303a62"></a><!-- doxytag: member="DestinationListHandler::isSingleDestination" ref="b3562903d72394a74a6edcb214303a62" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool DestinationListHandler::isSingleDestination </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get whether there is only a destination in the list. <p> </div> </div><p> <a class="anchor" name="953e97c7387f5d81986d0ca6dcf30588"></a><!-- doxytag: member="DestinationListHandler::lockDestinationList" ref="953e97c7387f5d81986d0ca6dcf30588" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void DestinationListHandler::lockDestinationList </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="c8bb26c80361205ea338b6d6a7bf575e"></a><!-- doxytag: member="DestinationListHandler::removeDestinationFromList" ref="c8bb26c80361205ea338b6d6a7bf575e" args="(const InetAddress &ia, tpport_t dataPort, tpport_t controlPort)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool DestinationListHandler::removeDestinationFromList </td> <td>(</td> <td class="paramtype">const InetAddress & </td> <td class="paramname"> <em>ia</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">tpport_t </td> <td class="paramname"> <em>dataPort</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">tpport_t </td> <td class="paramname"> <em>controlPort</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Locks the object before modifying it. <p> </div> </div><p> <a class="anchor" name="042b325c6a8e2d290b0c008603c79448"></a><!-- doxytag: member="DestinationListHandler::unlockDestinationList" ref="042b325c6a8e2d290b0c008603c79448" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void DestinationListHandler::unlockDestinationList </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="e5d51b14f7c94a8040e3b345e4ec0854"></a><!-- doxytag: member="DestinationListHandler::writeLockDestinationList" ref="e5d51b14f7c94a8040e3b345e4ec0854" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void DestinationListHandler::writeLockDestinationList </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="9032eb908a72145fcab9908020686d3b"></a><!-- doxytag: member="DestinationListHandler::destList" ref="9032eb908a72145fcab9908020686d3b" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::list<<a class="el" href="struct_destination_list_handler_1_1_transport_address.html">TransportAddress</a>*> <a class="el" href="class_destination_list_handler.html#9032eb908a72145fcab9908020686d3b">DestinationListHandler::destList</a><code> [protected]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="oqueue_8h_source.html">oqueue.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Fri Jul 24 21:42:25 2009 for ccRTP 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>