kdsoap-ws-discovery-client
0.2
src
wsdiscoveryserviceaggrigator.h
1
/* Copyright (C) 2020 Casper Meijn <casper@meijn.net>
2
* SPDX-License-Identifier: GPL-3.0-or-later
3
*
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16
*/
17
18
#ifndef WSDISCOVERYSERVICEAGGRIGATOR_H
19
#define WSDISCOVERYSERVICEAGGRIGATOR_H
20
21
#include "wsdiscoveryclient_export.h"
22
#include <QObject>
23
24
class
WSDiscoveryTargetService
;
25
class
WSDiscoveryServiceAggrigatorPrivate;
26
34
class
WSDISCOVERYCLIENT_EXPORT
WSDiscoveryServiceAggrigator
:
public
QObject
35
{
36
Q_OBJECT
37
38
public
:
43
WSDiscoveryServiceAggrigator
(QObject* parent =
nullptr
);
44
48
~
WSDiscoveryServiceAggrigator
();
49
50
signals:
57
void
serviceUpdated(
const
QSharedPointer<WSDiscoveryTargetService>& updatedService);
58
59
public
slots:
64
void
updateService(
const
WSDiscoveryTargetService
& receivedService);
65
66
private
:
67
WSDiscoveryServiceAggrigatorPrivate*
const
d_ptr;
68
Q_DECLARE_PRIVATE(
WSDiscoveryServiceAggrigator
)
69
};
70
71
#endif // WSDISCOVERYSERVICEAGGRIGATOR_H
WSDiscoveryServiceAggrigator
Aggrigates multiple updates from the same WSDiscoveryTargetService.
Definition:
wsdiscoveryserviceaggrigator.h:34
WSDiscoveryTargetService
Definition:
wsdiscoverytargetservice.h:27
Generated by
1.8.17