summaryrefslogtreecommitdiffstats
path: root/source/Concept/sensor.h
diff options
context:
space:
mode:
authormasterm <devnull@localhost>2007-01-14 19:07:03 +0100
committermasterm <devnull@localhost>2007-01-14 19:07:03 +0100
commitd22cf4b33b7e9a3de5e4e3cb8aec617f739c465a (patch)
treeba72555863c75c3df9c36e4f5e48ed70759b7967 /source/Concept/sensor.h
parentf2e4b847be5cbaecc4562f4ae9f75e9f7473ee12 (diff)
downloadrc2007-soccer-d22cf4b33b7e9a3de5e4e3cb8aec617f739c465a.tar
rc2007-soccer-d22cf4b33b7e9a3de5e4e3cb8aec617f739c465a.zip
+++ added soccer robot framework
Diffstat (limited to 'source/Concept/sensor.h')
-rw-r--r--source/Concept/sensor.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/source/Concept/sensor.h b/source/Concept/sensor.h
new file mode 100644
index 0000000..23e40e9
--- /dev/null
+++ b/source/Concept/sensor.h
@@ -0,0 +1,29 @@
+#ifndef _SENSOR_H
+#define _SENSOR_H
+
+#include "stdafx.h"
+
+class Sensor : public IO_Module
+{
+public:
+ Sensor()
+ {
+ }
+
+ Sensor(uint32 sensorId, SensorTypes sensorType)
+ {
+ this->moduleId = sensorId;
+ this->sensorType = sensorType;
+ }
+
+protected:
+ SensorTypes sensorType;
+
+public:
+ SensorTypes GetType()
+ {
+ return sensorType;
+ }
+};
+
+#endif \ No newline at end of file