Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > e6f1a3debfddb2a6cccaab627266a0ea > files > 552

mrpt-doc-0.9.0-0.5.fc14.x86_64.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>The MRPT project: CGenericSensor.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> &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.6.2-20100208 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</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">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </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>
<div class="contents">
<h1>CGenericSensor.h File Reference</h1><code>#include &lt;<a class="el" href="_c_config_file_base_8h_source.html">mrpt/utils/CConfigFileBase.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="_c_observation_8h_source.html">mrpt/slam/CObservation.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="synch_8h_source.html">mrpt/synch.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="threads_8h_source.html">mrpt/system/threads.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="hwdrivers_2include_2mrpt_2hwdrivers_2link__pragmas_8h_source.html">mrpt/hwdrivers/link_pragmas.h</a>&gt;</code><br/>
<div class="dynheader">
Include dependency graph for CGenericSensor.h:</div>
<div class="dynsection">
<div class="center"><img src="_c_generic_sensor_8h__incl.png" border="0" usemap="#_c_generic_sensor_8h_map" alt=""/></div>
<map name="_c_generic_sensor_8h_map" id="_c_generic_sensor_8h">
<area shape="rect" id="node3" href="_c_config_file_base_8h.html" title="mrpt/utils/CConfigFileBase.h" alt="" coords="1245,83,1434,112"/><area shape="rect" id="node113" href="_c_observation_8h.html" title="mrpt/slam/CObservation.h" alt="" coords="894,237,1067,267"/><area shape="rect" id="node123" href="synch_8h.html" title="mrpt/synch.h" alt="" coords="654,160,753,189"/><area shape="rect" id="node149" href="threads_8h.html" title="mrpt/system/threads.h" alt="" coords="1023,83,1175,112"/><area shape="rect" id="node152" href="hwdrivers_2include_2mrpt_2hwdrivers_2link__pragmas_8h.html" title="mrpt/hwdrivers/link_pragmas.h" alt="" coords="46,933,246,963"/><area shape="rect" id="node5" href="utils__defs_8h.html" title="mrpt/utils/utils_defs.h" alt="" coords="1089,624,1235,653"/><area shape="rect" id="node78" href="_c_matrix_template_8h.html" title="mrpt/math/CMatrixTemplate.h" alt="" coords="1598,160,1793,189"/><area shape="rect" id="node9" href="os_8h.html" title="mrpt/system/os.h" alt="" coords="467,701,590,731"/><area shape="rect" id="node22" href="base_2include_2mrpt_2base_2link__pragmas_8h.html" title="mrpt/base/link_pragmas.h" alt="" coords="511,933,682,963"/><area shape="rect" id="node25" href="boost__join_8h.html" title="mrpt/utils/boost_join.h" alt="" coords="174,1011,323,1040"/><area shape="rect" id="node27" href="types_8h.html" title="mrpt/utils/types.h" alt="" coords="1446,779,1569,808"/><area shape="rect" id="node71" href="smart__ptr_8hpp.html" title="mrpt/otherlibs/stlplus/smart_ptr.hpp" alt="" coords="195,779,422,808"/><area shape="rect" id="node34" href="math__frwds_8h.html" title="mrpt/math/math_frwds.h" alt="" coords="1605,856,1767,885"/><area shape="rect" id="node73" href="atomic__incr_8h.html" title="mrpt/synch/atomic_incr.h" alt="" coords="239,856,407,885"/><area shape="rect" id="node81" href="memory_8h.html" title="mrpt/system/memory.h" alt="" coords="1543,547,1701,576"/><area shape="rect" id="node84" href="datetime_8h.html" title="mrpt/system/datetime.h" alt="" coords="1142,315,1302,344"/><area shape="rect" id="node88" href="_c_array_8h.html" title="mrpt/math/CArray.h" alt="" coords="1774,237,1910,267"/><area shape="rect" id="node93" href="_c_serializable_8h.html" title="mrpt/utils/CSerializable.h" alt="" coords="1377,315,1545,344"/><area shape="rect" id="node95" href="_c_object_8h.html" title="mrpt/utils/CObject.h" alt="" coords="1301,469,1439,499"/><area shape="rect" id="node98" href="safe__pointers_8h.html" title="mrpt/utils/safe_pointers.h" alt="" coords="1351,547,1519,576"/><area shape="rect" id="node102" href="_c_stream_8h.html" title="mrpt/utils/CStream.h" alt="" coords="927,392,1069,421"/><area shape="rect" id="node105" href="_c_uncopiable_8h.html" title="mrpt/utils/CUncopiable.h" alt="" coords="909,547,1074,576"/><area shape="rect" id="node109" href="exceptions_8h.html" title="mrpt/utils/exceptions.h" alt="" coords="743,469,898,499"/><area shape="rect" id="node115" href="obs_2include_2mrpt_2obs_2link__pragmas_8h.html" title="mrpt/obs/link_pragmas.h" alt="" coords="270,933,435,963"/><area shape="rect" id="node126" href="_c_critical_section_8h.html" title="synch/CCriticalSection.h" alt="" coords="542,315,707,344"/><area shape="rect" id="node133" href="_c_event_8h.html" title="synch/CEvent.h" alt="" coords="731,315,846,344"/><area shape="rect" id="node138" href="_c_semaphore_8h.html" title="synch/CSemaphore.h" alt="" coords="870,315,1017,344"/><area shape="rect" id="node143" href="_m_t__buffer_8h.html" title="synch/MT_buffer.h" alt="" coords="638,237,769,267"/><area shape="rect" id="node146" href="_c_thread_safe_variable_8h.html" title="synch/CThreadSafeVariable.h" alt="" coords="369,237,563,267"/><area shape="rect" id="node130" href="_c_referenced_mem_block_8h.html" title="mrpt/utils/CReferencedMemBlock.h" alt="" coords="674,392,903,421"/></map>
</div>
<div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dynsection">
<div class="center"><img src="_c_generic_sensor_8h__dep__incl.png" border="0" usemap="#_c_generic_sensor_8hdep_map" alt=""/></div>
<map name="_c_generic_sensor_8hdep_map" id="_c_generic_sensor_8hdep">
<area shape="rect" id="node3" href="_c2_d_range_finder_abstract_8h.html" title="C2DRangeFinderAbstract.h" alt="" coords="185,83,367,112"/><area shape="rect" id="node9" href="hwdrivers_8h.html" title="hwdrivers.h" alt="" coords="737,315,825,344"/><area shape="rect" id="node22" href="_c_activ_media_robot_base_8h.html" title="CActivMediaRobotBase.h" alt="" coords="541,160,715,189"/><area shape="rect" id="node25" href="_c_board_d_l_m_s_8h.html" title="CBoardDLMS.h" alt="" coords="739,160,853,189"/><area shape="rect" id="node28" href="_c_board_e_noses_8h.html" title="CBoardENoses.h" alt="" coords="769,237,892,267"/><area shape="rect" id="node31" href="_c_board_i_r_8h.html" title="CBoardIR.h" alt="" coords="928,160,1019,189"/><area shape="rect" id="node34" href="_c_board_sonars_8h.html" title="CBoardSonars.h" alt="" coords="967,237,1084,267"/><area shape="rect" id="node37" href="_c_camera_sensor_8h.html" title="CCameraSensor.h" alt="" coords="1093,160,1224,189"/><area shape="rect" id="node40" href="_c_g_p_s_interface_8h.html" title="CGPSInterface.h" alt="" coords="1159,237,1281,267"/><area shape="rect" id="node43" href="_c_i_m_u_x_sens_8h.html" title="CIMUXSens.h" alt="" coords="1195,83,1301,112"/><area shape="rect" id="node46" href="_c_n_t_r_i_p_emitter_8h.html" title="CNTRIPEmitter.h" alt="" coords="1325,83,1451,112"/><area shape="rect" id="node49" href="_c_rovio_8h.html" title="CRovio.h" alt="" coords="1475,83,1552,112"/><area shape="rect" id="node52" href="_c_swiss_ranger3_d_camera_8h.html" title="CSwissRanger3DCamera.h" alt="" coords="1576,83,1760,112"/><area shape="rect" id="node5" href="_c_hokuyo_u_r_g_8h.html" title="CHokuyoURG.h" alt="" coords="45,160,163,189"/><area shape="rect" id="node12" href="_c_l_m_s100eth_8h.html" title="CLMS100eth.h" alt="" coords="237,237,347,267"/><area shape="rect" id="node15" href="_c_sick_laser_serial_8h.html" title="CSickLaserSerial.h" alt="" coords="371,237,504,267"/><area shape="rect" id="node18" href="_c_sick_laser_u_s_b_8h.html" title="CSickLaserUSB.h" alt="" coords="339,160,467,189"/><area shape="rect" id="node7" href="_c_ptu_hokuyo_8h.html" title="CPtuHokuyo.h" alt="" coords="5,237,112,267"/></map>
</div>

