25 lines
321 B
C++
25 lines
321 B
C++
#ifndef SENSOR_SAMPLER_HPP
|
|
#define SENSOR_SAMPLER_HPP
|
|
|
|
#include "ThreadWrapper.hpp"
|
|
|
|
namespace app {
|
|
|
|
class SensorSampler : public ThreadWrapper<SensorSampler> {
|
|
public:
|
|
SensorSampler() = default;
|
|
~SensorSampler() = default;
|
|
|
|
void init();
|
|
|
|
void run();
|
|
|
|
void finalize();
|
|
|
|
private:
|
|
};
|
|
|
|
} // namespace app
|
|
|
|
#endif
|