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)

void ActivateGrammarComplete ( TInt aResultCode ) [pure virtual]

Invoked when grammar has been activated.

Since
2.0

Parameters

TInt aResultCode

AdaptComplete(TInt)

void AdaptComplete ( TInt aResultCode ) [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 > &)

void CombineGrammarL ( 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)

void DeActivateGrammarComplete ( TInt aResultCode ) [pure virtual]

Invoked when grammar has been deactivated.

Since
2.0

Parameters

TInt aResultCode

EouDetected(TInt)

void EouDetected ( TInt aResultCode ) [pure virtual]

Invoked by the front-end when EOU has been detected

Since
2.8

Parameters

TInt aResultCode

FeatureVectorDataRcvd(const TDesC8 &, TInt32, TInt32)

void FeatureVectorDataRcvd ( const TDesC8 & aFV,
TInt32 aSNR,
TInt32 aPosition
) [pure virtual]

Feature vector received event from the front-end algorithm.

Since
2.0

Parameters

const TDesC8 & aFV
TInt32 aSNR
TInt32 aPosition

InitFEComplete(TInt)

void InitFEComplete ( TInt aResultCode ) [pure virtual]

Invoked by the front-end when initialization has completed.

Since
2.0

Parameters

TInt aResultCode

InitRecognizerBEComplete(TInt)

void InitRecognizerBEComplete ( TInt aResultCode ) [pure virtual]

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

Since
2.0

Parameters

TInt aResultCode

LoadGrammarComplete(TInt)

void LoadGrammarComplete ( TInt aResultCode ) [pure virtual]

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

Since
2.0

Parameters

TInt aResultCode

LoadLexiconComplete(TInt)

void LoadLexiconComplete ( TInt aResultCode ) [pure virtual]

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

Since
2.0

Parameters

TInt aResultCode

LoadModelsComplete(TInt)

void LoadModelsComplete ( TInt aResultCode ) [pure virtual]

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

Since
2.0

Parameters

TInt aResultCode

RecognitionComplete(TInt)

void RecognitionComplete ( TInt aResultCode ) [pure virtual]

Invoked by the recognizer when recognition process has completed.

Since
2.0

Parameters

TInt aResultCode

RequestSpeechData()

void RequestSpeechData ( ) [pure virtual]

Invoked when speech data is needed.

Since
2.8

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

void ResolveResult ( 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)

void TrainComplete ( TInt aResultCode ) [pure virtual]

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

Since
2.0

Parameters

TInt aResultCode

UnloadGrammarComplete(TInt)

void UnloadGrammarComplete ( TInt aResultCode ) [pure virtual]

Invoked when grammar has been unloaded.

Since
2.8

Parameters

TInt aResultCode

UnloadRuleComplete(TInt)

void UnloadRuleComplete ( TInt aResultCode ) [pure virtual]

Invoked when rule unloading has been done.

Since
2.8

Parameters

TInt aResultCode