You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
346 B

#ifndef DATAPOLLCOMMAND_H
#define DATAPOLLCOMMAND_H
#include <QObject>
#include "command.h"
#include "src/MLX90640_API.h"
class DtPollCommand : public Command
{
protected:
MLX90640* _thermal;
public:
DtPollCommand(MLX90640* thermal) : _thermal(thermal){}
void exec() override {_thermal->getData();}
};
#endif // DATAPOLLCOMMAND_H