#include <SpeechSet.h>
Collaboration diagram for ot::SpeechSetBase:

Public Member Functions | |
| DWORD | GetId () |
| get the id of this SpeechSet | |
| virtual const char * | GetName () |
| get the name of this SpeechSet | |
| virtual bool | IsCommandRegistered (const char *p_Command) |
| wheter this command is register or not | |
| virtual bool | IsCommandIdRegistered (DWORD p_CommandId) |
| wheter this command is register or not | |
| virtual long | GetCommandId (const char *p_Command) |
| get id of the command | |
| virtual bool | GetCommand (DWORD p_CommandId, std::string &p_Command) |
| get the command from a command id | |
| virtual void | AddCommand (const char *p_Command, DWORD p_CommandId=-1, float p_Weight=1.0f) |
| Add a new command to this set. | |
| virtual void | RemoveCommand (const char *p_Command) |
| Remove a command from this set. | |
| virtual void | RemoveCommand (DWORD p_CommandId) |
| Remove a command from this set. | |
| virtual bool | GetReco (std::string &p_Result) |
| get the next recognized command, returns true when there is a result | |
| void | Activate () |
| Activate this SpeechSet. | |
| void | Deactivate () |
| Deactivate this SpeechSet. | |
| bool | IsActive () |
| Wether this SpeechSet is active or not. | |
Protected Member Functions | |
| virtual void | Initialize () |
| initializes all class members | |
| virtual void | Destroy () |
| destroys (cleanup) all class members | |
| SpeechSetBase (const char *p_Name, DWORD p_Id, SpeechCoreBase *p_SpeechCore) | |
| virtual | ~SpeechSetBase () |
Protected Attributes | |
| bool | m_Active |
| std::string | m_Name |
| is this speech set active | |
| DWORD | m_Id |
| Name of this Speech Set. | |
| SpeechCoreBase * | m_SpeechCore |
| Id of this Speech Set. | |
| std::vector< SSpeechCommand > | m_RegisteredCommands |
| Parent Speech Core object (must be always valid). | |
| StringQueue | m_RecogizedCommands |
| All registered Commands in this SpeechSet. | |
Friends | |
| class | SpeechCoreBase |
|
||||||||||||||||
|
|
|
|
|
|
|
Activate this SpeechSet.
|
|
||||||||||||||||
|
Add a new command to this set.
|
|
|
Deactivate this SpeechSet.
|
|
|
destroys (cleanup) all class members
|
|
||||||||||||
|
get the command from a command id
|
|
|
get id of the command
|
|
|
get the id of this SpeechSet
|
|
|
get the name of this SpeechSet
|
|
|
get the next recognized command, returns true when there is a result
|
|
|
initializes all class members
|
|
|
Wether this SpeechSet is active or not.
|
|
|
wheter this command is register or not
|
|
|
wheter this command is register or not
|
|
|
Remove a command from this set.
|
|
|
Remove a command from this set.
|
|
|
|
|
|
|
|
|
Name of this Speech Set.
|
|
|
is this speech set active
|
|
|
All registered Commands in this SpeechSet.
|
|
|
Parent Speech Core object (must be always valid).
|
|
|
Id of this Speech Set.
|
1.4.6