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 
76  ConnectionReader& getReader();
77 
81  void reset();
82 
83 #ifndef DOXYGEN_SHOULD_SKIP_THIS
84 private:
85  class Private;
86  Private* mPriv;
87 #endif // DOXYGEN_SHOULD_SKIP_THIS
88 };
89 
90 } // namespace os
91 } // namespace yarp
92 
93 #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: environment.h:18
#define YARP_os_API
Definition: api.h:19