|
Template
|
#include <speech.h>
Public Member Functions | |
| Speech () | |
| Speech Constructor. | |
| ~Speech () | |
| Speech Destructor. | |
| void | SetSpeechText (std::string text) |
| To set the speech text. | |
| void | play () |
| To play the speech instance. | |
| void | pause (bool state) |
| To pause/resume the speech instance. | |
| void | stop () |
| To stop the speech instance. | |
| int | getVolumeSpeech () |
| To get the speech volume. | |
| void | setVolumeSpeech (int volumeSpeech) |
| To set the speech volume. | |
| int | getRateSpeech () |
| To get the speech rate. | |
| void | setRateSpeech (int rateSpeech) |
| To set the speech rate. | |
| void | callbackEvent () |
| Speech Callback function. | |
| std::list< char * > | getVoices (int voiceType) |
| To get the speech voices. | |
| void | SetSpeechVoice (std::string voice) |
| To set the speech voice. | |
| std::string | getSpeechVoice () |
| To get the speech voice. | |
Detailed Description
Constructor & Destructor Documentation
◆ Speech()
| Speech::Speech | ( | ) |
Speech Constructor.
Definition at line 45 of file speech.cpp.
◆ ~Speech()
| Speech::~Speech | ( | ) |
Speech Destructor.
Definition at line 159 of file speech.cpp.
Member Function Documentation
◆ callbackEvent()
| void Speech::callbackEvent | ( | ) |
Speech Callback function.
Definition at line 80 of file speech.cpp.
◆ getRateSpeech()
| int Speech::getRateSpeech | ( | ) |
To get the speech rate.
Definition at line 292 of file speech.cpp.
◆ getSpeechVoice()
| std::string Speech::getSpeechVoice | ( | ) |
To get the speech voice.
Definition at line 411 of file speech.cpp.
◆ getVoices()
| std::list< char * > Speech::getVoices | ( | int | voiceType | ) |
To get the speech voices.
Definition at line 313 of file speech.cpp.
◆ getVolumeSpeech()
| int Speech::getVolumeSpeech | ( | ) |
To get the speech volume.
Definition at line 271 of file speech.cpp.
◆ pause()
| void Speech::pause | ( | bool | state | ) |
To pause/resume the speech instance.
Definition at line 214 of file speech.cpp.
◆ play()
| void Speech::play | ( | ) |
To play the speech instance.
Definition at line 175 of file speech.cpp.
◆ setRateSpeech()
| void Speech::setRateSpeech | ( | int | rateSpeech | ) |
To set the speech rate.
Definition at line 306 of file speech.cpp.
◆ SetSpeechText()
| void Speech::SetSpeechText | ( | std::string | text | ) |
To set the speech text.
Definition at line 168 of file speech.cpp.
◆ SetSpeechVoice()
| void Speech::SetSpeechVoice | ( | std::string | voice | ) |
To set the speech voice.
Definition at line 366 of file speech.cpp.
◆ setVolumeSpeech()
| void Speech::setVolumeSpeech | ( | int | volumeSpeech | ) |
To set the speech volume.
Definition at line 285 of file speech.cpp.
◆ stop()
| void Speech::stop | ( | ) |
To stop the speech instance.
Definition at line 238 of file speech.cpp.
The documentation for this class was generated from the following files:
- include/speech.h
- src/speech.cpp
Generated by