YARP
Yet Another Robot Platform
DummyConnector.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3  * SPDX-FileCopyrightText: 2007 Freyr Magnusson
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef YARP_OS_DUMMYCONNECTOR_H
8 #define YARP_OS_DUMMYCONNECTOR_H
9 
12 
13 namespace yarp {
14 namespace os {
15 
32 {
33 public:
38 
39 
43  virtual ~DummyConnector();
44 
49  void setTextMode(bool textmode);
50 
56  ConnectionWriter& getCleanWriter();
57 
64  ConnectionWriter& getWriter();
65 
74  ConnectionReader& getReader(ConnectionWriter* replyWriter = nullptr);
75 
79  void reset();
80 
81 #ifndef DOXYGEN_SHOULD_SKIP_THIS
82 private:
83  class Private;
84  Private* mPriv;
85 #endif // DOXYGEN_SHOULD_SKIP_THIS
86 };
87 
88 } // namespace os
89 } // namespace yarp
90 
91 #endif // YARP_OS_DUMMYCONNECTOR_H
An interface for reading from a network connection.
An interface for writing to a network connection.
A dummy connection to test yarp::os::Portable implementations.
The main, catch-all namespace for YARP.
Definition: dirs.h:16
#define YARP_os_API
Definition: api.h:18