6#ifndef YARP_DEV_SPEECHTRANSCRIPTION_NWS_YARP_H
7#define YARP_DEV_SPEECHTRANSCRIPTION_NWS_YARP_H
97 std::unique_ptr<SpeechTranscription_CallbackHelper> callback_impl;
101 bool detach()
override;
115 bool close()
override;
virtual return_set_language set_language(const std::string &language) override
virtual return_transcribe transcribe(const yarp::sig::Sound &sound) override
void setInterfaces(yarp::dev::ISpeechTranscription *iser)
virtual return_get_language get_language() override
void setOutputPort(yarp::os::Port *port)
serialPort_nws_yarp: Export a serial sensor.
yarp::dev::ISpeechTranscription * m_isptr
SpeechTranscription_CallbackHelper()=delete
yarp::os::Port * m_output_port
void onRead(yarp::sig::Sound &b) override
virtual ~SpeechTranscription_CallbackHelper() override
This class is the parameters parser for class SpeechTranscription_nws_yarp.
SpeechTranscription_nws_yarp: A wrapper for a plugin able to perform speech transcription.
SpeechTranscription_nws_yarp(const SpeechTranscription_nws_yarp &)=delete
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
SpeechTranscription_nws_yarp()=default
bool close() override
Close the DeviceDriver.
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
SpeechTranscription_nws_yarp(SpeechTranscription_nws_yarp &&)=delete
SpeechTranscription_nws_yarp & operator=(const SpeechTranscription_nws_yarp &)=delete
SpeechTranscription_nws_yarp & operator=(SpeechTranscription_nws_yarp &&)=delete
virtual ~SpeechTranscription_nws_yarp() override
void run() override
Main body of the new thread.
Interface implemented by all device drivers.
A generic interface for speech transcription.
A container for a device driver.
Helper interface for an object that can wrap/or "attach" to a single other device.
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 base class for nested structures that can be searched.
An abstraction for a thread of execution.
A callback for typed data from a port.
Class for storing sounds See Audio in YARP for additional documentation on YARP audio.
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.