YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
PortReaderCreator.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef YARP_OS_PORTREADERCREATOR_H
8#define YARP_OS_PORTREADERCREATOR_H
9
11#include <yarp/os/PortReader.h>
12
13#include <string>
14
15namespace yarp::os {
16
30{
31public:
36
42 virtual PortReader* create() const = 0;
43};
44
45} // namespace yarp::os
46
47#endif // YARP_OS_PORTREADERCREATOR_H
A creator for readers.
virtual PortReader * create() const =0
Factory for PortReader objects.
virtual ~PortReaderCreator()
Destructor.
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
Definition PortReader.h:24
An interface to the operating system, including Port based communication.
#define YARP_os_API
Definition api.h:18