YARP
Yet Another Robot Platform
FakeFace.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2020 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
yarp::os::impl::FakeFace
A dummy Face for testing purposes.
Definition: FakeFace.h:24
yarp::sig::file::read
bool read(ImageOf< PixelRgb > &dest, const std::string &src, image_fileformat format=FORMAT_ANY)
Definition: ImageFile.cpp:827
yarp::os::OutputProtocol
The output side of an active connection between two ports.
Definition: OutputProtocol.h:33
Face.h
yarp
The main, catch-all namespace for YARP.
Definition: environment.h:18
YARP_os_impl_API
#define YARP_os_impl_API
Definition: api.h:45
yarp::os::Contact
Represents how to reach a part of a YARP network.
Definition: Contact.h:39
yarp::os::InputProtocol
The input side of an active connection between two ports.
Definition: InputProtocol.h:38
yarp::sig::file::write
bool write(const ImageOf< PixelRgb > &src, const std::string &dest, image_fileformat format=FORMAT_PPM)
Definition: ImageFile.cpp:971
yarp::os::Face
The initial point-of-contact with a port.
Definition: Face.h:24