YARP
Yet Another Robot Platform
DummyConnector.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3  * Copyright (C) 2007 Freyr Magnusson
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_DUMMYCONNECTOR_H
11 #define YARP_OS_DUMMYCONNECTOR_H
12 
15 
16 namespace yarp {
17 namespace os {
18 
35 {
36 public:
41 
42 
46  virtual ~DummyConnector();
47 
52  void setTextMode(bool textmode);
53 
59  ConnectionWriter& getCleanWriter();
60 
67  ConnectionWriter& getWriter();
68 
77  ConnectionReader& getReader(ConnectionWriter* replyWriter = nullptr);
78 
82  void reset();
83 
84 #ifndef DOXYGEN_SHOULD_SKIP_THIS
85 private:
86  class Private;
87  Private* mPriv;
88 #endif // DOXYGEN_SHOULD_SKIP_THIS
89 };
90 
91 } // namespace os
92 } // namespace yarp
93 
94 #endif // YARP_OS_DUMMYCONNECTOR_H
yarp::os::DummyConnector
A dummy connection to test yarp::os::Portable implementations.
Definition: DummyConnector.h:35
ConnectionWriter.h
YARP_os_API
#define YARP_os_API
Definition: api.h:19
yarp::os::ConnectionWriter
An interface for writing to a network connection.
Definition: ConnectionWriter.h:40
yarp::os::ConnectionReader
An interface for reading from a network connection.
Definition: ConnectionReader.h:40
yarp
The main, catch-all namespace for YARP.
Definition: environment.h:18
ConnectionReader.h