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. | |
Speech::Speech | ( | ) |
Speech Constructor.
Definition at line 45 of file speech.cpp.
Speech::~Speech | ( | ) |
Speech Destructor.
Definition at line 159 of file speech.cpp.
void Speech::callbackEvent | ( | ) |
Speech Callback function.
Definition at line 80 of file speech.cpp.
int Speech::getRateSpeech | ( | ) |
To get the speech rate.
Definition at line 292 of file speech.cpp.
std::string Speech::getSpeechVoice | ( | ) |
To get the speech voice.
Definition at line 411 of file speech.cpp.
std::list< char * > Speech::getVoices | ( | int | voiceType | ) |
To get the speech voices.
Definition at line 313 of file speech.cpp.
int Speech::getVolumeSpeech | ( | ) |
To get the speech volume.
Definition at line 271 of file speech.cpp.
void Speech::pause | ( | bool | state | ) |
To pause/resume the speech instance.
Definition at line 214 of file speech.cpp.
void Speech::play | ( | ) |
To play the speech instance.
Definition at line 175 of file speech.cpp.
void Speech::setRateSpeech | ( | int | rateSpeech | ) |
To set the speech rate.
Definition at line 306 of file speech.cpp.
void Speech::SetSpeechText | ( | std::string | text | ) |
To set the speech text.
Definition at line 168 of file speech.cpp.
void Speech::SetSpeechVoice | ( | std::string | voice | ) |
To set the speech voice.
Definition at line 366 of file speech.cpp.
void Speech::setVolumeSpeech | ( | int | volumeSpeech | ) |
To set the speech volume.
Definition at line 285 of file speech.cpp.
void Speech::stop | ( | ) |
To stop the speech instance.
Definition at line 238 of file speech.cpp.