ot::SpeechCoreBase Class Reference

#include <SpeechCore.h>

List of all members.

Public Member Functions

virtual void Destroy (void)
 destroys (cleanup) all class members
 SpeechCoreBase ()
virtual ~SpeechCoreBase ()
virtual void Init (void)
 Initialize the speech core with a appropriate language.
virtual SpeechSetBaseGetSpeechSet (const char *p_Name, bool p_Create=true)
 get/create a SpeechSet with the appropriate name
virtual SpeechSetBaseGetSpeechSet (DWORD p_Id)
 get a SpeechSet with the appropriate id
virtual void RemoveSpeechSet (const char *p_Name)
 remove a specified SpeechSet
virtual void RemoveSpeechSet (DWORD p_Id)
 remove a specified SpeechSet
virtual SpeechSetBaseFindSpeechSet (const char *p_Command, bool p_Active=true)
 find a (active) SpeechSet witch recognizes this command
virtual SpeechSetBaseFindSpeechSet (DWORD p_CommandId, bool p_Active=true)
 find a (active) SpeechSet witch recognizes this command
virtual bool ProcessRecognitionPoll ()
 Poll the recognize events, look if some commands have been recognized.

Protected Member Functions

virtual void Initialize (void)
 initializes all class members

Protected Attributes

bool m_Initialized
 Unique Grammar Id counter.
unsigned m_NextRuleId
 wether speech core is initialized or not
std::vector< SpeechSetBase * > m_SpeechSets
 unique Rule Id counter for the speech sets

Static Protected Attributes

static DWORD s_GrammarId = 1

Friends

class SpeechSetBase


Constructor & Destructor Documentation

ot::SpeechCoreBase::SpeechCoreBase  )  [inline]
 

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


Member Function Documentation

virtual void ot::SpeechCoreBase::Destroy void   )  [inline, virtual]
 

destroys (cleanup) all class members

SpeechSetBase * ot::SpeechCoreBase::FindSpeechSet DWORD  p_CommandId,
bool  p_Active = true
[virtual]
 

find a (active) SpeechSet witch recognizes this command

SpeechSetBase * ot::SpeechCoreBase::FindSpeechSet const char *  p_Command,
bool  p_Active = true
[virtual]
 

find a (active) SpeechSet witch recognizes this command

SpeechSetBase * ot::SpeechCoreBase::GetSpeechSet DWORD  p_Id  )  [virtual]
 

get a SpeechSet with the appropriate id

SpeechSetBase * ot::SpeechCoreBase::GetSpeechSet const char *  p_Name,
bool  p_Create = true
[virtual]
 

get/create a SpeechSet with the appropriate name

virtual void ot::SpeechCoreBase::Init void   )  [inline, virtual]
 

Initialize the speech core with a appropriate language.

virtual void ot::SpeechCoreBase::Initialize void   )  [inline, protected, virtual]
 

initializes all class members

virtual bool ot::SpeechCoreBase::ProcessRecognitionPoll  )  [inline, virtual]
 

Poll the recognize events, look if some commands have been recognized.

void ot::SpeechCoreBase::RemoveSpeechSet DWORD  p_Id  )  [virtual]
 

remove a specified SpeechSet

void ot::SpeechCoreBase::RemoveSpeechSet const char *  p_Name  )  [virtual]
 

remove a specified SpeechSet


Friends And Related Function Documentation

friend class SpeechSetBase [friend]
 


Member Data Documentation

bool ot::SpeechCoreBase::m_Initialized [protected]
 

Unique Grammar Id counter.

unsigned ot::SpeechCoreBase::m_NextRuleId [protected]
 

wether speech core is initialized or not

std::vector<SpeechSetBase*> ot::SpeechCoreBase::m_SpeechSets [protected]
 

unique Rule Id counter for the speech sets

DWORD ot::SpeechCoreBase::s_GrammarId = 1 [static, protected]
 


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