kdsoap-ws-discovery-client: src/wsdiscoveryserviceaggregator.h Source File

kdsoap-ws-discovery-client 0.3.0

Loading...
Searching...
No Matches
wsdiscoveryserviceaggregator.h
1/* SPDX-FileCopyrightText: 2020 Casper Meijn <casper@meijn.net>
2 * SPDX-License-Identifier: GPL-3.0-or-later
3 *
4 */
5
6#ifndef WSDISCOVERYSERVICEAGGREGATOR_H
7#define WSDISCOVERYSERVICEAGGREGATOR_H
8
9#include "wsdiscoveryclient_export.h"
10#include <QObject>
11
12class WSDiscoveryTargetService;
13class WSDiscoveryServiceAggregatorPrivate;
14
22 class WSDISCOVERYCLIENT_EXPORT WSDiscoveryServiceAggregator : public QObject
23{
24 Q_OBJECT
25
26public:
31 WSDiscoveryServiceAggregator(QObject *parent = nullptr);
32
36 ~WSDiscoveryServiceAggregator();
37
38Q_SIGNALS:
45 void serviceUpdated(const QSharedPointer<WSDiscoveryTargetService> &updatedService);
46
47public Q_SLOTS:
52 void updateService(const WSDiscoveryTargetService &receivedService);
53
54private:
55 WSDiscoveryServiceAggregatorPrivate *const d_ptr;
56 Q_DECLARE_PRIVATE(WSDiscoveryServiceAggregator)
57};
58
59#endif // WSDISCOVERYSERVICEAGGREGATOR_H
WSDiscoveryServiceAggregator
Aggregates multiple updates from the same WSDiscoveryTargetService.
Definition wsdiscoveryserviceaggregator.h:23
WSDiscoveryServiceAggregator::WSDiscoveryServiceAggregator
WSDiscoveryServiceAggregator(QObject *parent=nullptr)
WSDiscoveryServiceAggregator::updateService
void updateService(const WSDiscoveryTargetService &receivedService)
WSDiscoveryServiceAggregator::~WSDiscoveryServiceAggregator
~WSDiscoveryServiceAggregator()
WSDiscoveryServiceAggregator::serviceUpdated
void serviceUpdated(const QSharedPointer< WSDiscoveryTargetService > &updatedService)
WSDiscoveryTargetService
Definition wsdiscoverytargetservice.h:16