Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 4bc66056a634db26a1f4d0845dc41ca6 > files > 5333

mrpt-doc-0.9.5-0.1.20110925svn2670.fc16.i686.rpm

<!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>mrpt::utils::CObjectPtr Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<div align="left"><a href="http://www.mrpt.org/">Main MRPT website</a> &gt; <b>C++ reference</b> </div>
<div align="right">
<a href="index.html"><img border="0" src="mrpt_logo.png" alt="MRPT logo"></a>
</div>
<!-- Generated by Doxygen 1.7.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</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>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
          <div class="left">
            <form id="FSearchBox" action="search.php" method="get">
              <img id="MSearchSelect" src="search/mag.png" alt=""/>
              <input type="text" id="MSearchField" name="query" value="Search" size="20" accesskey="S" 
                     onfocus="searchBox.OnSearchFieldFocus(true)" 
                     onblur="searchBox.OnSearchFieldFocus(false)"/>
            </form>
          </div><div class="right"></div>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacemrpt.html">mrpt</a>      </li>
      <li class="navelem"><a class="el" href="namespacemrpt_1_1utils.html">utils</a>      </li>
      <li class="navelem"><a class="el" href="classmrpt_1_1utils_1_1_c_object_ptr.html">CObjectPtr</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-types">Private Types</a>  </div>
  <div class="headertitle">
