YARP
Yet Another Robot Platform
PortReaderCreator.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_PORTREADERCREATOR_H
11 #define YARP_OS_PORTREADERCREATOR_H
12 
14 #include <yarp/os/PortReader.h>
15 
16 #include <string>
17 
18 namespace yarp {
19 namespace os {
20 
34 {
35 public:
39  virtual ~PortReaderCreator();
40 
46  virtual PortReader* create() const = 0;
47 };
48 
49 } // namespace os
50 } // namespace yarp
51 
52 #endif // YARP_OS_PORTREADERCREATOR_H
yarp::os::PortReaderCreator::~PortReaderCreator
virtual ~PortReaderCreator()
Destructor.
yarp::os::PortReaderCreator::create
virtual PortReader * create() const =0
Factory for PortReader objects.
YARP_os_API
#define YARP_os_API
Definition: api.h:19
yarp::os::PortReader
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
Definition: PortReader.h:28
yarp::os::PortReaderCreator
A creator for readers.
Definition: PortReaderCreator.h:34
yarp
The main, catch-all namespace for YARP.
Definition: environment.h:18
PortReader.h
ConnectionReader.h