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

#include </home/runner/work/yarp-documentation/yarp-documentation/yarp/src/guis/yarpllmgui/ConversationCallback.h>

+ Inheritance diagram for ConversationCallback:

Signals

void conversationChanged ()
 

Public Member Functions

 ConversationCallback (QObject *parent=nullptr)
 
void onRead (yarp::os::Bottle &) override
 
void onRead (yarp::os::Bottle &datum, const yarp::os::TypedReader< yarp::os::Bottle > &reader) override
 Callback method.
 
- Public Member Functions inherited from yarp::os::TypedReaderCallback< yarp::os::Bottle >
virtual ~TypedReaderCallback ()
 Destructor.
 
virtual void onRead (yarp::os::Bottle &datum)
 Callback method.
 

Detailed Description

Definition at line 15 of file ConversationCallback.h.

Constructor & Destructor Documentation

◆ ConversationCallback()

ConversationCallback::ConversationCallback ( QObject *  parent = nullptr)
inline

Definition at line 21 of file ConversationCallback.h.

Member Function Documentation

◆ conversationChanged

void ConversationCallback::conversationChanged ( )
signal

◆ onRead() [1/2]

void ConversationCallback::onRead ( yarp::os::Bottle input)
override

Definition at line 8 of file ConversationCallback.cpp.

◆ onRead() [2/2]

void ConversationCallback::onRead ( yarp::os::Bottle datum,
const yarp::os::TypedReader< yarp::os::Bottle > &  reader 
)
inlineoverridevirtual

Callback method.

Passes along source of callback. By default, this calls the version of onRead that just takes a datum.

Parameters
datumdata read from a port
readerthe original port (or delegate object)

Reimplemented from yarp::os::TypedReaderCallback< yarp::os::Bottle >.

Definition at line 27 of file ConversationCallback.h.


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