summaryrefslogtreecommitdiffstats
path: root/source/Concept/Framework/sensor.h
diff options
context:
space:
mode:
authorsicarius <devnull@localhost>2007-01-16 17:10:05 +0100
committersicarius <devnull@localhost>2007-01-16 17:10:05 +0100
commit79115386afc1dee957f77e9a82b5b9b2c5f347e6 (patch)
tree6b9f8dd15eb4032d569c026750095ba00a7479e5 /source/Concept/Framework/sensor.h
parent3b12c56f1b11be4aa538638baffa0b298440c57f (diff)
downloadrc2007-soccer-79115386afc1dee957f77e9a82b5b9b2c5f347e6.tar
rc2007-soccer-79115386afc1dee957f77e9a82b5b9b2c5f347e6.zip
Changed some things in Concept directory
Diffstat (limited to 'source/Concept/Framework/sensor.h')
-rw-r--r--source/Concept/Framework/sensor.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/source/Concept/Framework/sensor.h b/source/Concept/Framework/sensor.h
new file mode 100644
index 0000000..23e40e9
--- /dev/null
+++ b/source/Concept/Framework/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