LCOV - code coverage report
Current view: top level - src/lib - multimeterservice_p.h (source / functions) Coverage Total Hit
Project: Dokit Lines: 10.5 % 19 2
Version: Functions: 100.0 % 2 2

            Line data    Source code
       1              : // SPDX-FileCopyrightText: 2022-2025 Paul Colby <git@colby.id.au>
       2              : // SPDX-License-Identifier: LGPL-3.0-or-later
       3              : 
       4              : /*!
       5              :  * \file
       6              :  * Declares the MultimeterServicePrivate class.
       7              :  */
       8              : 
       9              : #ifndef QTPOKIT_MULTIMETERSERVICE_P_H
      10              : #define QTPOKIT_MULTIMETERSERVICE_P_H
      11              : 
      12              : #include <qtpokit/multimeterservice.h>
      13              : 
      14              : #include "abstractpokitservice_p.h"
      15              : 
      16              : QTPOKIT_BEGIN_NAMESPACE
      17              : 
      18              : class QTPOKIT_EXPORT MultimeterServicePrivate : public AbstractPokitServicePrivate
      19              : {
      20          240 :     Q_OBJECT
      21            0 : 
      22            0 : public:
      23            0 :     explicit MultimeterServicePrivate(QLowEnergyController * controller, MultimeterService * const q);
      24            0 : 
      25            0 :     static QByteArray encodeSettings(const MultimeterService::Settings &settings);
      26            0 : 
      27            0 :     static MultimeterService::Reading parseReading(const QByteArray &value);
      28            0 : 
      29            0 : protected:
      30            0 :     void characteristicRead(const QLowEnergyCharacteristic &characteristic,
      31            0 :                             const QByteArray &value) override;
      32            0 :     void characteristicWritten(const QLowEnergyCharacteristic &characteristic,
      33            0 :                                const QByteArray &newValue) override;
      34            0 :     void characteristicChanged(const QLowEnergyCharacteristic &characteristic,
      35            0 :                                const QByteArray &newValue) override;
      36            0 : 
      37            0 : private:
      38          240 :     Q_DECLARE_PUBLIC(MultimeterService)
      39              :     Q_DISABLE_COPY(MultimeterServicePrivate)
      40              :     QTPOKIT_BEFRIEND_TEST(MultimeterService)
      41              : };
      42              : 
      43              : QTPOKIT_END_NAMESPACE
      44              : 
      45              : #endif // QTPOKIT_MULTIMETERSERVICE_P_H
        

Generated by: LCOV version 2.3.2-1