25 yCError(LLM_NWS_YARP,
"Subdevice passed to attach method is invalid (it does not implement all the required interfaces)");
29 std::string streaming_name =
m_name +
"/conv:o";
32 yCDebug(LLM_NWS_YARP) <<
"Attachment successful";
41 std::string rpc_name =
m_name +
"/rpc:i";
50 yCDebug(LLM_NWS_YARP) <<
"Waiting to be attached";
77 yCDebug(LLM_NWS_YARP) <<
"read() Command failed";
void setInterface(yarp::dev::ILLM *_iLlm, const std::string &streaming_port_name)
bool parseParams(const yarp::os::Searchable &config) override
Parse the DeviceDriver parameters.
yarp::os::RpcServer m_RpcPort
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual bool attach(yarp::dev::PolyDriver *drv) override
Attach to another object.
virtual bool open(yarp::os::Searchable &prop) override
Open the DeviceDriver.
virtual bool close() override
Close the DeviceDriver.
virtual bool detach() override
Detach the object (you must have first called attach).
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.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
An interface for reading from a network connection.
A base class for nested structures that can be searched.
#define yCError(component,...)
#define yCDebug(component,...)
#define YARP_LOG_COMPONENT(name,...)