25 yCError(FAKEDEVICE_NWS_YARP,
"Subdevice passed to attach method is invalid (it does not implement all the required interfaces)");
31 yCDebug(FAKEDEVICE_NWS_YARP) <<
"Attach successful";
46 yCDebug(FAKEDEVICE_NWS_YARP) <<
"Waiting to be attached";
73 yCWarning(FAKEDEVICE_NWS_YARP) <<
"read() Command failed";
virtual bool open(yarp::os::Searchable &prop) override
Open the DeviceDriver.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual bool detach() override
Detach the object (you must have first called attach).
const std::string m_rpc_port_name
yarp::dev::test::IFakeDeviceInterfaceTest1 * m_iFake
virtual bool attach(yarp::dev::PolyDriver *drv) override
Attach to another object.
virtual bool close() override
Close the DeviceDriver.
yarp::os::RpcServer m_RpcPort
void setInterface(yarp::dev::test::IFakeDeviceInterfaceTest1 *_iFake)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool view(T *&x)
Get an interface to the device driver.
A container for a device driver.
bool isValid() const
Check if device is valid.
An interface for reading from a network connection.
A base class for nested structures that can be searched.
#define yCError(component,...)
#define yCWarning(component,...)
#define yCDebug(component,...)
#define YARP_LOG_COMPONENT(name,...)