deCONZ C++ API v2.6.1
Loading...
Searching...
No Matches
green_power_controller.h
1#ifndef DECONZ_GREEN_POWER_CONTROLLER_H
2#define DECONZ_GREEN_POWER_CONTROLLER_H
3
4/*
5 * Copyright (c) 2012-2023 dresden elektronik ingenieurtechnik gmbh.
6 * All rights reserved.
7 *
8 * The software in this package is published under the terms of the BSD
9 * style license a copy of which has been included with this distribution in
10 * the LICENSE.txt file.
11 *
12 */
13
14#include <QObject>
15#include <deconz/types.h>
16#include <deconz/green_power.h>
17
18namespace deCONZ {
19
20class GreenPowerControllerPrivate;
21
27class DECONZ_DLLSPEC GreenPowerController : public QObject
28{
29 Q_OBJECT
30
31public:
33 GreenPowerController(QObject *parent);
35 virtual ~GreenPowerController();
37 static GreenPowerController *instance();
38
39 void processIncomingData(const QByteArray &data);
40 void processIncomingProxyNotification(const QByteArray &data);
41
42Q_SIGNALS:
47 void gpDataIndication(const deCONZ::GpDataIndication&);
48
49private:
51 Q_DECLARE_PRIVATE(GreenPowerController)
52};
53
54} // namespace deCONZ
55
56#endif // DECONZ_GREEN_POWER_CONTROLLER_H
GPDE-DATA.indication primitive.
Definition green_power.h:156
Definition green_power_controller.cpp:29
Provides services to access green power functionality.
Definition green_power_controller.h:28
The deCONZ namespace.
Definition aps.cpp:19
Declaration of the most common deCONZ library types.