ot::SpeechVoiceModule Class Reference

#include <SpeechVoiceModule.h>

Collaboration diagram for ot::SpeechVoiceModule:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SpeechVoiceModule ()
 destroys (cleanup) all class members
virtual ~SpeechVoiceModule ()
DWORD GetNumVoices ()
 get the total number of voices
const char * GetVoiceName (DWORD p_Id, std::string &p_Name)
 get the voice name with this id
void SetVoice (DWORD p_Id)
 set the current voice by id
void SetVoice (const char *p_Name)
 set the current voice by name
void Speak (const char *p_Sentence, bool p_Async=true)
 Speak something.

Protected Member Functions

void Initialize ()
void Destroy ()
 initializes all class members

Protected Attributes

SpeechVoiceBasem_Voice

Constructor & Destructor Documentation

ot::SpeechVoiceModule::SpeechVoiceModule  )  [inline]
 

destroys (cleanup) all class members

virtual ot::SpeechVoiceModule::~SpeechVoiceModule  )  [inline, virtual]
 


Member Function Documentation

void ot::SpeechVoiceModule::Destroy  )  [protected]
 

initializes all class members

DWORD ot::SpeechVoiceModule::GetNumVoices  ) 
 

get the total number of voices

const char * ot::SpeechVoiceModule::GetVoiceName DWORD  p_Id,
std::string &  p_Name
 

get the voice name with this id

void ot::SpeechVoiceModule::Initialize  )  [protected]
 

void ot::SpeechVoiceModule::SetVoice const char *  p_Name  ) 
 

set the current voice by name

void ot::SpeechVoiceModule::SetVoice DWORD  p_Id  ) 
 

set the current voice by id

void ot::SpeechVoiceModule::Speak const char *  p_Sentence,
bool  p_Async = true
 

Speak something.


Member Data Documentation

SpeechVoiceBase* ot::SpeechVoiceModule::m_Voice [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 28 15:33:09 2007 for NaviTrack by  doxygen 1.4.6