Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > eeacaa4eb55fa544d622989e42fc27b1 > files > 390

libyate-devel-2.0.0-2mdv2009.1.i586.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>Yate: RTPGroup Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</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>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceTelEngine.html">TelEngine</a>::<a class="el" href="classTelEngine_1_1RTPGroup.html">RTPGroup</a>
  </div>
</div>
<div class="contents">
<h1>RTPGroup Class Reference</h1><!-- doxytag: class="TelEngine::RTPGroup" --><!-- doxytag: inherits="TelEngine::GenObject,TelEngine::Mutex,TelEngine::Thread" -->A group of RTP processors handled by the same thread.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="yatertp_8h-source.html">yatertp.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for RTPGroup:</div>
<div class="dynsection">

<p><center><img src="classTelEngine_1_1RTPGroup.png" usemap="#RTPGroup_map" border="0" alt=""></center>
<map name="RTPGroup_map">
<area href="classTelEngine_1_1GenObject.html" alt="GenObject" shape="rect" coords="0,56,72,80">
<area href="classTelEngine_1_1Mutex.html" alt="Mutex" shape="rect" coords="82,56,154,80">
<area href="classTelEngine_1_1Thread.html" alt="Thread" shape="rect" coords="164,56,236,80">
<area href="classTelEngine_1_1Runnable.html" alt="Runnable" shape="rect" coords="164,0,236,24">
</map>
</div>

<p>
<a href="classTelEngine_1_1RTPGroup-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 Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTelEngine_1_1RTPGroup.html#207375d375e24580f9e39cee7161c72c">RTPGroup</a> (int msec=0, <a class="el" href="classTelEngine_1_1Thread.html#315655b1bb5848c063491adffde62b15">Priority</a> prio=Normal)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTelEngine_1_1RTPGroup.html#025a4d244804d06f40005a896c65e9e6">~RTPGroup</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTelEngine_1_1RTPGroup.html#09f4fe805fa9a54d4d68c5b29c1502e1">cleanup</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTelEngine_1_1RTPGroup.html#72fcb26a14f6beb1c3fbace9ab3e7dbb">run</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTelEngine_1_1RTPGroup.html#e0b9adbbf8c9f84992ee259ff142765e">setMinSleep</a> (int msec)</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTelEngine_1_1RTPGroup.html#07b9f9780af100de3b06d082a97b4c73">join</a> (<a class="el" href="classTelEngine_1_1RTPProcessor.html">RTPProcessor</a> *proc)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTelEngine_1_1RTPGroup.html#8ce5e89c5430fe2fecdf4441ab2140a7">part</a> (<a class="el" href="classTelEngine_1_1RTPProcessor.html">RTPProcessor</a> *proc)</td></tr>

<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ed3c31b11ab5de73c06f3e41200cf74c"></a><!-- doxytag: member="TelEngine::RTPGroup::RTPProcessor" ref="ed3c31b11ab5de73c06f3e41200cf74c" args="" -->
class&nbsp;</td><td class="memItemRight" valign="bottom"><b>RTPProcessor</b></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A group of RTP processors handled by the same thread. 
<p>
Several possibly related RTP processors share the same RTP group which holds the thread that keeps them running. <hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="207375d375e24580f9e39cee7161c72c"></a><!-- doxytag: member="TelEngine::RTPGroup::RTPGroup" ref="207375d375e24580f9e39cee7161c72c" args="(int msec=0, Priority prio=Normal)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classTelEngine_1_1RTPGroup.html">RTPGroup</a>           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>msec</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classTelEngine_1_1Thread.html#315655b1bb5848c063491adffde62b15">Priority</a>&nbsp;</td>
          <td class="paramname"> <em>prio</em> = <code>Normal</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>msec</em>&nbsp;</td><td>Minimum time to sleep in loop in milliseconds </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>prio</em>&nbsp;</td><td><a class="el" href="classTelEngine_1_1Thread.html" title="Thread support class.">Thread</a> priority to run this group </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="025a4d244804d06f40005a896c65e9e6"></a><!-- doxytag: member="TelEngine::RTPGroup::~RTPGroup" ref="025a4d244804d06f40005a896c65e9e6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual ~<a class="el" href="classTelEngine_1_1RTPGroup.html">RTPGroup</a>           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Group destructor, removes itself from all remaining processors 
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="09f4fe805fa9a54d4d68c5b29c1502e1"></a><!-- doxytag: member="TelEngine::RTPGroup::cleanup" ref="09f4fe805fa9a54d4d68c5b29c1502e1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cleanup           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Inherited thread cleanup 
<p>Reimplemented from <a class="el" href="classTelEngine_1_1Thread.html#09f4fe805fa9a54d4d68c5b29c1502e1">Thread</a>.</p>

</div>
</div><p>
<a class="anchor" name="07b9f9780af100de3b06d082a97b4c73"></a><!-- doxytag: member="TelEngine::RTPGroup::join" ref="07b9f9780af100de3b06d082a97b4c73" args="(RTPProcessor *proc)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void join           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classTelEngine_1_1RTPProcessor.html">RTPProcessor</a> *&nbsp;</td>
          <td class="paramname"> <em>proc</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add a RTP processor to this group <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>proc</em>&nbsp;</td><td>Pointer to the RTP processor to add </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="8ce5e89c5430fe2fecdf4441ab2140a7"></a><!-- doxytag: member="TelEngine::RTPGroup::part" ref="8ce5e89c5430fe2fecdf4441ab2140a7" args="(RTPProcessor *proc)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void part           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classTelEngine_1_1RTPProcessor.html">RTPProcessor</a> *&nbsp;</td>
          <td class="paramname"> <em>proc</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Remove a RTP processor from this group <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>proc</em>&nbsp;</td><td>Pointer to the RTP processor to remove </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="72fcb26a14f6beb1c3fbace9ab3e7dbb"></a><!-- doxytag: member="TelEngine::RTPGroup::run" ref="72fcb26a14f6beb1c3fbace9ab3e7dbb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void run           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Inherited thread run method 
<p>Implements <a class="el" href="classTelEngine_1_1Runnable.html#18954417d3124a8095783ea13dc6d00b">Runnable</a>.</p>

</div>
</div><p>
<a class="anchor" name="e0b9adbbf8c9f84992ee259ff142765e"></a><!-- doxytag: member="TelEngine::RTPGroup::setMinSleep" ref="e0b9adbbf8c9f84992ee259ff142765e" args="(int msec)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void setMinSleep           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>msec</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the system global minimum time to sleep in loop <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>msec</em>&nbsp;</td><td>Minimum time to sleep in loop in milliseconds </td></tr>
  </table>
</dl>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="yatertp_8h-source.html">yatertp.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Dec 7 21:36:13 2008 for Yate by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.7.1 </small></address>
</body>
</html>