This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
rc2007-soccer/source/Concept/Framework/sensor.h

32 lines
417 B
C
Raw Normal View History

2007-01-14 18:07:03 +00:00
#ifndef _SENSOR_H
#define _SENSOR_H
#include "stdafx.h"
class Sensor : public IO_Module
{
public:
Sensor()
{
this->parent = NULL;
2007-01-14 18:07:03 +00:00
}
Sensor(uint32 sensorId, SensorTypes sensorType)
{
this->parent = NULL;
2007-01-14 18:07:03 +00:00
this->moduleId = sensorId;
this->sensorType = sensorType;
}
protected:
SensorTypes sensorType;
public:
SensorTypes GetType()
{
return sensorType;
}
};
#endif