MRecAlgMgrObserver Class Reference

class MRecAlgMgrObserver

Interface class to be implemented by observer of the recognition algorithm manager.

Since
2.0

Member Functions Documentation

ActivateGrammarComplete(TInt)

voidActivateGrammarComplete(TIntaResultCode)[pure virtual]

Invoked when grammar has been activated.

Since
2.0

Parameters

TInt aResultCode

AdaptComplete(TInt)

voidAdaptComplete(TIntaResultCode)[pure virtual]

Invoked by the adaptation hw device when model adaptation has finished its processing.

Since
2.8

Parameters

TInt aResultCode

CombineGrammarL(const RPointerArray< CSICompiledGrammar > &, const RPointerArray< TSIRuleVariantInfo > &)

voidCombineGrammarL(const RPointerArray< CSICompiledGrammar > &aCompiledGrammars,
const RPointerArray< TSIRuleVariantInfo > &aExcludedRules
)[pure virtual]

Invoked when grammar combining is needed

Since
2.8

Parameters

const RPointerArray< CSICompiledGrammar > & aCompiledGrammars
const RPointerArray< TSIRuleVariantInfo > & aExcludedRules

DeActivateGrammarComplete(TInt)

voidDeActivateGrammarComplete(TIntaResultCode)[pure virtual]

Invoked when grammar has been deactivated.

Since
2.0

Parameters

TInt aResultCode

EouDetected(TInt)

voidEouDetected(TIntaResultCode)[pure virtual]

Invoked by the front-end when EOU has been detected

Since
2.8

Parameters

TInt aResultCode

FeatureVectorDataRcvd(const TDesC8 &, TInt32, TInt32)

voidFeatureVectorDataRcvd(const TDesC8 &aFV,
TInt32aSNR,
TInt32aPosition
)[pure virtual]

Feature vector received event from the front-end algorithm.

Since
2.0

Parameters

const TDesC8 & aFV
TInt32 aSNR
TInt32 aPosition

InitFEComplete(TInt)

voidInitFEComplete(TIntaResultCode)[pure virtual]

Invoked by the front-end when initialization has completed.

Since
2.0

Parameters

TInt aResultCode

InitRecognizerBEComplete(TInt)

voidInitRecognizerBEComplete(TIntaResultCode)[pure virtual]

Invoked by the recognizer back-end when initialization has completed.

Since
2.0

Parameters

TInt aResultCode

LoadGrammarComplete(TInt)

voidLoadGrammarComplete(TIntaResultCode)[pure virtual]

Invoked by the recognizer back-end when grammar loading has completed.

Since
2.0

Parameters

TInt aResultCode

LoadLexiconComplete(TInt)

voidLoadLexiconComplete(TIntaResultCode)[pure virtual]

Invoked by the recognizer back-end when lexicon loading has completed.

Since
2.0

Parameters

TInt aResultCode

LoadModelsComplete(TInt)

voidLoadModelsComplete(TIntaResultCode)[pure virtual]

Invoked by the recognizer back-end when model loading has completed.

Since
2.0

Parameters

TInt aResultCode

RecognitionComplete(TInt)

voidRecognitionComplete(TIntaResultCode)[pure virtual]

Invoked by the recognizer when recognition process has completed.

Since
2.0

Parameters

TInt aResultCode

RequestSpeechData()

voidRequestSpeechData()[pure virtual]

Invoked when speech data is needed.

Since
2.8

ResolveResult(const RArray< TUint > &, CSIResultSet &, const RPointerArray< CSICompiledGrammar > &, const TDesC8 &)

voidResolveResult(const RArray< TUint > &aNBestIDs,
CSIResultSet &aSIResultSet,
const RPointerArray< CSICompiledGrammar > &aSICompiledGrammar,
const TDesC8 &aCombinedData
)[pure virtual]

Invoked when result resolving is needed.

Since
2.8

Parameters

const RArray< TUint > & aNBestIDs
CSIResultSet & aSIResultSet
const RPointerArray< CSICompiledGrammar > & aSICompiledGrammar
const TDesC8 & aCombinedData

TrainComplete(TInt)

voidTrainComplete(TIntaResultCode)[pure virtual]

Invoked by the training module when the training process has completed.

Since
2.0

Parameters

TInt aResultCode

UnloadGrammarComplete(TInt)

voidUnloadGrammarComplete(TIntaResultCode)[pure virtual]

Invoked when grammar has been unloaded.

Since
2.8

Parameters

TInt aResultCode

UnloadRuleComplete(TInt)

voidUnloadRuleComplete(TIntaResultCode)[pure virtual]

Invoked when rule unloading has been done.

Since
2.8

Parameters

TInt aResultCode