YARP
Yet Another Robot Platform
FakeFace.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3  * SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef YARP_OS_IMPL_FAKEFACE_H
8 #define YARP_OS_IMPL_FAKEFACE_H
9 
10 #include <yarp/os/Face.h>
11 
12 namespace yarp {
13 namespace os {
14 namespace impl {
15 
20  public yarp::os::Face
21 {
22 public:
23  bool open(const Contact& address) override;
24  void close() override;
25  InputProtocol* read() override;
26  OutputProtocol* write(const Contact& address) override;
27 
28 private:
29 };
30 
31 } // namespace impl
32 } // namespace os
33 } // namespace yarp
34 
35 #endif // YARP_OS_IMPL_FAKEFACE_H
Represents how to reach a part of a YARP network.
Definition: Contact.h:36
The initial point-of-contact with a port.
Definition: Face.h:21
The input side of an active connection between two ports.
Definition: InputProtocol.h:35
The output side of an active connection between two ports.
A dummy Face for testing purposes.
Definition: FakeFace.h:21
bool read(ImageOf< PixelRgb > &dest, const std::string &src, image_fileformat format=FORMAT_ANY)
Definition: ImageFile.cpp:922
bool write(const ImageOf< PixelRgb > &src, const std::string &dest, image_fileformat format=FORMAT_PPM)
Definition: ImageFile.cpp:1098
The main, catch-all namespace for YARP.
Definition: dirs.h:16
#define YARP_os_impl_API
Definition: api.h:46