CNssSpeechItemSrsPortal Class Reference

class CNssSpeechItemSrsPortal : public CBase

This class handles accessing the SpeechRecognitionUtility services. It allows only one transaction for each SpeechItem object to be in progress at any given time.

NssVASApi.lib
Since
2.8

Inherits from

Constructor & Destructor Documentation

CNssSpeechItemSrsPortal()

CNssSpeechItemSrsPortal ( ) [private]

C++ constructor.

~CNssSpeechItemSrsPortal()

~CNssSpeechItemSrsPortal ( )

Destructor.

Member Functions Documentation

Deregister()

void Deregister ( )
Decrement the counter when SpeechItem objects is destroy. If the counter is zero and the state is in termination state, the portal will destroy the SpeechRecognitionUtility object if exist, and it destroys itself.
Since
2.0

GetTrainingCapability()

CArrayFixFlat < TNssVasCoreConstant::TNssTrainingCapability > * GetTrainingCapability ( )
Get training capabilities from SpeechRecognitionUtility object.
Since
2.0

IsEnginePropertySet()

TBool IsEnginePropertySet ( )

Return the status of whether the Engine Property Set flag

MaxLoadableModels()

TInt MaxLoadableModels ( )

Return the Maximum Loadable Models from the SRS

ModelStorageCapacity()

TInt ModelStorageCapacity ( )

Return the Model Storage Capacity from the SRS

NewL()

CNssSpeechItemSrsPortal * NewL ( ) [static]
Creates CNssSpeechItemSrsPortal . Get the SpeechRecognitionUtility's engine status ?????
Since
2.0

NewLC()

CNssSpeechItemSrsPortal * NewLC ( ) [static]
Creates CNssSpeechItemSrsPortal . 2 phase construction
Since
2.0

Register()

void Register ( )
Increment the counter to count the number of created SpeechItem objects.
Since
2.0

SetEngineProperty(TInt, TInt)

void SetEngineProperty ( TInt aModelStorageCapacity,
TInt aMaxLoadableModels
)

Return the Maximum Loadable Models from the SRS

Parameters

TInt aModelStorageCapacity
TInt aMaxLoadableModels

SetTerminationState()

void SetTerminationState ( )
Requests that the value of the state be changed to Termination state. If the counter is zero, the SpeechItemPortal will delete itself.
Since
2.0

operator=(const CNssSpeechItemSrsPortal &)

CNssSpeechItemSrsPortal & operator= ( const CNssSpeechItemSrsPortal & aCNssSpeechItemSrsPortal )

overloaded assignment operator

Parameters

const CNssSpeechItemSrsPortal & aCNssSpeechItemSrsPortal

Member Data Documentation

TBool iEnginePropertySet

TBool iEnginePropertySet [private]

TInt iMaxLoadableModels

TInt iMaxLoadableModels [private]

TInt iModelStorageCapacity

TInt iModelStorageCapacity [private]

TInt iSpeechItemCounter

TInt iSpeechItemCounter [private]

TNssSpeechItemConstant::TNssState iState

TNssSpeechItemConstant::TNssState iState [private]