Sophie

Sophie

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

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>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.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><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&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#define-members">Defines</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">CGenericSensor.h File Reference</div>  </div>
</div>
<div class="contents">
<div class="textblock"><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><div class="textblock"><div class="dynheader">
Include dependency graph for CGenericSensor.h:</div>
<div class="dyncontent">
<div class="center"><img src="_c_generic_sensor_8h__incl.png" border="0" usemap="#_c_generic_sensor_8h" alt=""/></div>
<map name="_c_generic_sensor_8h" id="_c_generic_sensor_8h">
<area shape="rect" id="node3" href="_c_config_file_base_8h.html" title="mrpt/utils/CConfigFileBase.h" alt="" coords="1481,80,1671,107"/><area shape="rect" id="node117" href="_c_observation_8h.html" title="mrpt/slam/CObservation.h" alt="" coords="527,229,701,256"/><area shape="rect" id="node127" href="synch_8h.html" title="mrpt/synch.h" alt="" coords="908,155,1007,181"/><area shape="rect" id="node148" href="threads_8h.html" title="mrpt/system/threads.h" alt="" coords="2109,80,2261,107"/><area shape="rect" id="node151" href="hwdrivers_2include_2mrpt_2hwdrivers_2link__pragmas_8h.html" title="mrpt/hwdrivers/link_pragmas.h" alt="" coords="4,752,203,779"/><area shape="rect" id="node5" href="utils__defs_8h.html" title="mrpt/utils/utils_defs.h" alt="" coords="1469,453,1616,480"/><area shape="rect" id="node82" href="_t_enum_type_8h.html" title="mrpt/utils/TEnumType.h" alt="" coords="1376,155,1539,181"/><area shape="rect" id="node95" href="_c_matrix_template_8h.html" title="mrpt/math/CMatrixTemplate.h" alt="" coords="1851,155,2047,181"/><area shape="rect" id="node114" href="string__utils_8h.html" title="mrpt/system/string_utils.h" alt="" coords="1456,379,1629,405"/><area shape="rect" id="node9" href="os_8h.html" title="mrpt/system/os.h" alt="" coords="821,528,944,555"/><area shape="rect" id="node18" href="base_2include_2mrpt_2base_2link__pragmas_8h.html" title="mrpt/base/link_pragmas.h" alt="" coords="518,752,689,779"/><area shape="rect" id="node21" href="boost__join_8h.html" title="mrpt/utils/boost_join.h" alt="" coords="295,827,445,853"/><area shape="rect" id="node23" href="base_2include_2mrpt_2utils_2types_8h.html" title="mrpt/utils/types.h" alt="" coords="1701,603,1824,629"/><area shape="rect" id="node43" href="mrpt__macros_8h.html" title="mrpt/utils/mrpt_macros.h" alt="" coords="713,603,879,629"/><area shape="rect" id="node46" href="compiler__fixes_8h.html" title="mrpt/utils/compiler_fixes.h" alt="" coords="1581,528,1755,555"/><area shape="rect" id="node73" href="smart__ptr_8hpp.html" title="mrpt/otherlibs/stlplus/smart_ptr.hpp" alt="" coords="519,528,745,555"/><area shape="rect" id="node79" href="bits_8h.html" title="mrpt/utils/bits.h" alt="" coords="1241,528,1352,555"/><area shape="rect" id="node28" href="math__frwds_8h.html" title="mrpt/math/math_frwds.h" alt="" coords="2085,677,2248,704"/><area shape="rect" id="node75" href="atomic__incr_8h.html" title="mrpt/synch/atomic_incr.h" alt="" coords="519,603,688,629"/><area shape="rect" id="node85" href="stl__extensions_8h.html" title="mrpt/utils/stl_extensions.h" alt="" coords="829,229,1003,256"/><area shape="rect" id="node87" href="_c_serializable_8h.html" title="mrpt/utils/CSerializable.h" alt="" coords="1067,304,1235,331"/><area shape="rect" id="node89" href="_c_stream_8h.html" title="mrpt/utils/CStream.h" alt="" coords="970,379,1112,405"/><area shape="rect" id="node98" href="memory_8h.html" title="mrpt/system/memory.h" alt="" coords="1755,379,1912,405"/><area shape="rect" id="node101" href="datetime_8h.html" title="mrpt/system/datetime.h" alt="" coords="1701,304,1860,331"/><area shape="rect" id="node105" href="matrix__adaptors_8h.html" title="mrpt/math/matrix_adaptors.h" alt="" coords="2289,379,2479,405"/><area shape="rect" id="node109" href="_c_array_8h.html" title="mrpt/math/CArray.h" alt="" coords="1987,229,2124,256"/><area shape="rect" id="node119" href="obs_2include_2mrpt_2obs_2link__pragmas_8h.html" title="mrpt/obs/link_pragmas.h" alt="" coords="228,752,392,779"/><area shape="rect" id="node130" href="_c_critical_section_8h.html" title="synch/CCriticalSection.h" alt="" coords="1259,304,1425,331"/><area shape="rect" id="node134" href="_c_event_8h.html" title="synch/CEvent.h" alt="" coords="875,304,991,331"/><area shape="rect" id="node138" href="_c_semaphore_8h.html" title="synch/CSemaphore.h" alt="" coords="703,304,851,331"/><area shape="rect" id="node142" href="_m_t__buffer_8h.html" title="synch/MT_buffer.h" alt="" coords="1299,229,1428,256"/><area shape="rect" id="node145" href="_c_thread_safe_variable_8h.html" title="synch/CThreadSafeVariable.h" alt="" coords="1027,229,1223,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="_c_generic_sensor_8h__dep__incl.png" border="0" usemap="#_c_generic_sensor_8hdep" alt=""/></div>
<map name="_c_generic_sensor_8hdep" id="_c_generic_sensor_8hdep">
<area shape="rect" id="node3" href="_c2_d_range_finder_abstract_8h.html" title="C2DRangeFinderAbstract.h" alt="" coords="205,80,387,107"/><area shape="rect" id="node9" href="hwdrivers_8h.html" title="hwdrivers.h" alt="" coords="952,304,1041,331"/><area shape="rect" id="node22" href="_c_activ_media_robot_base_8h.html" title="CActivMediaRobotBase.h" alt="" coords="489,155,662,181"/><area shape="rect" id="node25" href="_c_board_d_l_m_s_8h.html" title="CBoardDLMS.h" alt="" coords="675,229,790,256"/><area shape="rect" id="node28" href="_c_board_e_noses_8h.html" title="CBoardENoses.h" alt="" coords="737,155,861,181"/><area shape="rect" id="node31" href="_c_board_i_r_8h.html" title="CBoardIR.h" alt="" coords="867,229,958,256"/><area shape="rect" id="node34" href="_c_board_sonars_8h.html" title="CBoardSonars.h" alt="" coords="937,155,1055,181"/><area shape="rect" id="node37" href="_c_camera_sensor_8h.html" title="CCameraSensor.h" alt="" coords="1079,155,1209,181"/><area shape="rect" id="node40" href="_c_swiss_ranger3_d_camera_8h.html" title="CSwissRanger3DCamera.h" alt="" coords="1038,80,1222,107"/><area shape="rect" id="node44" href="_c_kinect_8h.html" title="CKinect.h" alt="" coords="1246,80,1325,107"/><area shape="rect" id="node48" href="_c_g_p_s_interface_8h.html" title="CGPSInterface.h" alt="" coords="1319,229,1442,256"/><area shape="rect" id="node51" href="_c_gyro_k_v_h_d_s_p3000_8h.html" title="CGyroKVHDSP3000.h" alt="" coords="1386,155,1539,181"/><area shape="rect" id="node54" href="_c_ibeo_lux_e_t_h_8h.html" title="CIbeoLuxETH.h" alt="" coords="1517,229,1633,256"/><area shape="rect" id="node57" href="_c_i_m_u_x_sens_8h.html" title="CIMUXSens.h" alt="" coords="1615,155,1722,181"/><area shape="rect" id="node60" href="_c_n_t_r_i_p_emitter_8h.html" title="CNTRIPEmitter.h" alt="" coords="1553,80,1679,107"/><area shape="rect" id="node63" href="_c_phidget_interface_kit_proximity_sensors_8h.html" title="CPhidgetInterfaceKitProximitySensors.h" alt="" coords="1704,80,1961,107"/><area shape="rect" id="node66" href="_c_rovio_8h.html" title="CRovio.h" alt="" coords="1986,80,2062,107"/><area shape="rect" id="node69" href="_c_wireless_power_8h.html" title="CWirelessPower.h" alt="" coords="2087,80,2217,107"/><area shape="rect" id="node5" href="_c_hokuyo_u_r_g_8h.html" title="CHokuyoURG.h" alt="" coords="39,155,157,181"/><area shape="rect" id="node12" href="_c_l_m_s100eth_8h.html" title="CLMS100eth.h" alt="" coords="222,229,331,256"/><area shape="rect" id="node15" href="_c_sick_laser_serial_8h.html" title="CSickLaserSerial.h" alt="" coords="356,229,490,256"/><area shape="rect" id="node18" href="_c_sick_laser_u_s_b_8h.html" title="CSickLaserUSB.h" alt="" coords="284,155,413,181"/><area shape="rect" id="node7" href="_c_ptu_hokuyo_8h.html" title="CPtuHokuyo.h" alt="" coords="39,229,146,256"/></map>
</div>
</div>
<p><a href="_c_generic_sensor_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 &#160;</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">&#160;</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 RawLogGrabbe...">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 &#160;</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">&#160;</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 &#160;</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">&#160;</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><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt.html">mrpt</a></td></tr>
<tr><td class="mdescLeft">&#160;</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 &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1hwdrivers.html">mrpt::hwdrivers</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><p>Contains classes for various device interfaces. </p>
<br/></td></tr>
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_generic_sensor_8h.html#a9f1b606f47df314fba2e4a2509e02546">SENSOR_CLASS_ID</a>(class_name)&#160;&#160;&#160;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&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_generic_sensor_8h.html#ad129b71e6d398e603d9444fe527120c4">SENSOR_IS_CLASS</a>(ptrObj, class_name)&#160;&#160;&#160;(ptrObj-&gt;GetRuntimeClass()==SENSOR_CLASS_ID(class_name))</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</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">&#160;</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&#160;</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">&#160;</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><a name="typedef-members"></a>
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;&#160;</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><a name="var-members"></a>
Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class HWDRIVERS_IMPEXP&#160;</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">&#160;</td>
          <td class="paramname">class_name</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment"><span class="keyword">protected</span>: \
                        static mrpt::hwdrivers::CGenericSensor::CLASSINIT_GENERIC_SENSOR _init_##class_name;\
                public: \
                        static  mrpt::hwdrivers::TSensorClassId <span class="keyword">class</span>##class_name; \
                        virtual <span class="keyword">const</span> mrpt::hwdrivers::TSensorClassId* GetRuntimeClass() <span class="keyword">const</span>; \
                        static  mrpt<a class="code" href="namespacemrpt_1_1hwdrivers.html#a3f369b2dbc16368a52f0ddab62ba5702">::hwdrivers::CGenericSensor</a>* CreateObject(); \
                        static <span class="keywordtype">void</span> doRegister() \
                        {       <a class="code" href="group__mrpt__base__grp.html#ga5af77a9809680e1559cde8167361518e" title="Register a class into the MRPT internal list of &quot;CSerializable&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#l00256">256</a> of file <a class="el" href="_c_generic_sensor_8h_source.html">CGenericSensor.h</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">&#160;</td>
          <td class="paramname">class_name, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">NameSpace&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment">mrpt<a class="code" href="namespacemrpt_1_1hwdrivers.html#a3f369b2dbc16368a52f0ddab62ba5702">::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 ); } \
                        mrpt::hwdrivers::TSensorClassId 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#l00268">268</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">&#160;</td>
          <td class="paramname">class_name</td><td>)</td>
          <td>&#160;&#160;&#160;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#l00248">248</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">&#160;</td>
          <td class="paramname">ptrObj, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">class_name&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(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#l00251">251</a> of file <a class="el" href="_c_generic_sensor_8h_source.html">CGenericSensor.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>