speech
Loading...
Searching...
No Matches
Speech_IDL.h
1// This is an automatically-generated file.
2// It could get re-generated if the ALLOW_IDL_GENERATION flag is on.
3
4#ifndef YARP_THRIFT_GENERATOR_Speech_IDL
5#define YARP_THRIFT_GENERATOR_Speech_IDL
6
7#include <yarp/os/Wire.h>
8#include <yarp/os/idl/WireTypes.h>
9
10class Speech_IDL;
11
12
16class Speech_IDL : public yarp::os::Wire {
17public:
18 Speech_IDL();
23 virtual bool setLanguage(const std::string& language);
28 virtual bool setSpeed(const int16_t speed);
33 virtual bool setPitch(const int16_t pitch);
38 virtual int16_t getSpeed();
43 virtual int16_t getPitch();
48 virtual std::vector<std::string> getSupportedLang();
53 virtual bool say(const std::string& text);
57 virtual bool play();
61 virtual bool pause();
65 virtual bool stop();
66 virtual bool read(yarp::os::ConnectionReader& connection);
67 virtual std::vector<std::string> help(const std::string& functionName="--all");
68};
69
70#endif
Speech_IDL.
Definition Speech_IDL.h:16
virtual bool say(const std::string &text)
render and play the speech
virtual std::vector< std::string > getSupportedLang()
get the available languages
virtual int16_t getPitch()
get the speech pitch
virtual int16_t getSpeed()
get the speech speed
virtual bool setPitch(const int16_t pitch)
set the speech pitch
virtual bool play()
play the previously rendered or paused speech
virtual bool setLanguage(const std::string &language)
set the speech langauge
virtual bool stop()
stop playing the current speech
virtual bool setSpeed(const int16_t speed)
set the speech speed
virtual bool pause()
pause the current speech