LCOV - code coverage report
Current view: top level - src/lib - dsoservice_p.h (source / functions) Coverage Total Hit
Project: Dokit Lines: 10.0 % 20 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 DsoServicePrivate class.
       7              :  */
       8              : 
       9              : #ifndef QTPOKIT_DSOSERVICE_P_H
      10              : #define QTPOKIT_DSOSERVICE_P_H
      11              : 
      12              : #include <qtpokit/dsoservice.h>
      13              : 
      14              : #include "abstractpokitservice_p.h"
      15              : 
      16              : QTPOKIT_BEGIN_NAMESPACE
      17              : 
      18              : class QTPOKIT_EXPORT DsoServicePrivate : public AbstractPokitServicePrivate
      19              : {
      20          320 :     Q_OBJECT
      21            0 : 
      22            0 : public:
      23            0 :     explicit DsoServicePrivate(QLowEnergyController * controller, DsoService * const q);
      24            0 : 
      25            0 :     static QByteArray encodeSettings(const DsoService::Settings &settings);
      26            0 : 
      27            0 :     static DsoService::Metadata parseMetadata(const QByteArray &value);
      28            0 :     static DsoService::Samples parseSamples(const QByteArray &value);
      29            0 : 
      30            0 : protected:
      31            0 :     void characteristicRead(const QLowEnergyCharacteristic &characteristic,
      32            0 :                             const QByteArray &value) override;
      33            0 :     void characteristicWritten(const QLowEnergyCharacteristic &characteristic,
      34            0 :                                const QByteArray &newValue) override;
      35            0 :     void characteristicChanged(const QLowEnergyCharacteristic &characteristic,
      36            0 :                                const QByteArray &newValue) override;
      37            0 : 
      38            0 : private:
      39          240 :     Q_DECLARE_PUBLIC(DsoService)
      40              :     Q_DISABLE_COPY(DsoServicePrivate)
      41              :     QTPOKIT_BEFRIEND_TEST(DsoService)
      42              : };
      43              : 
      44              : QTPOKIT_END_NAMESPACE
      45              : 
      46              : #endif // QTPOKIT_DSOSERVICE_P_H
        

Generated by: LCOV version 2.3.2-1