sensorfw
wakeupsensor_a.h
Go to the documentation of this file.
1
/****************************************************************************
2
**
3
** Copyright (c) 2025 Jollyboys Ltd.
4
**
5
** $QT_BEGIN_LICENSE:LGPL$
6
**
7
** GNU Lesser General Public License Usage
8
** Alternatively, this file may be used under the terms of the GNU Lesser
9
** General Public License version 2.1 as published by the Free Software
10
** Foundation and appearing in the file LICENSE.LGPL included in the
11
** packaging of this file. Please review the following information to
12
** ensure the GNU Lesser General Public License version 2.1 requirements
13
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
14
**
15
** $QT_END_LICENSE$
16
**
17
****************************************************************************/
18
19
#ifndef WAKEUP_SENSOR_H
20
#define WAKEUP_SENSOR_H
21
22
#include <QtDBus/QtDBus>
23
#include <QObject>
24
25
#include "
datatypes/unsigned.h
"
26
#include "abstractsensor_a.h"
27
28
class
WakeupSensorChannelAdaptor
:
public
AbstractSensorChannelAdaptor
29
{
30
Q_OBJECT
31
Q_DISABLE_COPY(
WakeupSensorChannelAdaptor
)
32
Q_CLASSINFO(
"D-Bus Interface"
,
"local.WakeupSensor"
)
33
Q_PROPERTY(
Unsigned
wakeup
READ
wakeup
NOTIFY
wakeupChanged
)
34
35
public:
36
WakeupSensorChannelAdaptor
(QObject *parent);
37
38
public Q_SLOTS:
39
Unsigned
wakeup
() const;
40
41
Q_SIGNALS:
42
void
wakeupChanged
(const
Unsigned
&value);
43
};
44
#endif
// WAKEUP_SENSOR_H
Unsigned
QObject facae for TimedUnsigned.
Definition
unsigned.h:37
WakeupSensorChannelAdaptor
Definition
wakeupsensor_a.h:29
WakeupSensorChannelAdaptor::wakeupChanged
void wakeupChanged(const Unsigned &value)
WakeupSensorChannelAdaptor::wakeup
Unsigned wakeup
Definition
wakeupsensor_a.h:33
unsigned.h
QObject based datatype for TimedUnsigned.
sensors
wakeupsensor
wakeupsensor_a.h
Generated by
1.10.0