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

#include <networkWrappers/speechSynthesizer_nws_yarp/SpeechSynthesizer_nws_yarp.h>

+ Inheritance diagram for SpeechSynthesizer_CallbackHelper:

Public Member Functions

 SpeechSynthesizer_CallbackHelper ()=delete
 
 SpeechSynthesizer_CallbackHelper (yarp::dev::ISpeechSynthesizer *x, yarp::os::Port *output_port)
 
virtual ~SpeechSynthesizer_CallbackHelper () override
 
void onRead (yarp::os::Bottle &b) override
 Callback method.
 
- Public Member Functions inherited from yarp::os::TypedReaderCallback< yarp::os::Bottle >
virtual ~TypedReaderCallback ()
 Destructor.
 
virtual void onRead (yarp::os::Bottle &datum, const yarp::os::TypedReader< yarp::os::Bottle > &reader)
 Callback method.
 

Protected Attributes

yarp::dev::ISpeechSynthesizerm_isptr {nullptr}
 
yarp::os::Portm_output_port {nullptr}
 

Detailed Description

Definition at line 32 of file SpeechSynthesizer_nws_yarp.h.

Constructor & Destructor Documentation

◆ SpeechSynthesizer_CallbackHelper() [1/2]

SpeechSynthesizer_CallbackHelper::SpeechSynthesizer_CallbackHelper ( )
delete

◆ SpeechSynthesizer_CallbackHelper() [2/2]

SpeechSynthesizer_CallbackHelper::SpeechSynthesizer_CallbackHelper ( yarp::dev::ISpeechSynthesizer x,
yarp::os::Port output_port 
)

Definition at line 262 of file SpeechSynthesizer_nws_yarp.cpp.

◆ ~SpeechSynthesizer_CallbackHelper()

virtual SpeechSynthesizer_CallbackHelper::~SpeechSynthesizer_CallbackHelper ( )
inlineoverridevirtual

Definition at line 42 of file SpeechSynthesizer_nws_yarp.h.

Member Function Documentation

◆ onRead()

void SpeechSynthesizer_CallbackHelper::onRead ( yarp::os::Bottle datum)
overridevirtual

Callback method.

Parameters
datumdata read from a port

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

Definition at line 273 of file SpeechSynthesizer_nws_yarp.cpp.

Member Data Documentation

◆ m_isptr

yarp::dev::ISpeechSynthesizer* SpeechSynthesizer_CallbackHelper::m_isptr {nullptr}
protected

Definition at line 36 of file SpeechSynthesizer_nws_yarp.h.

◆ m_output_port

yarp::os::Port* SpeechSynthesizer_CallbackHelper::m_output_port {nullptr}
protected

Definition at line 37 of file SpeechSynthesizer_nws_yarp.h.


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