YARP
Yet Another Robot Platform
FakeFace.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2021 Istituto Italiano di Tecnologia (IIT)
3  * Copyright (C) 2006-2010 RobotCub Consortium
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_IMPL_FAKEFACE_H
11 #define YARP_OS_IMPL_FAKEFACE_H
12 
13 #include <yarp/os/Face.h>
14 
15 namespace yarp {
16 namespace os {
17 namespace impl {
18 
23  public yarp::os::Face
24 {
25 public:
26  bool open(const Contact& address) override;
27  void close() override;
28  InputProtocol* read() override;
29  OutputProtocol* write(const Contact& address) override;
30 
31 private:
32 };
33 
34 } // namespace impl
35 } // namespace os
36 } // namespace yarp
37 
38 #endif // YARP_OS_IMPL_FAKEFACE_H
Represents how to reach a part of a YARP network.
Definition: Contact.h:39
The initial point-of-contact with a port.
Definition: Face.h:24
The input side of an active connection between two ports.
Definition: InputProtocol.h:38
The output side of an active connection between two ports.
A dummy Face for testing purposes.
Definition: FakeFace.h:24
bool read(ImageOf< PixelRgb > &dest, const std::string &src, image_fileformat format=FORMAT_ANY)
Definition: ImageFile.cpp:920
bool write(const ImageOf< PixelRgb > &src, const std::string &dest, image_fileformat format=FORMAT_PPM)
Definition: ImageFile.cpp:1096
The main, catch-all namespace for YARP.
Definition: environment.h:25
#define YARP_os_impl_API
Definition: api.h:45