#include <SpeechCore.h>
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 SpeechSetBase * | GetSpeechSet (const char *p_Name, bool p_Create=true) |
| get/create a SpeechSet with the appropriate name | |
| virtual SpeechSetBase * | GetSpeechSet (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 SpeechSetBase * | FindSpeechSet (const char *p_Command, bool p_Active=true) |
| find a (active) SpeechSet witch recognizes this command | |
| virtual SpeechSetBase * | FindSpeechSet (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 |
|
|
|
|
|
|
|
|
destroys (cleanup) all class members
|
|
||||||||||||
|
find a (active) SpeechSet witch recognizes this command
|
|
||||||||||||
|
find a (active) SpeechSet witch recognizes this command
|
|
|
get a SpeechSet with the appropriate id
|
|
||||||||||||
|
get/create a SpeechSet with the appropriate name
|
|
|
Initialize the speech core with a appropriate language.
|
|
|
initializes all class members
|
|
|
Poll the recognize events, look if some commands have been recognized.
|
|
|
remove a specified SpeechSet
|
|
|
remove a specified SpeechSet
|
|
|
|
|
|
Unique Grammar Id counter.
|
|
|
wether speech core is initialized or not
|
|
|
unique Rule Id counter for the speech sets
|
|
|
|
1.4.6