<div class="title">mrpt::utils::CObjectPtr Class Reference<div class="ingroups"><a class="el" href="group__mrpt__base__grp.html">[mrpt-base]</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="mrpt::utils::CObjectPtr" --><!-- doxytag: inherits="smart_ptr_clone&lt; CObject &gt;" --><hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A smart pointer to a <a class="el" href="classmrpt_1_1utils_1_1_c_object.html" title="The virtual base class of all MRPT classes with a unified RTTI system.">CObject</a> object. </p>
<dl class="note"><dt><b>Note:</b></dt><dd>Declared as a class instead of a typedef to avoid multiple defined symbols when linking dynamic libs. </dd></dl>
</div>
<p><code>#include &lt;<a class="el" href="_c_object_8h_source.html">mrpt/utils/CObject.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for mrpt::utils::CObjectPtr:</div>
<div class="dyncontent">
<div class="center"><img src="classmrpt_1_1utils_1_1_c_object_ptr__inherit__graph.png" border="0" usemap="#mrpt_1_1utils_1_1_c_object_ptr_inherit__map" alt="Inheritance graph"/></div>
<map name="mrpt_1_1utils_1_1_c_object_ptr_inherit__map" id="mrpt_1_1utils_1_1_c_object_ptr_inherit__map">
<area shape="rect" id="node11" href="structmrpt_1_1utils_1_1_c_serializable_ptr.html" title="mrpt::utils::CSerializablePtr" alt="" coords="1633,1069,1815,1096"/><area shape="rect" id="node2" href="classstlplus_1_1smart__ptr__clone.html" title="stlplus::smart_ptr_clone\&lt; CObject \&gt;" alt="" coords="1142,1069,1375,1096"/><area shape="rect" id="node4" href="classstlplus_1_1smart__ptr__clone.html" title="stlplus::smart_ptr_clone" alt="" coords="854,1069,1015,1096"/><area shape="rect" id="node6" href="classstlplus_1_1smart__ptr__base.html" title="stlplus::smart_ptr_base\&lt; T, clone_copy\&lt; T \&gt;, COUNTER \&gt;" alt="" coords="432,1069,803,1096"/><area shape="rect" id="node8" href="classstlplus_1_1smart__ptr__base.html" title="stlplus::smart_ptr_base" alt="" coords="6,1069,165,1096"/><area shape="rect" id="node13" href="structmrpt_1_1detectors_1_1_c_detectable_object_ptr.html" title="mrpt::detectors::CDetectableObjectPtr" alt="" coords="1895,5,2142,32"/><area shape="rect" id="node15" href="structmrpt_1_1graphs_1_1_c_network_of_poses2_d_cov_ptr.html" title="mrpt::graphs::CNetworkOfPoses2DCovPtr" alt="" coords="1883,56,2154,83"/><area shape="rect" id="node17" href="structmrpt_1_1graphs_1_1_c_network_of_poses2_d_inf_ptr.html" title="mrpt::graphs::CNetworkOfPoses2DInfPtr" alt="" coords="1887,107,2150,133"/><area shape="rect" id="node19" href="structmrpt_1_1graphs_1_1_c_network_of_poses2_d_ptr.html" title="mrpt::graphs::CNetworkOfPoses2DPtr" alt="" coords="1895,157,2142,184"/><area shape="rect" id="node21" href="structmrpt_1_1graphs_1_1_c_network_of_poses3_d_cov_ptr.html" title="mrpt::graphs::CNetworkOfPoses3DCovPtr" alt="" coords="1883,208,2154,235"/><area shape="rect" id="node23" href="structmrpt_1_1graphs_1_1_c_network_of_poses3_d_inf_ptr.html" title="mrpt::graphs::CNetworkOfPoses3DInfPtr" alt="" coords="1887,259,2150,285"/><area shape="rect" id="node25" href="structmrpt_1_1graphs_1_1_c_network_of_poses3_d_ptr.html" title="mrpt::graphs::CNetworkOfPoses3DPtr" alt="" coords="1895,309,2142,336"/><area shape="rect" id="node27" href="structmrpt_1_1gui_1_1_c_base_g_u_i_window_ptr.html" title="mrpt::gui::CBaseGUIWindowPtr" alt="" coords="1914,360,2123,387"/><area shape="rect" id="node29" href="structmrpt_1_1hmtslam_1_1_c_hierarchical_m_h_map_ptr.html" title="mrpt::hmtslam::CHierarchicalMHMapPtr" alt="" coords="1891,411,2147,437"/><area shape="rect" id="node31" href="structmrpt_1_1hmtslam_1_1_c_h_m_h_map_arc_ptr.html" title="mrpt::hmtslam::CHMHMapArcPtr" alt="" coords="1910,461,2127,488"/><area shape="rect" id="node33" href="structmrpt_1_1hmtslam_1_1_c_h_m_h_map_node_ptr.html" title="mrpt::hmtslam::CHMHMapNodePtr" alt="" coords="1905,512,2133,539"/><area shape="rect" id="node35" href="structmrpt_1_1hmtslam_1_1_c_h_m_t_s_l_a_m_ptr.html" title="mrpt::hmtslam::CHMTSLAMPtr" alt="" coords="1915,563,2122,589"/><area shape="rect" id="node37" href="structmrpt_1_1hmtslam_1_1_c_local_metric_hypothesis_ptr.html" title="mrpt::hmtslam::CLocalMetricHypothesisPtr" alt="" coords="1881,613,2156,640"/><area shape="rect" id="node39" href="structmrpt_1_1hmtslam_1_1_c_l_s_l_a_m_particle_data_ptr.html" title="mrpt::hmtslam::CLSLAMParticleDataPtr" alt="" coords="1891,664,2147,691"/><area shape="rect" id="node41" href="structmrpt_1_1hmtslam_1_1_c_robot_poses_graph_ptr.html" title="mrpt::hmtslam::CRobotPosesGraphPtr" alt="" coords="1895,715,2143,741"/><area shape="rect" id="node43" href="structmrpt_1_1hmtslam_1_1_t_hypothesis_i_d_set_ptr.html" title="mrpt::hmtslam::THypothesisIDSetPtr" alt="" coords="1899,765,2138,792"/><area shape="rect" id="node45" href="structmrpt_1_1math_1_1_c_matrix_b_ptr.html" title="mrpt::math::CMatrixBPtr" alt="" coords="1936,816,2101,843"/><area shape="rect" id="node47" href="structmrpt_1_1math_1_1_c_matrix_d_ptr.html" title="mrpt::math::CMatrixDPtr" alt="" coords="1935,867,2102,893"/><area shape="rect" id="node49" href="structmrpt_1_1math_1_1_c_matrix_ptr.html" title="mrpt::math::CMatrixPtr" alt="" coords="1941,917,2097,944"/><area shape="rect" id="node51" href="structmrpt_1_1math_1_1_c_polygon_ptr.html" title="mrpt::math::CPolygonPtr" alt="" coords="1935,968,2102,995"/><area shape="rect" id="node53" href="structmrpt_1_1math_1_1_c_spline_interpolator1_d_ptr.html" title="mrpt::math::CSplineInterpolator1DPtr" alt="" coords="1899,1019,2138,1045"/><area shape="rect" id="node55" href="structmrpt_1_1opengl_1_1_c_open_g_l_scene_ptr.html" title="mrpt::opengl::COpenGLScenePtr" alt="" coords="1911,1069,2126,1096"/><area shape="rect" id="node57" href="structmrpt_1_1opengl_1_1_c_open_g_l_viewport_ptr.html" title="mrpt::opengl::COpenGLViewportPtr" alt="" coords="1905,1120,2133,1147"/><area shape="rect" id="node59" href="structmrpt_1_1opengl_1_1_c_renderizable_ptr.html" title="mrpt::opengl::CRenderizablePtr" alt="" coords="1916,1171,2121,1197"/><area shape="rect" id="node61" href="structmrpt_1_1poses_1_1_c_point2_d_p_d_f_ptr.html" title="mrpt::poses::CPoint2DPDFPtr" alt="" coords="1919,1221,2119,1248"/><area shape="rect" id="node63" href="structmrpt_1_1poses_1_1_c_point2_d_ptr.html" title="mrpt::poses::CPoint2DPtr" alt="" coords="1932,1272,2105,1299"/><area shape="rect" id="node65" href="structmrpt_1_1poses_1_1_c_point3_d_ptr.html" title="mrpt::poses::CPoint3DPtr" alt="" coords="1932,1323,2105,1349"/><area shape="rect" id="node67" href="structmrpt_1_1poses_1_1_c_point_p_d_f_ptr.html" title="mrpt::poses::CPointPDFPtr" alt="" coords="1927,1373,2110,1400"/><area shape="rect" id="node69" href="structmrpt_1_1poses_1_1_c_pose2_d_ptr.html" title="mrpt::poses::CPose2DPtr" alt="" coords="1932,1424,2105,1451"/><area shape="rect" id="node71" href="structmrpt_1_1poses_1_1_c_pose3_d_interpolator_ptr.html" title="mrpt::poses::CPose3DInterpolatorPtr" alt="" coords="1899,1475,2138,1501"/><area shape="rect" id="node73" href="structmrpt_1_1poses_1_1_c_pose3_d_p_d_f_ptr.html" title="mrpt::poses::CPose3DPDFPtr" alt="" coords="1919,1525,2119,1552"/><area shape="rect" id="node75" href="structmrpt_1_1poses_1_1_c_pose3_d_ptr.html" title="mrpt::poses::CPose3DPtr" alt="" coords="1932,1576,2105,1603"/><area shape="rect" id="node77" href="structmrpt_1_1poses_1_1_c_pose3_d_quat_p_d_f_ptr.html" title="mrpt::poses::CPose3DQuatPDFPtr" alt="" coords="1905,1627,2133,1653"/><area shape="rect" id="node79" href="structmrpt_1_1poses_1_1_c_pose3_d_quat_ptr.html" title="mrpt::poses::CPose3DQuatPtr" alt="" coords="1918,1677,2119,1704"/><area shape="rect" id="node81" href="structmrpt_1_1poses_1_1_c_pose_p_d_f_ptr.html" title="mrpt::poses::CPosePDFPtr" alt="" coords="1927,1728,2110,1755"/><area shape="rect" id="node83" href="structmrpt_1_1poses_1_1_c_poses2_d_sequence_ptr.html" title="mrpt::poses::CPoses2DSequencePtr" alt="" coords="1899,1779,2138,1805"/><area shape="rect" id="node85" href="structmrpt_1_1poses_1_1_c_poses3_d_sequence_ptr.html" title="mrpt::poses::CPoses3DSequencePtr" alt="" coords="1899,1829,2138,1856"/><area shape="rect" id="node87" href="structmrpt_1_1poses_1_1_t_simple3_d_point_ptr.html" title="mrpt::poses::TSimple3DPointPtr" alt="" coords="1913,1880,2124,1907"/><area shape="rect" id="node89" href="structmrpt_1_1reactivenav_1_1_c_holonomic_log_file_record_ptr.html" title="mrpt::reactivenav::CHolonomicLogFileRecordPtr" alt="" coords="1867,1931,2171,1957"/><area shape="rect" id="node91" href="structmrpt_1_1reactivenav_1_1_c_log_file_record_ptr.html" title="mrpt::reactivenav::CLogFileRecordPtr" alt="" coords="1897,1981,2140,2008"/><area shape="rect" id="node93" href="structmrpt_1_1slam_1_1_c_action_collection_ptr.html" title="mrpt::slam::CActionCollectionPtr" alt="" coords="1911,2032,2126,2059"/><area shape="rect" id="node95" href="structmrpt_1_1slam_1_1_c_action_ptr.html" title="mrpt::slam::CActionPtr" alt="" coords="1941,2083,2097,2109"/><area shape="rect" id="node97" href="structmrpt_1_1slam_1_1_c_beacon_ptr.html" title="mrpt::slam::CBeaconPtr" alt="" coords="1937,2133,2100,2160"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classmrpt_1_1utils_1_1_c_object_ptr-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_object_ptr.html#af866e74152afb59fadc18c6e189fb93e">CObjectPtr</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_object_ptr.html#a32f26d2f683d3cfeadea15cf9e9d2ede">CObjectPtr</a> (const <a class="el" href="classmrpt_1_1utils_1_1_c_object.html">CObject</a> &amp;data)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_object_ptr.html#a9515bdd64ca6d17d599c7d3860e5afc8">CObjectPtr</a> (<a class="el" href="classmrpt_1_1utils_1_1_c_object.html">CObject</a> *data)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1utils_1_1_c_object_ptr.html">CObjectPtr</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_object_ptr.html#a6425af915349dee06e6a7b4715733a30">operator=</a> (const <a class="el" href="classmrpt_1_1utils_1_1_c_object.html">CObject</a> &amp;data)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1utils_1_1_c_object_ptr.html">CObjectPtr</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_object_ptr.html#ae7f867dfe2cdff4476f080615c56aa81">operator=</a> (const <a class="el" href="classmrpt_1_1utils_1_1_c_object_ptr.html">CObjectPtr</a> &amp;r)</td></tr>
<tr><td colspan="2"><h2><a name="pri-types"></a>
Private Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <br class="typebreak"/>
<a class="el" href="classstlplus_1_1smart__ptr__clone.html">stlplus::smart_ptr_clone</a><br class="typebreak"/>
&lt; <a class="el" href="classmrpt_1_1utils_1_1_c_object.html">CObject</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_object_ptr.html#aaf2da4f88808a5e7e844a362beea93d4">BASE</a></td></tr>
</table>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="aaf2da4f88808a5e7e844a362beea93d4"></a><!-- doxytag: member="mrpt::utils::CObjectPtr::BASE" ref="aaf2da4f88808a5e7e844a362beea93d4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classstlplus_1_1smart__ptr__clone.html">stlplus::smart_ptr_clone</a>&lt;<a class="el" href="classmrpt_1_1utils_1_1_c_object.html">CObject</a>&gt; <a class="el" href="classmrpt_1_1utils_1_1_c_object_ptr.html#aaf2da4f88808a5e7e844a362beea93d4">mrpt::utils::CObjectPtr::BASE</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_object_8h_source.html#l00049">49</a> of file <a class="el" href="_c_object_8h_source.html">CObject.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="af866e74152afb59fadc18c6e189fb93e"></a><!-- doxytag: member="mrpt::utils::CObjectPtr::CObjectPtr" ref="af866e74152afb59fadc18c6e189fb93e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::utils::CObjectPtr::CObjectPtr </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_object_8h_source.html#l00051">51</a> of file <a class="el" href="_c_object_8h_source.html">CObject.h</a>.</p>

</div>
</div>
<a class="anchor" id="a32f26d2f683d3cfeadea15cf9e9d2ede"></a><!-- doxytag: member="mrpt::utils::CObjectPtr::CObjectPtr" ref="a32f26d2f683d3cfeadea15cf9e9d2ede" args="(const CObject &amp;data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::utils::CObjectPtr::CObjectPtr </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1utils_1_1_c_object.html">CObject</a> &amp;&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td><code> [inline, explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_object_8h_source.html#l00052">52</a> of file <a class="el" href="_c_object_8h_source.html">CObject.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9515bdd64ca6d17d599c7d3860e5afc8"></a><!-- doxytag: member="mrpt::utils::CObjectPtr::CObjectPtr" ref="a9515bdd64ca6d17d599c7d3860e5afc8" args="(CObject *data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::utils::CObjectPtr::CObjectPtr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmrpt_1_1utils_1_1_c_object.html">CObject</a> *&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td><code> [inline, explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_object_8h_source.html#l00053">53</a> of file <a class="el" href="_c_object_8h_source.html">CObject.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a6425af915349dee06e6a7b4715733a30"></a><!-- doxytag: member="mrpt::utils::CObjectPtr::operator=" ref="a6425af915349dee06e6a7b4715733a30" args="(const CObject &amp;data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1utils_1_1_c_object_ptr.html">CObjectPtr</a>&amp; mrpt::utils::CObjectPtr::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1utils_1_1_c_object.html">CObject</a> &amp;&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_object_8h_source.html#l00054">54</a> of file <a class="el" href="_c_object_8h_source.html">CObject.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae7f867dfe2cdff4476f080615c56aa81"></a><!-- doxytag: member="mrpt::utils::CObjectPtr::operator=" ref="ae7f867dfe2cdff4476f080615c56aa81" args="(const CObjectPtr &amp;r)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1utils_1_1_c_object_ptr.html">CObjectPtr</a>&amp; mrpt::utils::CObjectPtr::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1utils_1_1_c_object_ptr.html">CObjectPtr</a> &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_object_8h_source.html#l00055">55</a> of file <a class="el" href="_c_object_8h_source.html">CObject.h</a>.</p>

</div>
</div>
</div>
<br><hr><br> <table border="0" width="100%"> <tr> <td> Page generated by <a href="http://www.doxygen.org" target="_blank">Doxygen 1.7.5</a> for MRPT 0.9.5 SVN: at Sun Sep 25 17:20:18 UTC 2011</td><td></td> <td width="100"> </td> <td width="150">  </td></tr> </table>  </body></html>