ChirpSim
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
sensor.h
Go to the documentation of this file.
1 #ifndef SENSOR_H
2 #define SENSOR_H
3 
5 
10 class Sensor
11 {
12 public:
17  virtual unsigned value() = 0;
18 
22  virtual void update() = 0;
23 
28  virtual PhysicalObject *objectHit() = 0;
29 };
30 
31 #endif // SENSOR_H