YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
portreader.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: GPL-3.0-or-later
4 */
5
6#ifndef PORTREADER_H
7#define PORTREADER_H
8
9#include <QObject>
10
11class PortReader : public QObject
12{
13 Q_OBJECT
14public:
15 explicit PortReader(QObject *parent = 0);
16 static PortReader *instance();
17
18 void acquireData(const QString &remotePortName,
19 int index,
20 const QString &localPortName,
21 const QString &carrier,
22 bool persistent);
23
24private:
25 static PortReader *self;
26signals:
27
28public slots:
29
30};
31
32#endif // PORTREADER_H
void acquireData(const QString &remotePortName, int index, const QString &localPortName, const QString &carrier, bool persistent)
static PortReader * instance()