YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
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
13namespace yarp::os {
14
31{
32public:
37
38
42 virtual ~DummyConnector();
43
48 void setTextMode(bool textmode);
49
55 ConnectionWriter& getCleanWriter();
56
63 ConnectionWriter& getWriter();
64
73 ConnectionReader& getReader(ConnectionWriter* replyWriter = nullptr);
74
78 void reset();
79
80#ifndef DOXYGEN_SHOULD_SKIP_THIS
81private:
82 class Private;
83 Private* mPriv;
84#endif // DOXYGEN_SHOULD_SKIP_THIS
85};
86
87} // namespace yarp::os
88
89#endif // YARP_OS_DUMMYCONNECTOR_H
A mini-server for performing network communication in the background.
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.
An interface to the operating system, including Port based communication.
#define YARP_os_API
Definition api.h:18