summaryrefslogtreecommitdiffstats
path: root/source/Concept/Framework/sensor.h
diff options
context:
space:
mode:
authormasterm <devnull@localhost>2007-02-15 21:33:05 +0100
committermasterm <devnull@localhost>2007-02-15 21:33:05 +0100
commit91b2508dc92a97802353bd2e96f2849c835f0b2a (patch)
treeafd641c692dbe1acd46a5d194302ae66879fe81d /source/Concept/Framework/sensor.h
parent8d7053ca84a48fe63736b1ae6225624da7b9be44 (diff)
downloadrc2007-soccer-91b2508dc92a97802353bd2e96f2849c835f0b2a.tar
rc2007-soccer-91b2508dc92a97802353bd2e96f2849c835f0b2a.zip
+++ many updates to sources
Diffstat (limited to 'source/Concept/Framework/sensor.h')
-rw-r--r--source/Concept/Framework/sensor.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/source/Concept/Framework/sensor.h b/source/Concept/Framework/sensor.h
index 117f446..62f2165 100644
--- a/source/Concept/Framework/sensor.h
+++ b/source/Concept/Framework/sensor.h
@@ -1,7 +1,8 @@
#ifndef _SENSOR_H
#define _SENSOR_H
-#include "stdafx.h"
+#include "defines.h"
+#include "io_module.h"
class Sensor : public IO_Module
{
@@ -9,23 +10,18 @@ public:
Sensor()
{
this->parent = NULL;
+ this->moduleId = 0;
}
- Sensor(uint32 sensorId, SensorTypes sensorType)
+ Sensor(uint32 sensorId)
{
this->parent = NULL;
this->moduleId = sensorId;
- this->sensorType = sensorType;
}
protected:
- SensorTypes sensorType;
public:
- SensorTypes GetType()
- {
- return sensorType;
- }
};
#endif