58 if (
nullptr == m_iChatBot)
66 m_cbkHelper = std::make_unique<ChatBotRPC_CallbackHelper>();
67 if(!m_cbkHelper->setCommunications(m_iChatBot,&m_outputPort))
82bool ChatBot_nws_yarp::detach()
88bool ChatBot_nws_yarp::closeMain()
94 m_thriftServerPort.
close();
100 bool b = m_msgsImpl.
read(connection);
bool parseParams(const yarp::os::Searchable &config) override
Parse the DeviceDriver parameters.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual ~ChatBot_nws_yarp() override
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
bool close() override
Close the DeviceDriver.
bool setInterfaces(yarp::dev::IChatBot *iChatBot)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
A container for a device driver.
A mini-server for performing network communication in the background.
void close() override
Stop port activity.
void disableCallback() override
Remove a callback set up with useCallback()
bool open(const std::string &name) override
Start port operation, with a specific name, with automatically-chosen network parameters.
void useCallback(TypedReaderCallback< T > &callback) override
Set an object whose onRead method will be called when data is available.
An interface for reading from a network connection.
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.
#define yCInfo(component,...)
#define yCError(component,...)
#define YARP_LOG_COMPONENT(name,...)