class CSpeechRecognitionCustomCommandParser : public CMMFCustomCommandParserBase |
This is the main class of Speech Recognition Custom Commands Parser.
8.0
Public Member Functions | |
---|---|
~CSpeechRecognitionCustomCommandParser() | |
void | HandleRequest(TMMFMessage &) |
IMPORT_C CSpeechRecognitionCustomCommandParser * | NewL(MSpeechRecognitionCustomCommandImplementor &) |
CSpeechRecognitionCustomCommandParser | ( | MSpeechRecognitionCustomCommandImplementor & | aImplementor | ) | [private] |
C++ constructor for a CSpeechRecognitionCustomCommandParser class.
8.0
MSpeechRecognitionCustomCommandImplementor & aImplementor | A reference to a custom commands implementor. |
IMPORT_C | ~CSpeechRecognitionCustomCommandParser | ( | ) |
Destructor.
8.0
void | DoAddPronunciationL | ( | TMMFMessage & | aMessage | ) | [private] |
Adds a new pronunciation for the given model into the specified lexicon.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoAddRuleL | ( | TMMFMessage & | aMessage | ) | [private] |
Adds a new rule for the given pronunciation into the specified grammar.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoCommitChangesL | ( | ) | [private] |
Commits uncommitted database operations to the database.
8.0
void | DoCopyGrammarIDArrayL | ( | TMMFMessage & | aMessage | ) | [private] |
Copies the grammar ID array stored by a previous GetAllGrammarIDs call.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoCopyIntArrayL | ( | TMMFMessage & | aMessage, |
const RArray< TInt > & | aArray | |||
) | [private] |
Copies the specified integer array given into a TMMFMessage.
8.0
TMMFMessage & aMessage | The message to copy the array into. |
const RArray< TInt > & aArray | The array to copy from. |
void | DoCopyLexiconIDArrayL | ( | TMMFMessage & | aMessage | ) | [private] |
Copies the lexicon ID array stored by a previous GetAllLexiconIDs call.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoCopyModelBankIDArrayL | ( | TMMFMessage & | aMessage | ) | [private] |
Copies the modelBank ID array stored by a previous GetAllModelBankIDs call.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoCopyModelIDArrayL | ( | TMMFMessage & | aMessage | ) | [private] |
Copy the model ID array stored by a previous GetAllModelIDs call.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoCopyPronunciationIDArrayL | ( | TMMFMessage & | aMessage | ) | [private] |
Copies the pronunciation ID array stored by a previous GetAllPronunciationIDs call.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoCopyResultSetL | ( | TMMFMessage & | aMessage | ) | [private] |
Copies the previously externalised result set into a message. The message must be the same size as the stored externalized result set.
TMMFMessage & aMessage |
void | DoCopyRuleIDArrayL | ( | TMMFMessage & | aMessage | ) | [private] |
Copies the rule ID array stored by a previous GetAllRuleIDs call.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoCreateGrammarL | ( | TMMFMessage & | aMessage | ) | [private] |
Creates a new grammar.
8.0
TMMFMessage & aMessage | A message containing the information of the request. |
void | DoCreateLexiconL | ( | TMMFMessage & | aMessage | ) | [private] |
Creates a new lexicon.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoCreateModelBankL | ( | TMMFMessage & | aMessage | ) | [private] |
Creates a new model bank.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoEndRecSessionL | ( | ) | [private] |
Ends the current recognition session. Resources allocated for recognition are freed.
8.0
void | DoExternalizeResultSetL | ( | ) | [private] |
Externalises the result set into a descriptor, so that it can be copied into an array.
void | DoExtractIntArrayFromData1L | ( | TMMFMessage & | aMessage, |
RArray< TInt > & | aArray | |||
) | [private] |
Extracts an array from first parameter of TMMFMessage.
8.0
TMMFMessage & aMessage | The message to copy the array from. |
RArray< TInt > & aArray | The array to copy into. |
void | DoExtractIntArrayFromData2L | ( | TMMFMessage & | aMessage, |
RArray< TInt > & | aArray | |||
) | [private] |
Extracts an array from second parameter of TMMFMessage.
8.0
TMMFMessage & aMessage | The message to copy array from. |
RArray< TInt > & aArray | The array to copy into. |
void | DoExtractIntArrayL | ( | TDes8 & | aDescriptor, |
RArray< TInt > & | aArray | |||
) | [private] |
Extracts an integer array from the descriptor.
8.0
void | DoGetAllClientGrammarIDsL | ( | ) | [private] |
Returns all grammar IDs that belong to the current client, whose UID was set with SetClientUid().
8.0
void | DoGetAllClientLexiconIDsL | ( | ) | [private] |
Returns all lexicon IDs that belong to the current client, whose UID was set with SetClientUid().
8.0
void | DoGetAllClientModelBankIDsL | ( | ) | [private] |
Returns all model bank IDs that belong to the current client, whose UID was set with SetClientUid().
8.0
void | DoGetAllGrammarIDsL | ( | ) | [private] |
Returns all grammar IDs that exist (for all clients).
An error code indicating if the function call was successful. KErrNone on success, otherwise another of the system-wide error codes.
8.0
void | DoGetAllLexiconIDsL | ( | ) | [private] |
Returns all lexicon IDs that exist (for all clients).
8.0
void | DoGetAllModelBankIDsL | ( | ) | [private] |
Returns all model bank IDs that exist (for all clients).
8.0
void | DoGetAllModelIDsL | ( | TMMFMessage & | aMessage | ) | [private] |
Returns all model IDs that exist in the specified model bank.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoGetAllPronunciationIDsL | ( | TMMFMessage & | aMessage | ) | [private] |
Returns all pronunciation IDs that exist in the specified lexicon.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoGetAllRuleIDsL | ( | TMMFMessage & | aMessage | ) | [private] |
Returns all rule IDs that exist in the specified grammar.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoGetAvailableStorageL | ( | TMMFMessage & | aMessage | ) | [private] |
Returns the number of models available for training system wide, based on available disk space.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoGetEnginePropertiesL | ( | TMMFMessage & | aMessage | ) | [private] |
Returns the engine properties.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoGetModelCountL | ( | TMMFMessage & | aMessage | ) | [private] |
Returns the number of models in the specified model bank.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoGetRuleValidityL | ( | TMMFMessage & | aMessage | ) | [private] |
Checks if the rule is valid or not.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoGetUtteranceDurationL | ( | TMMFMessage & | aMessage | ) | [private] |
Returns the duration of the utterance for the specified model.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoHandleRequestL | ( | TMMFMessage & | aMessage | ) | [private] |
Private method to handle the request from the client.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoLoadEngineParametersL | ( | TMMFMessage & | aMessage | ) | [private] |
Loads the specified parameters into the engine.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoLoadGrammarL | ( | TMMFMessage & | aMessage | ) | [private] |
Loads the specified grammar into the recognizer; done prior to recognition.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoLoadLexiconL | ( | TMMFMessage & | aMessage | ) | [private] |
Loads the specified lexicon into the recognizer; done prior to recognition.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoLoadModelsL | ( | TMMFMessage & | aMessage | ) | [private] |
Loads the specified model bank into the recognizer; done prior to recognition.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoPlayUtteranceL | ( | TMMFMessage & | aMessage | ) | [private] |
Plays the previously trained utterance.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoRecognizeL | ( | TMMFMessage & | aMessage | ) | [private] |
Initiates recognition; performed following loading of model bank, lexicon, and grammar.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoRecordL | ( | TMMFMessage & | aMessage | ) | [private] |
Records user utterance for training and recognition.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoRemoveGrammarL | ( | TMMFMessage & | aMessage | ) | [private] |
Removes the specified grammar from the permanent storage.
Removing a grammar will remove all rules within the grammar.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoRemoveLexiconL | ( | TMMFMessage & | aMessage | ) | [private] |
Removes the specified lexicon from the permanent storage.
Removing a lexicon will remove all pronunciations within the lexicon.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoRemoveModelBankL | ( | TMMFMessage & | aMessage | ) | [private] |
Removes the specified model bank from the permanent storage.
Removing a model bank will remove all models within the model bank.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoRemoveModelL | ( | TMMFMessage & | aMessage | ) | [private] |
Removes the specified model from the specified model bank permanently.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoRemovePronunciationL | ( | TMMFMessage & | aMessage | ) | [private] |
Removes the specified pronunciation from the specified lexicon permanently.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoRemoveRuleL | ( | TMMFMessage & | aMessage | ) | [private] |
Removes the specified rule from the specified grammar permanently.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoSetClientUidL | ( | TMMFMessage & | aMessage | ) | [private] |
Sets the UID of the client.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoStartRecSessionL | ( | TMMFMessage & | aMessage | ) | [private] |
Starts a new recognition session.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoTrainL | ( | TMMFMessage & | aMessage | ) | [private] |
Trains a new model into the specified model bank.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | DoUnloadRuleL | ( | TMMFMessage & | aMessage | ) | [private] |
Unloads the specified rule from the specified grammar in temporary memory, previously loaded with LoadGrammarL().
The rule in the permanent storage remains intact.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
void | HandleRequest | ( | TMMFMessage & | aMessage | ) | [virtual] |
Handles the request from the client.
8.0
TMMFMessage & aMessage | The message containing the information of the request. |
IMPORT_C CSpeechRecognitionCustomCommandParser * | NewL | ( | MSpeechRecognitionCustomCommandImplementor & | aImplementor | ) | [static] |
Factory function for creating this class.
A pointer to a CSpeechRecognitionCustomCommandParser object.
8.0
MSpeechRecognitionCustomCommandImplementor & aImplementor | A reference to a custom commands implementor. |
MSpeechRecognitionCustomCommandImplementor & | iImplementor | [private] |