<p><a href="_c_generic_sensor_8h_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1hwdrivers_1_1_t_sensor_class_id.html">mrpt::hwdrivers::TSensorClassId</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A structure for runtime ID class type information in the context of <a class="el" href="classmrpt_1_1hwdrivers_1_1_c_generic_sensor.html" title="A generic interface for a wide-variety of sensors designed to be used in the application...">hwdrivers::CGenericSensor</a>.  <a href="structmrpt_1_1hwdrivers_1_1_t_sensor_class_id.html#_details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hwdrivers_1_1_c_generic_sensor.html">mrpt::hwdrivers::CGenericSensor</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A generic interface for a wide-variety of sensors designed to be used in the application RawLogGrabber.  <a href="classmrpt_1_1hwdrivers_1_1_c_generic_sensor.html#_details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1hwdrivers_1_1_c_generic_sensor_1_1_c_l_a_s_s_i_n_i_t___g_e_n_e_r_i_c___s_e_n_s_o_r.html">mrpt::hwdrivers::CGenericSensor::CLASSINIT_GENERIC_SENSOR</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Auxiliary structure used for CSerializable runtime class ID support.  <a href="structmrpt_1_1hwdrivers_1_1_c_generic_sensor_1_1_c_l_a_s_s_i_n_i_t___g_e_n_e_r_i_c___s_e_n_s_o_r.html#_details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2>Namespaces</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt.html">mrpt</a></td></tr>

