class CNssTagMgr : public CActive |
Private Member Functions | |
---|---|
CNssTagMgr () | |
CNssTagMgr ( CNssVASDatabase *, CNssContextMgr *) | |
void | ConstructL () |
Private Member Enumerations | |
---|---|
enum |
TCallBackState
{
ENone , EGetTagClient , EDeleteTagClient , ESaveTagClient , EInterCompTagMgrClient , EGetTagReferenceClient } |
Inherited Enumerations | |
---|---|
CActive:TPriority |
Inherited Attributes | |
---|---|
CActive::iStatus |
CNssTagMgr | ( | CNssVASDatabase * | aVasDatabase, |
CNssContextMgr * | aContextManager | ||
) | [private] |
C++ constructor
CNssVASDatabase * aVasDatabase | - pointer to the VAS Database |
CNssContextMgr * aContextManager | - pointer to the context manager |
void | CNssTagListToMNssTagListConvertorL | ( | CArrayPtrFlat < CNssTag > * | aSourceList | ) |
CArrayPtrFlat < CNssTag > * aSourceList | - CNssTag List |
void | CNssTagRefListToMNssTagRefListConvertorL | ( | CArrayPtrFlat < CNssTagReference > * | aSourceList | ) |
CArrayPtrFlat < CNssTagReference > * aSourceList |
void | CancelGetTag | ( | ) |
MNssTag * | CreateTagL | ( | MNssContext * | aContext | ) |
MNssContext * aContext | - pointer to context |
TInt | DeleteTag | ( | MNssDeleteTagClient * | aTagClient, |
MNssTag * | aTag | |||
) |
MNssDeleteTagClient * aTagClient | - call back address |
MNssTag * aTag | - tag to delete |
void | DoCancel | ( | ) | [virtual] |
Implements cancellation of an outstanding request.
This function is called as part of the active object's Cancel() .
It must call the appropriate cancel function offered by the active object's asynchronous service provider. The asynchronous service provider's cancel is expected to act immediately.
DoCancel() must not wait for event completion; this is handled by Cancel() .
CNssTag * | GetTag | ( | TUint32 | aGrammarId, |
TUint32 | aRuleId | |||
) |
TInt | GetTag | ( | MNssGetTagClient * | aTagClient, |
MNssTagReference * | aTagReference | |||
) |
MNssGetTagClient * aTagClient | - call back address |
MNssTagReference * aTagReference | - a tagreferenc |
TInt | GetTagList | ( | MNssGetTagClient * | aTagClient, |
MNssContext * | aContext | |||
) |
MNssGetTagClient * aTagClient | - call back address |
MNssContext * aContext | - context for which to get tags |
TInt | GetTagList | ( | MNssGetTagClient * | aTagClient, |
MNssContext * | aContext, | |||
const TDesC & | aName | |||
) |
MNssGetTagClient * aTagClient | - call back address |
MNssContext * aContext | |
const TDesC & aName | - name for which to get tags |
TInt | GetTagList | ( | MNssGetTagClient * | aTagClient, |
MNssContext * | aContext, | |||
TInt | aNum, | |||
TInt | aPosition | |||
) |
MNssGetTagClient * aTagClient | |
MNssContext * aContext | |
TInt aNum | |
TInt aPosition | - the position of the int value in rrd int array |
TInt | GetTagList | ( | MNssGetTagClient * | aTagClient, |
MNssContext * | aContext, | |||
TDesC & | aText, | |||
TInt | aPosition | |||
) |
MNssGetTagClient * aTagClient | |
MNssContext * aContext | |
TDesC & aText | |
TInt aPosition | - the position of the int value in rrd int array |
TInt | GetTagReferenceList | ( | MNssGetTagReferenceClient * | aTagRefClient, |
MNssContext * | aContext | |||
) |
MNssGetTagReferenceClient * aTagRefClient | |
MNssContext * aContext | - a context |
MNssTagListArray * | GetTags | ( | TNssGrammarIdRuleIdListArray & | aGrammarIdRuleIds | ) |
get tags based on their grammar id and rule id. for use by VAS components, call back returns a list with one element.
TNssGrammarIdRuleIdListArray & aGrammarIdRuleIds | array of grammarid-ruleid pairs return array list. It is to be destroyed by the client |
void | HandleDeleteSrsDBCompleted | ( | ) |
void | HandleResetSrsDBCompleted | ( | ) |
void | HandleSaveSrsDBCompleted | ( | ) |
void | HandleSrsDBError | ( | MNssCoreSrsDBEventHandler::TNssSrsDBResult | aResult | ) |
MNssCoreSrsDBEventHandler::TNssSrsDBResult aResult |
CNssTagMgr * | NewL | ( | CNssVASDatabase * | aVasDatabase, |
CNssContextMgr * | aContextManager | |||
) | [static] |
2 phase constructor
CNssVASDatabase * aVasDatabase | - pointer to the VAS Database |
CNssContextMgr * aContextManager | - pointer to the context manager |
CNssTagMgr * | NewLC | ( | CNssVASDatabase * | aVasDatabase, |
CNssContextMgr * | aContextManager | |||
) | [static] |
2 phase constructor
CNssVASDatabase * aVasDatabase | - pointer to the VAS Database |
CNssContextMgr * aContextManager | - pointer to the context manager |
void | RunL | ( | ) | [virtual] |
Handles an active object's request completion event.
A derived class must provide an implementation to handle the completed request. If appropriate, it may issue another request.
The function is called by the active scheduler when a request completion event occurs, i.e. after the active scheduler's WaitForAnyRequest() function completes.
Before calling this active object's RunL() function, the active scheduler has:
1. decided that this is the highest priority active object with a completed request
2. marked this active object's request as complete (i.e. the request is no longer outstanding)
RunL() runs under a trap harness in the active scheduler. If it leaves, then the active scheduler calls RunError() to handle the leave.
Note that once the active scheduler's Start() function has been called, all user code is run under one of the program's active object's RunL() or RunError() functions.
CActiveScheduler::Start CActiveScheduler::Error CActiveScheduler::WaitForAnyRequest TRAPD
TInt | SaveTag | ( | MNssSaveTagClient * | aTagClient, |
MNssTag * | aTag | |||
) |
MNssSaveTagClient * aTagClient | - call back address |
MNssTag * aTag | - tag to save |
TInt | TagCount | ( | MNssContext * | aContext | ) |
MNssContext * aContext | - context for which to get tag count. |
void | VASDatabaseComplete | ( | CArrayPtrFlat < CNssContext > * | aContextList, |
CArrayPtrFlat < CNssTag > * | aTagList, | |||
CArrayPtrFlat < CNssTagReference > * | aTagRefList, | |||
MNssVASDatabaseClient::TNssVASDBClientReturnCode | aCode | |||
) |
CArrayPtrFlat < CNssContext > * aContextList | - list of contexts (not used in tag manager) |
CArrayPtrFlat < CNssTag > * aTagList | - list of tags |
CArrayPtrFlat < CNssTagReference > * aTagRefList | |
MNssVASDatabaseClient::TNssVASDBClientReturnCode aCode | - error code if failed |
ENone | |
EGetTagClient | |
EDeleteTagClient | |
ESaveTagClient | |
EInterCompTagMgrClient | |
EGetTagReferenceClient |
MNssGetTagReferenceClient * | iGetTagReferenceClient | [private] |
MNssInterCompTagMgrClient * | iInterCompTagMgrClient | [private] |
CArrayPtrFlat < MNssTagReference > * | iTagRefList | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.