20 yCError(FAKEDEVICE_NWC_YARP,
"Cannot open rpc port, check network");
29 yCError(FAKEDEVICE_NWC_YARP,
"open() error could not connect to %s",
m_remote.c_str());
35 yCError(FAKEDEVICE_NWC_YARP,
"Cannot attach the RPC port as client");
41 yCDebug(FAKEDEVICE_NWC_YARP) <<
"Opening of NWC successful";
FakeTestMsgs m_thrift_RPC
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
virtual yarp::dev::ReturnValue doSomethingRPC()
virtual bool checkProtocolVersion()
static bool connect(const std::string &src, const std::string &dest, const std::string &carrier="", bool quiet=true)
Request that an output port connect to an input port.
void close() override
Stop port activity.
bool open(const std::string &name) override
Start port operation, with a specific name, with automatically-chosen network parameters.
A base class for nested structures that can be searched.
bool attachAsClient(yarp::os::UnbufferedContactable &port)
Tag this WireLink as a client, sending data via the specified port.
yarp::os::WireLink & yarp()
Get YARP state associated with this object.
#define yCError(component,...)
#define yCDebug(component,...)
#define YARP_LOG_COMPONENT(name,...)