6#ifndef YARP_DEV_CHATBOT_NWS_YARP_H
7#define YARP_DEV_CHATBOT_NWS_YARP_H
93 std::unique_ptr<ChatBotRPC_CallbackHelper> m_cbkHelper;
97 bool detach()
override;
111 bool close()
override;
yarp::dev::IChatBot * m_iChatBot
yarp::os::Port * m_outPort
virtual ~ChatBotRPC_CallbackHelper() override
bool setCommunications(yarp::dev::IChatBot *iser, yarp::os::Port *port)
void onRead(yarp::os::Bottle &b) override
This class is the parameters parser for class ChatBot_nws_yarp.
ChatBot_nws_yarp: A wrapper for a plugin able to interact with a chatbot or implementing one.
ChatBot_nws_yarp & operator=(ChatBot_nws_yarp &&)=delete
ChatBot_nws_yarp(const ChatBot_nws_yarp &)=delete
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
ChatBot_nws_yarp(ChatBot_nws_yarp &&)=delete
virtual ~ChatBot_nws_yarp() override
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
ChatBot_nws_yarp()=default
bool close() override
Close the DeviceDriver.
ChatBot_nws_yarp & operator=(const ChatBot_nws_yarp &)=delete
return_interact interactRPC(const std::string &messageIn) override
ReturnValue resetBotRPC() override
bool setInterfaces(yarp::dev::IChatBot *iChatBot)
return_getStatus getStatusRPC() override
return_getLanguage getLanguageRPC() override
ReturnValue setLanguageRPC(const std::string &language) override
Interface implemented by all device drivers.
A container for a device driver.
Helper interface for an object that can wrap/or "attach" to a single other device.
A simple collection of objects that can be described and transmitted in a portable way.
A mini-server for performing network communication in the background.
An interface for reading from a network connection.
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
A mini-server for network communication.
A port that is specialized as an RPC server.
A base class for nested structures that can be searched.
A callback for typed data from a port.
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.