YARP
Yet Another Robot Platform
PortReaderBufferBaseCreator.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_PORTREADERBUFFERBASECREATOR_H
8 #define YARP_OS_PORTREADERBUFFERBASECREATOR_H
9 
10 #include <yarp/os/api.h>
11 
12 namespace yarp {
13 namespace os {
14 
15 class PortReader;
16 
18 {
19 public:
21 
22  virtual yarp::os::PortReader* create() const = 0;
23 };
24 
25 } // namespace os
26 } // namespace yarp
27 
28 #endif // YARP_OS_PORTREADERBUFFERBASECREATOR_H
virtual yarp::os::PortReader * create() const =0
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
Definition: PortReader.h:25
The main, catch-all namespace for YARP.
Definition: dirs.h:16
#define YARP_os_API
Definition: api.h:18