Extrospector and Interoceptor both inherit from Sensor now
This commit is contained in:
@@ -3,17 +3,19 @@
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace hk {
|
||||
namespace sensors {
|
||||
|
||||
class Sensor
|
||||
{
|
||||
public:
|
||||
Sensor(uint32_t _id, uint32_t _value = 0)
|
||||
: id(_id), value(_value)
|
||||
{}
|
||||
Sensor() = default;
|
||||
~Sensor() = default;
|
||||
|
||||
public:
|
||||
uint32_t id;
|
||||
uint64_t value;
|
||||
};
|
||||
|
||||
} // namespace sensors
|
||||
} // namespace hk
|
||||
|
||||
#endif // _SENSOR_H
|
||||
|
||||
Reference in New Issue
Block a user