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

📄 a00845.html

📁 opendds 1.2 最新版 面向分布式实时网络编程
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!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: DCPS_Utils.cpp File 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><a href="classes.html"><span>Classes</span></a></li>
    <li id="current"><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="files.html"><span>File&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
  </ul></div>
<div class="nav">
<a class="el" href="dir_5f66cca9bf5323495fe8e55b6da18d17.html">dds</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_fb8ae7aa16b4bdae6d4f873491d767ac.html">InfoRepo</a></div>
<h1>DCPS_Utils.cpp File Reference</h1><code>#include &quot;<a class="el" href="a00850.html">DcpsInfo_pch.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="a00968.html">dds/DCPS/Qos_Helper.h</a>&quot;</code><br>
<code>#include &quot;ace/ACE.h&quot;</code><br>
<code>#include &quot;ace/OS_NS_string.h&quot;</code><br>

<p>
Include dependency graph for DCPS_Utils.cpp:<p><center><img src="a01404.png" border="0" usemap="#DCPS_Utils.cpp_map" alt=""></center>
<map name="DCPS_Utils.cpp_map">
<area href="a00850.html" shape="rect" coords="203,6,325,30" alt="">
<area href="a00968.html" shape="rect" coords="177,54,351,78" alt="">
</map>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#90a150028e9977144a51753624374f52">matching_partitions</a> (::<a class="el" href="a00616.html">DDS::PartitionQosPolicy</a> const &amp;pub,::<a class="el" href="a00616.html">DDS::PartitionQosPolicy</a> const &amp;sub)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#7bed73eb6f28dc93ec36b29c99cbd929">increment_incompatibility_count</a> (<a class="el" href="a00559.html">OpenDDS::DCPS::IncompatibleQosStatus</a> *status,::<a class="el" href="a01300.html#c2564594a2726cfc8a8f1314a50eb974">DDS::QosPolicyId_t</a> incompatible_policy)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#e09f7b0e176575780eac38dce3fd2e9a">compatibleQOS</a> (<a class="el" href="a00517.html">DCPS_IR_Publication</a> *publication, <a class="el" href="a00518.html">DCPS_IR_Subscription</a> *subscription)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compares whether a publication and subscription are compatible.  <a href="#e09f7b0e176575780eac38dce3fd2e9a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#336bcd7ce944b5b8c91b01244bb91451">compatibleQOS</a> (const ::<a class="el" href="a00634.html">DDS::PublisherQos</a> *, const ::<a class="el" href="a00712.html">DDS::SubscriberQos</a> *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#5a39701de9287505c075cff1483b1f09">compatibleQOS</a> (const ::<a class="el" href="a00512.html">DDS::DataWriterQos</a> *writerQos, const ::<a class="el" href="a00501.html">DDS::DataReaderQos</a> *readerQos, <a class="el" href="a00559.html">OpenDDS::DCPS::IncompatibleQosStatus</a> *writerStatus, <a class="el" href="a00559.html">OpenDDS::DCPS::IncompatibleQosStatus</a> *readerStatus)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#1149fe844a42e2cb9c1cd34a3e960865">should_check_compatibility_upon_change</a> (const ::<a class="el" href="a00501.html">DDS::DataReaderQos</a> &amp;qos1, const ::<a class="el" href="a00501.html">DDS::DataReaderQos</a> &amp;qos2)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#eb7399d95f2644b1f59347e55b7b5355">should_check_compatibility_upon_change</a> (const ::<a class="el" href="a00512.html">DDS::DataWriterQos</a> &amp;qos1, const ::<a class="el" href="a00512.html">DDS::DataWriterQos</a> &amp;qos2)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#a18fa4b5aa7576ad38564534af429b8d">should_check_compatibility_upon_change</a> (const ::<a class="el" href="a00712.html">DDS::SubscriberQos</a> &amp;, const ::<a class="el" href="a00712.html">DDS::SubscriberQos</a> &amp;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#2c51e60eb98ab9e0f510c60226a07b6b">should_check_compatibility_upon_change</a> (const ::<a class="el" href="a00634.html">DDS::PublisherQos</a> &amp;, const ::<a class="el" href="a00634.html">DDS::PublisherQos</a> &amp;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#ca14eb9e143efe91b714b9de57499196">should_check_compatibility_upon_change</a> (const ::<a class="el" href="a00735.html">DDS::TopicQos</a> &amp;qos1, const ::<a class="el" href="a00735.html">DDS::TopicQos</a> &amp;qos2)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#cb96d8cf70fbd196b0a2ed91d4cba9be">should_check_compatibility_upon_change</a> (const ::<a class="el" href="a00532.html">DDS::DomainParticipantQos</a> &amp;, const ::<a class="el" href="a00532.html">DDS::DomainParticipantQos</a> &amp;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#a1964951d694f5f4ba2eca28bed24163">should_check_association_upon_change</a> (const ::<a class="el" href="a00501.html">DDS::DataReaderQos</a> &amp;qos1, const ::<a class="el" href="a00501.html">DDS::DataReaderQos</a> &amp;qos2)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#7fcc3d9fef6aeb68faf6a722c2339f4b">should_check_association_upon_change</a> (const ::<a class="el" href="a00512.html">DDS::DataWriterQos</a> &amp;qos1, const ::<a class="el" href="a00512.html">DDS::DataWriterQos</a> &amp;qos2)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#4477530af8c9c11066b9e3e56cf63bcc">should_check_association_upon_change</a> (const ::<a class="el" href="a00712.html">DDS::SubscriberQos</a> &amp;qos1, const ::<a class="el" href="a00712.html">DDS::SubscriberQos</a> &amp;qos2)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#51281d0ce52f35db6f4f572819daf8bf">should_check_association_upon_change</a> (const ::<a class="el" href="a00634.html">DDS::PublisherQos</a> &amp;qos1, const ::<a class="el" href="a00634.html">DDS::PublisherQos</a> &amp;qos2)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#4d3b6e847a8379c85c9485a6fa02c1a7">should_check_association_upon_change</a> (const ::<a class="el" href="a00735.html">DDS::TopicQos</a> &amp;, const ::<a class="el" href="a00735.html">DDS::TopicQos</a> &amp;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#5a2dfd6c1ecdf1642290b0e825f9c578">should_check_association_upon_change</a> (const ::<a class="el" href="a00532.html">DDS::DomainParticipantQos</a> &amp;, const ::<a class="el" href="a00532.html">DDS::DomainParticipantQos</a> &amp;)</td></tr>

