YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
FakeDevice_nwc_yarp.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2023-2023 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
6#include <yarp/os/Network.h>
8
9#include "FakeTestMsgs.h"
11
20{
21protected:
22 // thrift interface
24
25 // rpc port
27 const std::string m_local = "/fake_nwc/rpc";
28 const std::string m_remote = "/fake_nws/rpc";
29
30public:
31
32 //From DeviceDriver
33 bool open(yarp::os::Searchable& config) override;
34 bool close() override;
35
36 //From IFakeInterface
38};
FakeDevice_nwc_yarp: NWC device for testing purposes
yarp::dev::ReturnValue doSomething()
A method for testing purposes.
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
const std::string m_remote
bool close() override
Close the DeviceDriver.
const std::string m_local
yarp::os::Port m_rpc_port_to_server
Interface implemented by all device drivers.
A fake interface for testing,debugging and development purposes.
A mini-server for network communication.
Definition Port.h:46
A base class for nested structures that can be searched.
Definition Searchable.h:31