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 
39 {
40 public:
45 
46 
50  virtual ~DummyConnector();
51 
56  void setTextMode(bool textmode);
57 
63  ConnectionWriter& getCleanWriter();
64 
71  ConnectionWriter& getWriter();
72 
79  ConnectionReader& getReader();
80 
84  void reset();
85 
86 #ifndef DOXYGEN_SHOULD_SKIP_THIS
87 private:
88  class Private;
89  Private* mPriv;
90 #endif // DOXYGEN_SHOULD_SKIP_THIS
91 };
92 
93 } // namespace os
94 } // namespace yarp
95 
96 #endif // DUMMYCONNECTOR_H
yarp::os::DummyConnector
A dummy connection to test yarp::os::Portable implementations.
Definition: DummyConnector.h:38
ConnectionWriter.h
yarp::os::ConnectionWriter
An interface for writing to a network connection.
Definition: ConnectionWriter.h:39
yarp::os::ConnectionReader
An interface for reading from a network connection.
Definition: ConnectionReader.h:39
yarp
Definition: environment.h:18
YARP_os_API
#define YARP_os_API
Definition: api.h:19
ConnectionReader.h