YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
ChatBotRPC_CallbackHelper Class Reference

#include <networkWrappers/chatBot_nws_yarp/ChatBot_nws_yarp.h>

+ Inheritance diagram for ChatBotRPC_CallbackHelper:

Public Member Functions

virtual ~ChatBotRPC_CallbackHelper () override
 
bool setCommunications (yarp::dev::IChatBot *iser, yarp::os::Port *port)
 
void onRead (yarp::os::Bottle &b) override
 
- Public Member Functions inherited from yarp::os::TypedReaderCallback< yarp::os::Bottle >
virtual ~TypedReaderCallback ()
 Destructor.
 
virtual void onRead (yarp::os::Bottle &datum)
 Callback method.
 
virtual void onRead (yarp::os::Bottle &datum, const yarp::os::TypedReader< yarp::os::Bottle > &reader)
 Callback method.
 

Protected Attributes

yarp::dev::IChatBotm_iChatBot {nullptr}
 
yarp::os::Portm_outPort {nullptr}
 

Detailed Description

Definition at line 30 of file ChatBot_nws_yarp.h.

Constructor & Destructor Documentation

◆ ~ChatBotRPC_CallbackHelper()

virtual ChatBotRPC_CallbackHelper::~ChatBotRPC_CallbackHelper ( )
inlineoverridevirtual

Definition at line 37 of file ChatBot_nws_yarp.h.

Member Function Documentation

◆ onRead()

void ChatBotRPC_CallbackHelper::onRead ( yarp::os::Bottle b)
override

Definition at line 29 of file ChatBotRPC_CallbackHelper.cpp.

◆ setCommunications()

bool ChatBotRPC_CallbackHelper::setCommunications ( yarp::dev::IChatBot iser,
yarp::os::Port port 
)

Definition at line 16 of file ChatBotRPC_CallbackHelper.cpp.

Member Data Documentation

◆ m_iChatBot

yarp::dev::IChatBot* ChatBotRPC_CallbackHelper::m_iChatBot {nullptr}
protected

Definition at line 33 of file ChatBot_nws_yarp.h.

◆ m_outPort

yarp::os::Port* ChatBotRPC_CallbackHelper::m_outPort {nullptr}
protected

Definition at line 34 of file ChatBot_nws_yarp.h.


The documentation for this class was generated from the following files: