OSDN Git Service

Update ecrobot to nxtOSEK_v212.zip
[nxt-jsp/etrobo-atk.git] / nxtOSEK / ecrobot / c++ / html / _light_sensor_8h-source.html
diff --git a/nxtOSEK/ecrobot/c++/html/_light_sensor_8h-source.html b/nxtOSEK/ecrobot/c++/html/_light_sensor_8h-source.html
new file mode 100644 (file)
index 0000000..c01cb56
--- /dev/null
@@ -0,0 +1,54 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
+<title>ECRobot C++ API for LEGO MINDSTORMS NXT: device/LightSensor.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css">
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.5.8 -->
+<div class="navigation" id="top">
+  <div class="tabs">
+    <ul>
+      <li><a href="main.html"><span>Main&nbsp;Page</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>
+    </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>
+<h1>device/LightSensor.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//</span>
+<a name="l00002"></a>00002 <span class="comment">// LightSensor.h</span>
+<a name="l00003"></a>00003 <span class="comment">//</span>
+<a name="l00004"></a>00004 <span class="comment">// Copyright 2009 by Takashi Chikamasa, Jon C. Martin and Robert W. Kramer</span>
+<a name="l00005"></a>00005 <span class="comment">//</span>
+<a name="l00006"></a>00006 
+<a name="l00007"></a>00007 <span class="preprocessor">#ifndef LIGHTSENSOR_H_</span>
+<a name="l00008"></a>00008 <span class="preprocessor"></span><span class="preprocessor">#define LIGHTSENSOR_H_</span>
+<a name="l00009"></a>00009 <span class="preprocessor"></span>
+<a name="l00010"></a>00010 <span class="preprocessor">#include "Sensor.h"</span>
+<a name="l00011"></a>00011 
+<a name="l00012"></a>00012 <span class="keyword">namespace </span>ecrobot
+<a name="l00013"></a>00013 {
+<a name="l00017"></a><a class="code" href="classecrobot_1_1_light_sensor.html">00017</a> <span class="keyword">class </span><a class="code" href="classecrobot_1_1_light_sensor.html" title="NXT Light sensor class.">LightSensor</a>: <span class="keyword">public</span> <a class="code" href="classecrobot_1_1_sensor.html" title="A/D sensor abstract class.">Sensor</a>
+<a name="l00018"></a>00018 {
+<a name="l00019"></a>00019 <span class="keyword">public</span>:
+<a name="l00030"></a>00030         <span class="keyword">explicit</span> <a class="code" href="classecrobot_1_1_light_sensor.html#b82c8d96746a741f194208f6712b2c15" title="Constructor (turn on the lamp by default).">LightSensor</a>(<a class="code" href="_port_8h.html#8d17f8fabb486d5815d626610983e82d" title="Enum for NXT sensor ports.">ePortS</a> port, <span class="keywordtype">bool</span> lamp = <span class="keyword">true</span>);
+<a name="l00031"></a>00031 
+<a name="l00037"></a>00037         <a class="code" href="classecrobot_1_1_light_sensor.html#d47c4cc6671eb98f0ab55fdb863dbe57" title="Destructor (turn off the lamp if it was on).">~LightSensor</a>(<span class="keywordtype">void</span>);
+<a name="l00038"></a>00038 
+<a name="l00044"></a>00044         S16 <a class="code" href="classecrobot_1_1_light_sensor.html#54dbe2cb8df4a8b957547db3c36fbbd0" title="Get brightness.">getBrightness</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
+<a name="l00045"></a>00045 
+<a name="l00051"></a>00051         <span class="keywordtype">void</span> <a class="code" href="classecrobot_1_1_light_sensor.html#a98e40c8fd604e429fef550c2e102d0b" title="Turn on/off the lamp.">setLamp</a>(<span class="keywordtype">bool</span> lamp);
+<a name="l00052"></a>00052 };
+<a name="l00053"></a>00053 }
+<a name="l00054"></a>00054 
+<a name="l00055"></a>00055 <span class="preprocessor">#endif</span>
+</pre></div></div>
+<hr size="1"><address style="text-align: right;"><small>Generated on Fri May 15 13:47:57 2009 for ECRobot C++ API for LEGO MINDSTORMS NXT by&nbsp;
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
+</body>
+</html>