📄 a00721.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::ThreadPerConRemoveVisitor 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 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 Pages</span></a></li>
<li>
<form action="search.php" method="get">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><label> <u>S</u>earch for </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 List</span></a></li>
<li><a href="annotated.html"><span>Class List</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 class="nav">
<a class="el" href="a01301.html">OpenDDS</a>::<a class="el" href="a01275.html">DCPS</a>::<a class="el" href="a00721.html">ThreadPerConRemoveVisitor</a></div>
<h1>OpenDDS::DCPS::ThreadPerConRemoveVisitor Class Reference</h1><!-- doxytag: class="OpenDDS::DCPS::ThreadPerConRemoveVisitor" --><!-- doxytag: inherits="OpenDDS::DCPS::BasicQueueVisitor" --><code>#include <ThreadPerConRemoveVisitor.h></code>
<p>
Inheritance diagram for OpenDDS::DCPS::ThreadPerConRemoveVisitor:<p><center><img src="a02833.png" border="0" usemap="#a02834" alt="Inheritance graph"></center>
<map name="a02834">
<area href="a00478.html" shape="rect" coords="6,7,494,31" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for OpenDDS::DCPS::ThreadPerConRemoveVisitor:<p><center><img src="a02835.png" border="0" usemap="#a02836" alt="Collaboration graph"></center>
<map name="a02836">
<area href="a00478.html" shape="rect" coords="6,7,494,31" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="a00090.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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00721.html#350dd249102b30fcc63969d32f85813a">ThreadPerConRemoveVisitor</a> (const ACE_Message_Block *sample)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="a00721.html#d904ca86f9229dddb2ce7cbf41451d41">~ThreadPerConRemoveVisitor</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00721.html#dd360b210c6c3526c0dcd5e240b8e3a6">visit_element_remove</a> (<a class="el" href="a00671.html">SendRequest</a> *element, int &remove)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00721.html#395bfe3500142150d5e9fb838d1a6138">status</a> () const </td></tr>
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const ACE_Message_Block * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00721.html#b09513977732c9647dba8dcf1d4d7e9b">sample_</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The sample that needs to be removed. <a href="#b09513977732c9647dba8dcf1d4d7e9b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00721.html#fd1fac1fd1614132faa9582216159ca0">status_</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Holds the status of our visit. <a href="#fd1fac1fd1614132faa9582216159ca0"></a><br></td></tr>
</table>
<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="350dd249102b30fcc63969d32f85813a"></a><!-- doxytag: member="OpenDDS::DCPS::ThreadPerConRemoveVisitor::ThreadPerConRemoveVisitor" ref="350dd249102b30fcc63969d32f85813a" args="(const ACE_Message_Block *sample)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ACE_INLINE OpenDDS::DCPS::ThreadPerConRemoveVisitor::ThreadPerConRemoveVisitor </td>
<td>(</td>
<td class="paramtype">const ACE_Message_Block * </td>
<td class="paramname"> <em>sample</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
In order to construct a <a class="el" href="a00637.html">QueueRemoveVisitor</a>, it must be provided with the DataSampleListElement* (used as an identifier) that should be removed from the BasicQueue<T> (the one this visitor will visit when it is passed-in to a <a class="el" href="a00473.html#2932810b6bcfeec9856260a36676aaa7">BasicQueue<T>::accept_remove_visitor()</a> invocation).
</div>
</div><p>
<a class="anchor" name="d904ca86f9229dddb2ce7cbf41451d41"></a><!-- doxytag: member="OpenDDS::DCPS::ThreadPerConRemoveVisitor::~ThreadPerConRemoveVisitor" ref="d904ca86f9229dddb2ce7cbf41451d41" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">OpenDDS::DCPS::ThreadPerConRemoveVisitor::~ThreadPerConRemoveVisitor </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </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="395bfe3500142150d5e9fb838d1a6138"></a><!-- doxytag: member="OpenDDS::DCPS::ThreadPerConRemoveVisitor::status" ref="395bfe3500142150d5e9fb838d1a6138" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ACE_INLINE int OpenDDS::DCPS::ThreadPerConRemoveVisitor::status </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Accessor for the status. Called after this visitor object has been passed to <a class="el" href="a00473.html#2932810b6bcfeec9856260a36676aaa7">BasicQueue<T>::accept_remove_visitor()</a>.
</div>
</div><p>
<a class="anchor" name="dd360b210c6c3526c0dcd5e240b8e3a6"></a><!-- doxytag: member="OpenDDS::DCPS::ThreadPerConRemoveVisitor::visit_element_remove" ref="dd360b210c6c3526c0dcd5e240b8e3a6" args="(SendRequest *element, int &remove)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int OpenDDS::DCPS::ThreadPerConRemoveVisitor::visit_element_remove </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00671.html">SendRequest</a> * </td>
<td class="paramname"> <em>element</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>remove</em></td><td> </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>
The <a class="el" href="a00473.html#2932810b6bcfeec9856260a36676aaa7">BasicQueue<T>::accept_remove_visitor()</a> method will call this <a class="el" href="a00721.html#dd360b210c6c3526c0dcd5e240b8e3a6">visit_element_remove()</a> method for each element in the queue.
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="b09513977732c9647dba8dcf1d4d7e9b"></a><!-- doxytag: member="OpenDDS::DCPS::ThreadPerConRemoveVisitor::sample_" ref="b09513977732c9647dba8dcf1d4d7e9b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const ACE_Message_Block* <a class="el" href="a00721.html#b09513977732c9647dba8dcf1d4d7e9b">OpenDDS::DCPS::ThreadPerConRemoveVisitor::sample_</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The sample that needs to be removed.
<p>
</div>
</div><p>
<a class="anchor" name="fd1fac1fd1614132faa9582216159ca0"></a><!-- doxytag: member="OpenDDS::DCPS::ThreadPerConRemoveVisitor::status_" ref="fd1fac1fd1614132faa9582216159ca0" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="a00721.html#fd1fac1fd1614132faa9582216159ca0">OpenDDS::DCPS::ThreadPerConRemoveVisitor::status_</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Holds the status of our visit.
<p>
</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="a01170.html">ThreadPerConRemoveVisitor.h</a><li><a class="el" href="a01169.html">ThreadPerConRemoveVisitor.cpp</a><li><a class="el" href="a01171.html">ThreadPerConRemoveVisitor.inl</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Nov 7 09:37:43 2008 for OpenDDS by
<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 + -