</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="5a39701de9287505c075cff1483b1f09"></a><!-- doxytag: member="DCPS_Utils.cpp::compatibleQOS" ref="5a39701de9287505c075cff1483b1f09" args="(const ::DDS::DataWriterQos *writerQos, const ::DDS::DataReaderQos *readerQos, OpenDDS::DCPS::IncompatibleQosStatus *writerStatus, OpenDDS::DCPS::IncompatibleQosStatus *readerStatus)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool compatibleQOS           </td>
          <td>(</td>
          <td class="paramtype">const ::<a class="el" href="a00512.html">DDS::DataWriterQos</a> *&nbsp;</td>
          <td class="paramname"> <em>writerQos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const ::<a class="el" href="a00501.html">DDS::DataReaderQos</a> *&nbsp;</td>
          <td class="paramname"> <em>readerQos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00559.html">OpenDDS::DCPS::IncompatibleQosStatus</a> *&nbsp;</td>
          <td class="paramname"> <em>writerStatus</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00559.html">OpenDDS::DCPS::IncompatibleQosStatus</a> *&nbsp;</td>
          <td class="paramname"> <em>readerStatus</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="336bcd7ce944b5b8c91b01244bb91451"></a><!-- doxytag: member="DCPS_Utils.cpp::compatibleQOS" ref="336bcd7ce944b5b8c91b01244bb91451" args="(const ::DDS::PublisherQos *, const ::DDS::SubscriberQos *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool compatibleQOS           </td>
          <td>(</td>
          <td class="paramtype">const ::<a class="el" href="a00634.html">DDS::PublisherQos</a> *&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const ::<a class="el" href="a00712.html">DDS::SubscriberQos</a> *&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="e09f7b0e176575780eac38dce3fd2e9a"></a><!-- doxytag: member="DCPS_Utils.cpp::compatibleQOS" ref="e09f7b0e176575780eac38dce3fd2e9a" args="(DCPS_IR_Publication *publication, DCPS_IR_Subscription *subscription)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool compatibleQOS           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00517.html">DCPS_IR_Publication</a> *&nbsp;</td>
          <td class="paramname"> <em>publication</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00518.html">DCPS_IR_Subscription</a> *&nbsp;</td>
          <td class="paramname"> <em>subscription</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Compares whether a publication and subscription are compatible. 
<p>

</div>
</div><p>
<a class="anchor" name="7bed73eb6f28dc93ec36b29c99cbd929"></a><!-- doxytag: member="DCPS_Utils.cpp::increment_incompatibility_count" ref="7bed73eb6f28dc93ec36b29c99cbd929" args="(OpenDDS::DCPS::IncompatibleQosStatus *status,::DDS::QosPolicyId_t incompatible_policy)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void increment_incompatibility_count           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00559.html">OpenDDS::DCPS::IncompatibleQosStatus</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">::<a class="el" href="a01300.html#c2564594a2726cfc8a8f1314a50eb974">DDS::QosPolicyId_t</a>&nbsp;</td>
          <td class="paramname"> <em>incompatible_policy</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Increments the count of occurances of the incompatible policy for the status 
</div>
</div><p>
<a class="anchor" name="90a150028e9977144a51753624374f52"></a><!-- doxytag: member="DCPS_Utils.cpp::matching_partitions" ref="90a150028e9977144a51753624374f52" args="(::DDS::PartitionQosPolicy const &amp;pub,::DDS::PartitionQosPolicy const &amp;sub)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool @22::matching_partitions           </td>
          <td>(</td>
          <td class="paramtype">::<a class="el" href="a00616.html">DDS::PartitionQosPolicy</a> const &amp;&nbsp;</td>
          <td class="paramname"> <em>pub</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">::<a class="el" href="a00616.html">DDS::PartitionQosPolicy</a> const &amp;&nbsp;</td>
          <td class="paramname"> <em>sub</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="5a2dfd6c1ecdf1642290b0e825f9c578"></a><!-- doxytag: member="DCPS_Utils.cpp::should_check_association_upon_change" ref="5a2dfd6c1ecdf1642290b0e825f9c578" args="(const ::DDS::DomainParticipantQos &amp;, const ::DDS::DomainParticipantQos &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool should_check_association_upon_change           </td>
          <td>(</td>
          <td class="paramtype">const ::<a class="el" href="a00532.html">DDS::DomainParticipantQos</a> &amp;&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const ::<a class="el" href="a00532.html">DDS::DomainParticipantQos</a> &amp;&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="4d3b6e847a8379c85c9485a6fa02c1a7"></a><!-- doxytag: member="DCPS_Utils.cpp::should_check_association_upon_change" ref="4d3b6e847a8379c85c9485a6fa02c1a7" args="(const ::DDS::TopicQos &amp;, const ::DDS::TopicQos &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool should_check_association_upon_change           </td>
          <td>(</td>
          <td class="paramtype">const ::<a class="el" href="a00735.html">DDS::TopicQos</a> &amp;&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const ::<a class="el" href="a00735.html">DDS::TopicQos</a> &amp;&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

⌨️ 快捷键说明

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