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
12namespace yarp::os::impl {
13
18 public yarp::os::Face
19{
20public:
21 bool open(const Contact& address) override;
22 void close() override;
23 InputProtocol* read() override;
24 OutputProtocol* write(const Contact& address) override;
25
26private:
27};
28
29} // namespace yarp::os::impl
30
31#endif // YARP_OS_IMPL_FAKEFACE_H
Represents how to reach a part of a YARP network.
Definition: Contact.h:33
The initial point-of-contact with a port.
Definition: Face.h:20
The input side of an active connection between two ports.
Definition: InputProtocol.h:32
The output side of an active connection between two ports.
A dummy Face for testing purposes.
Definition: FakeFace.h:19
The components from which ports and connections are built.
bool read(ImageOf< PixelRgb > &dest, const std::string &src, image_fileformat format=FORMAT_ANY)
Definition: ImageFile.cpp:915
bool write(const ImageOf< PixelRgb > &src, const std::string &dest, image_fileformat format=FORMAT_PPM)
Definition: ImageFile.cpp:1091
#define YARP_os_impl_API
Definition: api.h:46