LCOV - code coverage report
Current view: top level - src/app - calibratecommand.h (source / functions) Hit Total Coverage
Project: QtPokit Lines: 1 1 100.0 %
Version: Functions: 0 0 -

          Line data    Source code
       1             : // SPDX-FileCopyrightText: 2022 Paul Colby <git@colby.id.au>
       2             : // SPDX-License-Identifier: LGPL-3.0-or-later
       3             : 
       4             : #include "devicecommand.h"
       5             : 
       6             : class CalibrationService;
       7             : 
       8         255 : class CalibrateCommand : public DeviceCommand
       9             : {
      10             : public:
      11             :     explicit CalibrateCommand(QObject * const parent);
      12             : 
      13             :     QStringList requiredOptions(const QCommandLineParser &parser) const override;
      14             :     QStringList supportedOptions(const QCommandLineParser &parser) const override;
      15             : 
      16             : public slots:
      17             :     QStringList processOptions(const QCommandLineParser &parser) override;
      18             : 
      19             : protected:
      20             :     AbstractPokitService * getService() override;
      21             : 
      22             : protected slots:
      23             :     void serviceDetailsDiscovered() override;
      24             : 
      25             : private:
      26             :     CalibrationService * service; ///< Bluetooth service this command interracts with.
      27             :     float temperature; ///< Ambient temperature from the CLI options.
      28             : 
      29             : private slots:
      30             :     void temperatureCalibrated();
      31             : 
      32             :     friend class TestCalibrateCommand;
      33             : };

Generated by: LCOV version 1.14