YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
portreader.cpp
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#include "portreader.h"
7
8PortReader *PortReader::self = nullptr;
9
10PortReader::PortReader(QObject *parent) :
11 QObject(parent)
12{
13 self = this;
14}
15
17{
18 if(self == nullptr){
19 return new PortReader();
20 }
21 return self;
22}
23
24void PortReader::acquireData(const QString &remotePortName,
25 int index,
26 const QString &localPortName,
27 const QString &carrier,
28 bool persistent)
29{
30
31}
PortReader(QObject *parent=0)
void acquireData(const QString &remotePortName, int index, const QString &localPortName, const QString &carrier, bool persistent)
static PortReader * instance()