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