⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 a00677.html

📁 opendds 1.2 最新版 面向分布式实时网络编程
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>OpenDDS: OpenDDS::DCPS::SimpleMcastConfiguration 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.4.7 -->
<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 id="current"><a href="classes.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>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <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="nav">
<a class="el" href="a01301.html">OpenDDS</a>::<a class="el" href="a01275.html">DCPS</a>::<a class="el" href="a00677.html">SimpleMcastConfiguration</a></div>
<h1>OpenDDS::DCPS::SimpleMcastConfiguration Class Reference</h1><!-- doxytag: class="OpenDDS::DCPS::SimpleMcastConfiguration" --><!-- doxytag: inherits="OpenDDS::DCPS::SimpleUnreliableDgramConfiguration" --><code>#include &lt;SimpleMcastConfiguration.h&gt;</code>
<p>
Inheritance diagram for OpenDDS::DCPS::SimpleMcastConfiguration:<p><center><img src="a02983.png" border="0" usemap="#a02984" alt="Inheritance graph"></center>
<map name="a02984">
<area href="a00699.html" shape="rect" coords="5,156,387,180" alt="">
<area href="a00741.html" shape="rect" coords="52,81,340,105" alt="">
<area href="a00640.html" shape="rect" coords="17,7,375,31" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for OpenDDS::DCPS::SimpleMcastConfiguration:<p><center><img src="a02985.png" border="0" usemap="#a02986" alt="Collaboration graph"></center>
<map name="a02986">
<area href="a00699.html" shape="rect" coords="351,188,732,212" alt="">
<area href="a00741.html" shape="rect" coords="383,97,671,121" alt="">
<area href="a00640.html" shape="rect" coords="5,7,363,31" alt="">
<area href="a00724.html" shape="rect" coords="387,7,667,31" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="a00155.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="a00677.html#bd9909afb06b496fb76a6c4be7289192">SimpleMcastConfiguration</a> ()</td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00677.html#7d4ec7b17907d3f7ec5741ac57c7f347">load</a> (const <a class="el" href="a01275.html#3bc80074a988eec5e1def4a3d65906fa">TransportIdType</a> &amp;id, ACE_Configuration_Heap &amp;cf)</td></tr>

<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">ACE_INET_Addr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00677.html#934fe2a374a4fa77a5d2531af5ef650e">multicast_group_address_</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This is the multicast group to send/receive on.  <a href="#934fe2a374a4fa77a5d2531af5ef650e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00677.html#2d1cf6880dbaa9cac5b91191a565c8e5">multicast_group_address_str_</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00677.html#903986d7d10bcbdded1ac3478c713149">receiver_</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Are we a receiver?  <a href="#903986d7d10bcbdded1ac3478c713149"></a><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="bd9909afb06b496fb76a6c4be7289192"></a><!-- doxytag: member="OpenDDS::DCPS::SimpleMcastConfiguration::SimpleMcastConfiguration" ref="bd9909afb06b496fb76a6c4be7289192" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ACE_INLINE OpenDDS::DCPS::SimpleMcastConfiguration::SimpleMcastConfiguration           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="e039eed99bc16d127a4c641eec192198"></a><!-- doxytag: member="OpenDDS::DCPS::SimpleMcastConfiguration::~SimpleMcastConfiguration" ref="e039eed99bc16d127a4c641eec192198" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OpenDDS::DCPS::SimpleMcastConfiguration::~SimpleMcastConfiguration           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="7d4ec7b17907d3f7ec5741ac57c7f347"></a><!-- doxytag: member="OpenDDS::DCPS::SimpleMcastConfiguration::load" ref="7d4ec7b17907d3f7ec5741ac57c7f347" args="(const TransportIdType &amp;id, ACE_Configuration_Heap &amp;cf)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OpenDDS::DCPS::SimpleMcastConfiguration::load           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a01275.html#3bc80074a988eec5e1def4a3d65906fa">TransportIdType</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ACE_Configuration_Heap &amp;&nbsp;</td>
          <td class="paramname"> <em>cf</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Overwrite the default configurations with the configuration for the give transport_id in ACE_Configuration_Heap object. 
<p>
Reimplemented from <a class="el" href="a00741.html#adb636c3e7d49b30db92c609fe6a998e">OpenDDS::DCPS::TransportConfiguration</a>.
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="934fe2a374a4fa77a5d2531af5ef650e"></a><!-- doxytag: member="OpenDDS::DCPS::SimpleMcastConfiguration::multicast_group_address_" ref="934fe2a374a4fa77a5d2531af5ef650e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ACE_INET_Addr <a class="el" href="a00677.html#934fe2a374a4fa77a5d2531af5ef650e">OpenDDS::DCPS::SimpleMcastConfiguration::multicast_group_address_</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This is the multicast group to send/receive on. 
<p>

</div>
</div><p>
<a class="anchor" name="2d1cf6880dbaa9cac5b91191a565c8e5"></a><!-- doxytag: member="OpenDDS::DCPS::SimpleMcastConfiguration::multicast_group_address_str_" ref="2d1cf6880dbaa9cac5b91191a565c8e5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="a00677.html#2d1cf6880dbaa9cac5b91191a565c8e5">OpenDDS::DCPS::SimpleMcastConfiguration::multicast_group_address_str_</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The address string used to provide to DCPSInfoRepo. This string is either from configuration file or default to ACE_DEFAULT_MULTICAST_PORT:ACE_DEFAULT_MULTICAST_ADDR 
</div>
</div><p>
<a class="anchor" name="903986d7d10bcbdded1ac3478c713149"></a><!-- doxytag: member="OpenDDS::DCPS::SimpleMcastConfiguration::receiver_" ref="903986d7d10bcbdded1ac3478c713149" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="a00677.html#903986d7d10bcbdded1ac3478c713149">OpenDDS::DCPS::SimpleMcastConfiguration::receiver_</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Are we a receiver? 
<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="a01058.html">SimpleMcastConfiguration.h</a><li><a class="el" href="a01057.html">SimpleMcastConfiguration.cpp</a><li><a class="el" href="a01059.html">SimpleMcastConfiguration.inl</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Nov 7 09:37:50 2008 for OpenDDS by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -