<!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>safe_pointers.h File 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> > <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 Page</span></a></li> <li><a href="pages.html"><span>Related 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><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><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="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> | <a href="#namespaces">Namespaces</a> | <a href="#typedef-members">Typedefs</a> </div> <div class="headertitle"> <div class="title">safe_pointers.h File Reference</div> </div> </div> <div class="contents"> <div class="textblock"><code>#include <mrpt/config.h></code><br/> <code>#include <<a class="el" href="utils__defs_8h_source.html">mrpt/utils/utils_defs.h</a>></code><br/> </div><div class="textblock"><div class="dynheader"> Include dependency graph for safe_pointers.h:</div> <div class="dyncontent"> <div class="center"><img src="safe__pointers_8h__incl.png" border="0" usemap="#safe__pointers_8h" alt=""/></div> <map name="safe__pointers_8h" id="safe__pointers_8h"> <area shape="rect" id="node5" href="utils__defs_8h.html" title="mrpt/utils/utils_defs.h" alt="" coords="2581,80,2727,107"/><area shape="rect" id="node8" href="os_8h.html" title="mrpt/system/os.h" alt="" coords="2037,155,2161,181"/><area shape="rect" id="node21" href="base_2include_2mrpt_2base_2link__pragmas_8h.html" title="mrpt/base/link_pragmas.h" alt="" coords="2268,379,2439,405"/><area shape="rect" id="node24" href="boost__join_8h.html" title="mrpt/utils/boost_join.h" alt="" coords="2435,453,2585,480"/><area shape="rect" id="node26" href="base_2include_2mrpt_2utils_2types_8h.html" title="mrpt/utils/types.h" alt="" coords="1774,229,1897,256"/><area shape="rect" id="node84" href="mrpt__macros_8h.html" title="mrpt/utils/mrpt_macros.h" alt="" coords="2272,229,2438,256"/><area shape="rect" id="node87" href="compiler__fixes_8h.html" title="mrpt/utils/compiler_fixes.h" alt="" coords="3263,155,3437,181"/><area shape="rect" id="node112" href="smart__ptr_8hpp.html" title="mrpt/otherlibs/stlplus/smart_ptr.hpp" alt="" coords="137,229,363,256"/><area shape="rect" id="node129" href="bits_8h.html" title="mrpt/utils/bits.h" alt="" coords="3126,155,3237,181"/><area shape="rect" id="node38" href="mrpt__stdint_8h.html" title="mrpt/utils/mrpt_stdint.h" alt="" coords="1696,379,1851,405"/><area shape="rect" id="node43" href="mrpt__inttypes_8h.html" title="mrpt/utils/mrpt_inttypes.h" alt="" coords="1811,304,1982,331"/><area shape="rect" id="node46" href="math__frwds_8h.html" title="mrpt/math/math_frwds.h" alt="" coords="2007,304,2170,331"/><area shape="rect" id="node62" href="_dense.html" title="Eigen/Dense" alt="" coords="2819,304,2915,331"/><area shape="rect" id="node41" href="pstdint_8h.html" title="pstdint.h" alt="" coords="1738,453,1810,480"/><area shape="rect" id="node64" href="_core.html" title="Core" alt="" coords="2853,453,2903,480"/><area shape="rect" id="node75" href="_l_u.html" title="LU" alt="" coords="2819,379,2857,405"/><area shape="rect" id="node114" href="containers__fixes_8hpp.html" title="containers_fixes.hpp" alt="" coords="32,379,174,405"/><area shape="rect" id="node116" href="exceptions_8hpp.html" title="exceptions.hpp" alt="" coords="65,304,175,331"/><area shape="rect" id="node123" href="atomic__incr_8h.html" title="mrpt/synch/atomic_incr.h" alt="" coords="751,304,919,331"/><area shape="rect" id="node127" href="smart__ptr_8tpp.html" title="smart_ptr.tpp" alt="" coords="201,304,299,331"/><area shape="rect" id="node131" href="_s_s_e__types_8h.html" title="mrpt/utils/SSE_types.h" alt="" coords="3126,229,3283,256"/></map> </div> </div><div class="textblock"><div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dyncontent"> <div class="center"><img src="safe__pointers_8h__dep__incl.png" border="0" usemap="#safe__pointers_8hdep" alt=""/></div> <map name="safe__pointers_8hdep" id="safe__pointers_8hdep"> <area shape="rect" id="node3" href="_c_object_8h.html" title="CObject.h" alt="" coords="586,80,667,107"/><area shape="rect" id="node5" href="_c_serializable_8h.html" title="CSerializable.h" alt="" coords="1718,229,1828,256"/><area shape="rect" id="node13" href="_c_h_m_h_map_node_8h.html" title="CHMHMapNode.h" alt="" coords="896,453,1025,480"/><area shape="rect" id="node28" href="_c_open_g_l_viewport_8h.html" title="COpenGLViewport.h" alt="" coords="3495,603,3637,629"/><area shape="rect" id="node30" href="_c_occupancy_grid_map2_d_8h.html" title="COccupancyGridMap2D.h" alt="" coords="3863,603,4037,629"/><area shape="rect" id="node32" href="_c_f_f_m_p_e_g___input_stream_8h.html" title="CFFMPEG_InputStream.h" alt="" coords="3663,603,3839,629"/><area shape="rect" id="node34" href="_c_video_file_writer_8h.html" title="CVideoFileWriter.h" alt="" coords="4062,603,4193,629"/><area shape="rect" id="node36" href="_c_points_map_8h.html" title="CPointsMap.h" alt="" coords="3647,528,3752,555"/><area shape="rect" id="node56" href="_c_range_bearing_k_f_s_l_a_m_8h.html" title="CRangeBearingKFSLAM.h" alt="" coords="2149,379,2328,405"/><area shape="rect" id="node58" href="_c_range_bearing_k_f_s_l_a_m2_d_8h.html" title="CRangeBearingKFSLAM2D.h" alt="" coords="3104,379,3299,405"/><area shape="rect" id="node91" href="_c_config_file_memory_8h.html" title="CConfigFileMemory.h" alt="" coords="1283,379,1431,405"/><area shape="rect" id="node122" href="_c_base_g_u_i_window_8h.html" title="CBaseGUIWindow.h" alt="" coords="3627,304,3771,331"/><area shape="rect" id="node135" href="_c_memory_stream_8h.html" title="CMemoryStream.h" alt="" coords="169,229,300,256"/><area shape="rect" id="node142" href="_c_enhanced_meta_file_8h.html" title="CEnhancedMetaFile.h" alt="" coords="5,155,155,181"/><area shape="rect" id="node146" href="_c_config_file_8h.html" title="CConfigFile.h" alt="" coords="3769,155,3871,181"/><area shape="rect" id="node155" href="_c_image_grabber___open_c_v_8h.html" title="CImageGrabber_OpenCV.h" alt="" coords="4150,80,4332,107"/><area shape="rect" id="node157" href="_c_metric_map_builder_r_b_p_f_8h.html" title="CMetricMapBuilderRBPF.h" alt="" coords="4357,80,4536,107"/><area shape="rect" id="node11" href="base_2include_2mrpt_2utils_8h.html" title="utils.h" alt="" coords="1183,603,1240,629"/><area shape="rect" id="node128" href="_c_stream_8h.html" title="CStream.h" alt="" coords="584,155,669,181"/><area shape="rect" id="node7" href="stl__extensions_8h.html" title="stl_extensions.h" alt="" coords="845,379,961,405"/><area shape="rect" id="node9" href="_c_spline_interpolator1_d_8h.html" title="CSplineInterpolator1D.h" alt="" coords="1102,453,1263,480"/><area shape="rect" id="node15" href="metaprogramming_8h.html" title="metaprogramming.h" alt="" coords="795,304,932,331"/><area shape="rect" id="node19" href="_c_array_8h.html" title="CArray.h" alt="" coords="3059,304,3132,331"/><area shape="rect" id="node21" href="_c_matrix_fixed_numeric_8h.html" title="CMatrixFixedNumeric.h" alt="" coords="2779,379,2937,405"/><area shape="rect" id="node23" href="_c_matrix_8h.html" title="CMatrix.h" alt="" coords="3366,453,3444,480"/><area shape="rect" id="node25" href="_c_image_8h.html" title="CImage.h" alt="" coords="3545,528,3623,555"/><area shape="rect" id="node38" href="_t_camera_8h.html" title="TCamera.h" alt="" coords="2006,453,2092,480"/><area shape="rect" id="node42" href="_c_matrix_template_numeric_8h.html" title="CMatrixTemplateNumeric.h" alt="" coords="1913,304,2095,331"/><area shape="rect" id="node45" href="_c_matrix_d_8h.html" title="CMatrixD.h" alt="" coords="529,379,617,405"/><area shape="rect" id="node47" href="_c_pose3_d_p_d_f_8h.html" title="CPose3DPDF.h" alt="" coords="564,453,680,480"/><area shape="rect" id="node49" href="_c_pose_p_d_f_8h.html" title="CPosePDF.h" alt="" coords="1609,379,1708,405"/><area shape="rect" id="node51" href="_c_point_p_d_f_8h.html" title="CPointPDF.h" alt="" coords="1502,453,1601,480"/><area shape="rect" id="node53" href="_c_matrix_b_8h.html" title="CMatrixB.h" alt="" coords="1936,379,2024,405"/><area shape="rect" id="node65" href="_c_point2_d_8h.html" title="CPoint2D.h" alt="" coords="3259,304,3349,331"/><area shape="rect" id="node67" href="_c_point2_d_p_d_f_8h.html" title="CPoint2DPDF.h" alt="" coords="2963,379,3079,405"/><area shape="rect" id="node72" href="_c_polygon_8h.html" title="CPolygon.h" alt="" coords="2171,304,2261,331"/><area shape="rect" id="node75" href="_c_pose2_d_grid_template_8h.html" title="CPose2DGridTemplate.h" alt="" coords="2285,304,2453,331"/><area shape="rect" id="node79" href="_c_probability_particle_8h.html" title="CProbabilityParticle.h" alt="" coords="2478,304,2625,331"/><area shape="rect" id="node81" href="_c_poses2_d_sequence_8h.html" title="CPoses2DSequence.h" alt="" coords="2651,304,2804,331"/><area shape="rect" id="node83" href="_c_poses3_d_sequence_8h.html" title="CPoses3DSequence.h" alt="" coords="2829,304,2983,331"/><area shape="rect" id="node85" href="_c_message_8h.html" title="CMessage.h" alt="" coords="675,528,771,555"/><area shape="rect" id="node88" href="_c_string_list_8h.html" title="CStringList.h" alt="" coords="1384,304,1483,331"/><area shape="rect" id="node96" href="_c_memory_chunk_8h.html" title="CMemoryChunk.h" alt="" coords="279,304,407,331"/><area shape="rect" id="node99" href="_c_m_h_properties_values_list_8h.html" title="CMHPropertiesValuesList.h" alt="" coords="320,379,504,405"/><area shape="rect" id="node105" href="_c_simple_database_8h.html" title="CSimpleDatabase.h" alt="" coords="1835,528,1973,555"/><area shape="rect" id="node108" href="_c_properties_values_list_8h.html" title="CPropertiesValuesList.h" alt="" coords="1043,528,1205,555"/><area shape="rect" id="node112" href="_c_type_selector_8h.html" title="CTypeSelector.h" alt="" coords="1088,379,1208,405"/><area shape="rect" id="node116" href="_c_list_of_classes_8h.html" title="CListOfClasses.h" alt="" coords="1451,528,1577,555"/><area shape="rect" id="node119" href="_c_robot_simulator_8h.html" title="CRobotSimulator.h" alt="" coords="1627,453,1760,480"/></map> </div> </div> <p><a href="safe__pointers_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="nested-classes"></a> Classes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1utils_1_1safe__ptr__basic.html">mrpt::utils::safe_ptr_basic</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A wrapper class for pointers that can be safely copied with "=" operator without problems. <a href="structmrpt_1_1utils_1_1safe__ptr__basic.html#details">More...</a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1utils_1_1safe__ptr.html">mrpt::utils::safe_ptr</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A wrapper class for pointers that can be safely copied with "=" operator without problems. <a href="structmrpt_1_1utils_1_1safe__ptr.html#details">More...</a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1utils_1_1non__copiable__ptr__basic.html">mrpt::utils::non_copiable_ptr_basic</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A wrapper class for pointers that can NOT be copied with "=" operator, raising an exception at runtime if a copy is attempted. <a href="structmrpt_1_1utils_1_1non__copiable__ptr__basic.html#details">More...</a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1utils_1_1non__copiable__ptr.html">mrpt::utils::non_copiable_ptr</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A wrapper class for pointers that can NOT be copied with "=" operator, raising an exception at runtime if a copy is attempted. <a href="structmrpt_1_1utils_1_1non__copiable__ptr.html#details">More...</a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1utils_1_1copiable___n_u_l_l__ptr__basic.html">mrpt::utils::copiable_NULL_ptr_basic</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A wrapper class for pointers that, if copied with the "=" operator, should be set to NULL in the copy. <a href="structmrpt_1_1utils_1_1copiable___n_u_l_l__ptr__basic.html#details">More...</a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1utils_1_1copiable___n_u_l_l__ptr.html">mrpt::utils::copiable_NULL_ptr</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A wrapper class for pointers that, if copied with the "=" operator, should be set to NULL in the new copy. <a href="structmrpt_1_1utils_1_1copiable___n_u_l_l__ptr.html#details">More...</a><br/></td></tr> <tr><td colspan="2"><h2><a name="namespaces"></a> Namespaces</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt.html">mrpt</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><p>This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries. </p> <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1utils.html">mrpt::utils</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><p>Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL. </p> <br/></td></tr> <tr><td colspan="2"><h2><a name="typedef-members"></a> Typedefs</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef safe_ptr_basic< void > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1utils.html#a145a85c502eb31a87310181f5fa7db91">mrpt::utils::void_ptr</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef non_copiable_ptr_basic<br class="typebreak"/> < void > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1utils.html#ac3912bceb5e2a4662830ec51584d134b">mrpt::utils::void_ptr_noncopy</a></td></tr> </table> </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>