YARP
Yet Another Robot Platform
PortReaderBufferBaseCreator.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3  * Copyright (C) 2006-2010 RobotCub Consortium
4  * All rights reserved.
5  *
6  * This software may be modified and distributed under the terms of the
7  * BSD-3-Clause license. See the accompanying LICENSE file for details.
8  */
9 
10 #ifndef YARP_OS_PORTREADERBUFFERBASECREATOR_H
11 #define YARP_OS_PORTREADERBUFFERBASECREATOR_H
12 
13 #include <yarp/os/api.h>
14 
15 namespace yarp {
16 namespace os {
17 
18 class PortReader;
19 
21 {
22 public:
24 
25  virtual yarp::os::PortReader* create() const = 0;
26 };
27 
28 } // namespace os
29 } // namespace yarp
30 
31 #endif // YARP_OS_PORTREADERBUFFERBASECREATOR_H
api.h
YARP_os_API
#define YARP_os_API
Definition: api.h:19
yarp::os::PortReaderBufferBaseCreator::create
virtual yarp::os::PortReader * create() const =0
yarp::os::PortReader
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
Definition: PortReader.h:28
yarp
The main, catch-all namespace for YARP.
Definition: environment.h:18
yarp::os::PortReaderBufferBaseCreator::~PortReaderBufferBaseCreator
virtual ~PortReaderBufferBaseCreator()
yarp::os::PortReaderBufferBaseCreator
Definition: PortReaderBufferBaseCreator.h:21