wxTTSEspeakHandler Class Reference
[Text to speech classes]

#include <tts/tts_espeak.h>

Inheritance diagram for wxTTSEspeakHandler:

wxTTSExternalCommandHandler wxTTSHandler

List of all members.

Public Member Functions

 wxTTSEspeakHandler ()
 ~wxTTSEspeakHandler ()
void Init ()
 Member initialisation.
virtual bool Initialize ()
 Initialize the engine. Can call multiple times.
virtual bool Uninitialize ()
 Clean up the engine. Can call multiple times.
virtual bool Speak (const wxString &text, int options=wxTTS_SPEAK_ASYNC)
 Speak the text.
virtual bool SpeakFile (const wxString &filename, int options=wxTTS_SPEAK_ASYNC, const wxString &waveFilename=wxEmptyString)
 Speak the file.
virtual bool DoSpeak (const wxString &textOrFilename, bool isFilename, int options=wxTTS_SPEAK_ASYNC, const wxString &waveFilename=wxEmptyString)
 Speak the text or file.
virtual bool IsSpeaking () const
 Is it speaking?
virtual wxArrayString GetAvailableVoices () const
 Get a list of the available voices.
virtual wxArrayString GetAvailableVoiceVariants () const
 Get a list of the available voice variants.
virtual bool HasCapability (wxTTSCapability capability) const
 Does this handler have the specified capability?
virtual int GetMinSpeed () const
virtual int GetMaxSpeed () const
virtual int GetMinVolume () const
virtual int GetMaxVolume () const
virtual int GetMinPitch () const
virtual int GetMaxPitch () const
virtual wxString GetDefaultVoice () const
 Get the default voice.
virtual wxString GetDefaultVoiceVariant () const
 Get the default voice variant.
virtual void SetProgramLocation (const wxString &location)
 Set the program location, and on Windows, deduce the data location.

Static Public Member Functions

static wxArrayString GetAvailableVoicesForDir (const wxString &voicesDir)
 Get a list of the available voices, given the voices directory.


Constructor & Destructor Documentation

wxTTSEspeakHandler::wxTTSEspeakHandler (  ) 

wxTTSEspeakHandler::~wxTTSEspeakHandler (  ) 


Member Function Documentation

bool wxTTSEspeakHandler::DoSpeak ( const wxString &  textOrFilename,
bool  isFilename,
int  options = wxTTS_SPEAK_ASYNC,
const wxString &  waveFilename = wxEmptyString 
) [virtual]

Speak the text or file.

wxArrayString wxTTSEspeakHandler::GetAvailableVoices (  )  const [virtual]

Get a list of the available voices.

Implements wxTTSHandler.

wxArrayString wxTTSEspeakHandler::GetAvailableVoicesForDir ( const wxString &  voicesDir  )  [static]

Get a list of the available voices, given the voices directory.

wxArrayString wxTTSEspeakHandler::GetAvailableVoiceVariants (  )  const [virtual]

Get a list of the available voice variants.

Reimplemented from wxTTSHandler.

wxString wxTTSEspeakHandler::GetDefaultVoice (  )  const [virtual]

Get the default voice.

Implements wxTTSHandler.

wxString wxTTSEspeakHandler::GetDefaultVoiceVariant (  )  const [virtual]

Get the default voice variant.

Implements wxTTSHandler.

virtual int wxTTSEspeakHandler::GetMaxPitch (  )  const [inline, virtual]

Implements wxTTSHandler.

virtual int wxTTSEspeakHandler::GetMaxSpeed (  )  const [inline, virtual]

Implements wxTTSHandler.

virtual int wxTTSEspeakHandler::GetMaxVolume (  )  const [inline, virtual]

Implements wxTTSHandler.

virtual int wxTTSEspeakHandler::GetMinPitch (  )  const [inline, virtual]

Implements wxTTSHandler.

virtual int wxTTSEspeakHandler::GetMinSpeed (  )  const [inline, virtual]

Implements wxTTSHandler.

virtual int wxTTSEspeakHandler::GetMinVolume (  )  const [inline, virtual]

Implements wxTTSHandler.

bool wxTTSEspeakHandler::HasCapability ( wxTTSCapability  capability  )  const [virtual]

Does this handler have the specified capability?

Implements wxTTSHandler.

void wxTTSEspeakHandler::Init (  ) 

Member initialisation.

Reimplemented from wxTTSExternalCommandHandler.

virtual bool wxTTSEspeakHandler::Initialize (  )  [inline, virtual]

Initialize the engine. Can call multiple times.

Reimplemented from wxTTSExternalCommandHandler.

virtual bool wxTTSEspeakHandler::IsSpeaking (  )  const [inline, virtual]

Is it speaking?

Reimplemented from wxTTSExternalCommandHandler.

void wxTTSEspeakHandler::SetProgramLocation ( const wxString &  location  )  [virtual]

Set the program location, and on Windows, deduce the data location.

Reimplemented from wxTTSHandler.

bool wxTTSEspeakHandler::Speak ( const wxString &  text,
int  options = wxTTS_SPEAK_ASYNC 
) [virtual]

Speak the text.

Implements wxTTSHandler.

bool wxTTSEspeakHandler::SpeakFile ( const wxString &  filename,
int  options = wxTTS_SPEAK_ASYNC,
const wxString &  waveFilename = wxEmptyString 
) [virtual]

Speak the file.

Implements wxTTSHandler.

virtual bool wxTTSEspeakHandler::Uninitialize (  )  [inline, virtual]

Clean up the engine. Can call multiple times.

Reimplemented from wxTTSExternalCommandHandler.


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

Generated on Wed May 6 19:22:09 2009 for AxTk by  doxygen 1.5.8