<p><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><p>This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries. </p>
<br/></td></tr>
</p>
<tr><td class="memItemLeft" align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1hwdrivers.html">mrpt::hwdrivers</a></td></tr>

<p><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><p>Contains classes for various device interfaces. </p>
<br/></td></tr>
</p>
<tr><td colspan="2"><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_generic_sensor_8h.html#a9f1b606f47df314fba2e4a2509e02546">SENSOR_CLASS_ID</a>(class_name)&nbsp;&nbsp;&nbsp;static_cast&lt;const <a class="el" href="structmrpt_1_1hwdrivers_1_1_t_sensor_class_id.html">mrpt::hwdrivers::TSensorClassId</a>*&gt;(&amp; mrpt::hwdrivers::class_name::class##class_name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_generic_sensor_8h.html#ad129b71e6d398e603d9444fe527120c4">SENSOR_IS_CLASS</a>(ptrObj, class_name)&nbsp;&nbsp;&nbsp;(ptrObj-&gt;GetRuntimeClass()==SENSOR_CLASS_ID(class_name))</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_generic_sensor_8h.html#ab8b72c811c520eb036fa4080d9cd9d1d">DEFINE_GENERIC_SENSOR</a>(class_name)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This declaration must be inserted in all CGenericSensor classes definition, within the class declaration.  <a href="#ab8b72c811c520eb036fa4080d9cd9d1d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_generic_sensor_8h.html#ac3c515c8c914f6b6e838ac586526f179">IMPLEMENTS_GENERIC_SENSOR</a>(class_name, NameSpace)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This must be inserted in all CGenericSensor classes implementation files:.  <a href="#ac3c515c8c914f6b6e838ac586526f179"></a><br/></td></tr>
<tr><td colspan="2"><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classstlplus_1_1smart__ptr.html">stlplus::smart_ptr</a><br class="typebreak"/>
&lt; CGenericSensor &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1hwdrivers.html#a71aef48ea8dd23e43c706cc1a3ae0e74">mrpt::hwdrivers::CGenericSensorPtr</a></td></tr>
<tr><td colspan="2"><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class HWDRIVERS_IMPEXP&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1hwdrivers.html#a3f369b2dbc16368a52f0ddab62ba5702">mrpt::hwdrivers::CGenericSensor</a></td></tr>
</table>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="ab8b72c811c520eb036fa4080d9cd9d1d"></a><!-- doxytag: member="CGenericSensor.h::DEFINE_GENERIC_SENSOR" ref="ab8b72c811c520eb036fa4080d9cd9d1d" args="(class_name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DEFINE_GENERIC_SENSOR</td>
          <td>(</td>
          <td class="paramtype">class_name&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment"><span class="keyword">protected</span>: \
                        <span class="keyword">static</span> <a class="code" href="structmrpt_1_1hwdrivers_1_1_c_generic_sensor_1_1_c_l_a_s_s_i_n_i_t___g_e_n_e_r_i_c___s_e_n_s_o_r.html" title="Auxiliary structure used for CSerializable runtime class ID support.">mrpt::hwdrivers::CGenericSensor::CLASSINIT_GENERIC_SENSOR</a> _init_##class_name;\
                <span class="keyword">public</span>: \
                        <span class="keyword">static</span>  <a class="code" href="structmrpt_1_1hwdrivers_1_1_t_sensor_class_id.html" title="A structure for runtime ID class type information in the context of hwdrivers::CGenericSensor...">mrpt::hwdrivers::TSensorClassId</a> <span class="keyword">class</span>##class_name; \
                        <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="structmrpt_1_1hwdrivers_1_1_t_sensor_class_id.html" title="A structure for runtime ID class type information in the context of hwdrivers::CGenericSensor...">mrpt::hwdrivers::TSensorClassId</a>* GetRuntimeClass() <span class="keyword">const</span>; \
                        <span class="keyword">static</span>  <a class="code" href="classmrpt_1_1hwdrivers_1_1_c_generic_sensor.html" title="A generic interface for a wide-variety of sensors designed to be used in the application...">mrpt::hwdrivers::CGenericSensor</a>* CreateObject(); \
                        <span class="keyword">static</span> <span class="keywordtype">void</span> doRegister() \
                        {       <a class="code" href="namespacemrpt_1_1utils.html#a5af77a9809680e1559cde8167361518e" title="Register a class into the MRPT internal list of &amp;quot;CSerializable&amp;quot; descendents...">CGenericSensor::registerClass</a>( <a class="code" href="_c_generic_sensor_8h.html#a9f1b606f47df314fba2e4a2509e02546">SENSOR_CLASS_ID</a>( class_name ) ); }
</pre></div>
<p>This declaration must be inserted in all CGenericSensor classes definition, within the class declaration. </p>

<p>Definition at line <a class="el" href="_c_generic_sensor_8h_source.html#l00210">210</a> of file <a class="el" href="_c_generic_sensor_8h_source.html">CGenericSensor.h</a>.</p>

<p>Referenced by <a class="el" href="_c_activ_media_robot_base_8h_source.html#l00073">mrpt::hwdrivers::CActivMediaRobotBase::getSerialPortBaudRate()</a>, and <a class="el" href="_c_n_t_r_i_p_emitter_8h_source.html#l00062">mrpt::hwdrivers::CNTRIPEmitter::setOutputSerialPort()</a>.</p>

</div>
</div>
<a class="anchor" id="ac3c515c8c914f6b6e838ac586526f179"></a><!-- doxytag: member="CGenericSensor.h::IMPLEMENTS_GENERIC_SENSOR" ref="ac3c515c8c914f6b6e838ac586526f179" args="(class_name, NameSpace)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IMPLEMENTS_GENERIC_SENSOR</td>
          <td>(</td>
          <td class="paramtype">class_name, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">NameSpace&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment"><a class="code" href="classmrpt_1_1hwdrivers_1_1_c_generic_sensor.html" title="A generic interface for a wide-variety of sensors designed to be used in the application...">mrpt::hwdrivers::CGenericSensor</a>* NameSpace::class_name::CreateObject() \
                                { <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><a class="code" href="namespacemrpt_1_1hwdrivers.html#a3f369b2dbc16368a52f0ddab62ba5702">hwdrivers::CGenericSensor</a>*<span class="keyword">&gt;</span>( <span class="keyword">new</span> NameSpace::class_name ); } \
                        <a class="code" href="structmrpt_1_1hwdrivers_1_1_t_sensor_class_id.html" title="A structure for runtime ID class type information in the context of hwdrivers::CGenericSensor...">mrpt::hwdrivers::TSensorClassId</a> NameSpace::class_name::class##class_name = { \
<span class="preprocessor">                                #class_name, NameSpace::class_name::CreateObject }; \</span>
<span class="preprocessor">                        const mrpt::hwdrivers::TSensorClassId* NameSpace::class_name::GetRuntimeClass() const \</span>
<span class="preprocessor">                                { return SENSOR_CLASS_ID(class_name); }</span>
</pre></div>
<p>This must be inserted in all CGenericSensor classes implementation files:. </p>

<p>Definition at line <a class="el" href="_c_generic_sensor_8h_source.html#l00222">222</a> of file <a class="el" href="_c_generic_sensor_8h_source.html">CGenericSensor.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9f1b606f47df314fba2e4a2509e02546"></a><!-- doxytag: member="CGenericSensor.h::SENSOR_CLASS_ID" ref="a9f1b606f47df314fba2e4a2509e02546" args="(class_name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SENSOR_CLASS_ID</td>
          <td>(</td>
          <td class="paramtype">class_name&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td>&nbsp;&nbsp;&nbsp;static_cast&lt;const <a class="el" href="structmrpt_1_1hwdrivers_1_1_t_sensor_class_id.html">mrpt::hwdrivers::TSensorClassId</a>*&gt;(&amp; mrpt::hwdrivers::class_name::class##class_name)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_generic_sensor_8h_source.html#l00202">202</a> of file <a class="el" href="_c_generic_sensor_8h_source.html">CGenericSensor.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad129b71e6d398e603d9444fe527120c4"></a><!-- doxytag: member="CGenericSensor.h::SENSOR_IS_CLASS" ref="ad129b71e6d398e603d9444fe527120c4" args="(ptrObj, class_name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SENSOR_IS_CLASS</td>
          <td>(</td>
          <td class="paramtype">ptrObj, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">class_name&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td>&nbsp;&nbsp;&nbsp;(ptrObj-&gt;GetRuntimeClass()==SENSOR_CLASS_ID(class_name))</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_generic_sensor_8h_source.html#l00205">205</a> of file <a class="el" href="_c_generic_sensor_8h_source.html">CGenericSensor.h</a>.</p>

</div>
</div>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&nbsp;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<br><hr><br> <table border="0" width="100%"> <tr> <td> Page generated by <a href="http://www.doxygen.org" target="_blank">Doxygen 1.6.2-20100208</a> for MRPT 0.9.0 SVN: at Wed Jul 14 12:48:09 UTC 2010</td><td></td> <td width="100"> </td> <td width="150">  </td></tr> </table> </body></html>