CCFActivatorEngineActionPluginManager Class Reference

class CCFActivatorEngineActionPluginManager : public CCFEComPluginManager

Actiion plug-in manager loads and maintains action plug-ins.

-
Since
S60 s60 4.0

Inherits from

Public Member Functions
~CCFActivatorEngineActionPluginManager()
voidAddNewActionsToCacheL(CCFActionPlugInThread &)
voidInitializePhaseL(CCFPhaseBase::TCFPhaseId)
CCFActivatorEngineActionPluginManager *NewL(RActionCacheArray &)
CCFActivatorEngineActionPluginManager *NewLC(RActionCacheArray &)
voidSetEventHandler(MCFStarterEventHandler &)
voidSetImplPointer(CCFActionPlugIn &, CCFActionPlugInImpl *)
TBool TriggerL(CCFActionIndication *)
voidUpdatePlugInsL()
Private Member Functions
CCFActivatorEngineActionPluginManager(RActionCacheArray &)
voidCleanupCompleted(CCFAsyncCleanup *)
voidConstructL()
voidExecuteLoaders()
voidInitDeviceStartingPhaseL()
voidInitLoadingPluginsPhaseL()
voidLoadPlugInL(TUid, TInt)
TInt LoaderCallBack(TAny *)
voidPrepareLoaderL(CImplementationInformation &)
voidReleasePlugInL(CCFActionPlugInThread *, TBool)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CCFEComPluginManager::AddToBlackList(const TUid &)
CCFEComPluginManager::CCFEComPluginManager()
CCFEComPluginManager::RemoveBlackListed(RImplInfoPtrArray &)
CCFEComPluginManager::~CCFEComPluginManager()
Private Attributes
RActionCacheArray &iActionCache
RPointerArray< CCFActionPlugInThread >iActionPlugInThreads
RPointerArray< CCFAsyncCleanup >iCleanupList
MCFStarterEventHandler *iEventHandler
TInt iLoadedCount
RPointerArray< CAsyncCallBack >iLoaders
TBool iUpdatePluginsAllowed

Constructor & Destructor Documentation

CCFActivatorEngineActionPluginManager(RActionCacheArray &)

CCFActivatorEngineActionPluginManager(RActionCacheArray &aActionCache)[private]

Parameters

RActionCacheArray & aActionCache

~CCFActivatorEngineActionPluginManager()

~CCFActivatorEngineActionPluginManager()

Member Functions Documentation

AddNewActionsToCacheL(CCFActionPlugInThread &)

voidAddNewActionsToCacheL(CCFActionPlugInThread &aActionPluginThread)

Add new actions to action cache.

Since
S60 3.2

Parameters

CCFActionPlugInThread & aActionPluginThreadIdentifies the action plug-in whose actions to add.

CleanupCompleted(CCFAsyncCleanup *)

voidCleanupCompleted(CCFAsyncCleanup *aCleanup)[private]

Parameters

CCFAsyncCleanup * aCleanup

ConstructL()

voidConstructL()[private]

ExecuteLoaders()

voidExecuteLoaders()[private]

InitDeviceStartingPhaseL()

voidInitDeviceStartingPhaseL()[private]

InitLoadingPluginsPhaseL()

voidInitLoadingPluginsPhaseL()[private]

InitializePhaseL(CCFPhaseBase::TCFPhaseId)

voidInitializePhaseL(CCFPhaseBase::TCFPhaseIdaPhaseId)

Initializes context framework phases.

Since
S60 4.0

Parameters

CCFPhaseBase::TCFPhaseId aPhaseIdCurrent phase.

LoadPlugInL(TUid, TInt)

voidLoadPlugInL(TUidaUid,
TIntaImplVersion
)[private]

Parameters

TUid aUid
TInt aImplVersion

LoaderCallBack(TAny *)

TInt LoaderCallBack(TAny *aLoaderInfo)[private, static]

Parameters

TAny * aLoaderInfo

NewL(RActionCacheArray &)

CCFActivatorEngineActionPluginManager *NewL(RActionCacheArray &aActionCache)[static]

Parameters

RActionCacheArray & aActionCache

NewLC(RActionCacheArray &)

CCFActivatorEngineActionPluginManager *NewLC(RActionCacheArray &aActionCache)[static]

Parameters

RActionCacheArray & aActionCache

PrepareLoaderL(CImplementationInformation &)

voidPrepareLoaderL(CImplementationInformation &aImplementationInfo)[private]

Parameters

CImplementationInformation & aImplementationInfo

ReleasePlugInL(CCFActionPlugInThread *, TBool)

voidReleasePlugInL(CCFActionPlugInThread *aActionPlugInThread,
TBoolaUpgrade
)[private]

Parameters

CCFActionPlugInThread * aActionPlugInThread
TBool aUpgrade

SetEventHandler(MCFStarterEventHandler &)

voidSetEventHandler(MCFStarterEventHandler &aEventHandler)

Sets event handler to observers.

Since
S60 3.2

Parameters

MCFStarterEventHandler & aEventHandlerEvent handler.

SetImplPointer(CCFActionPlugIn &, CCFActionPlugInImpl *)

voidSetImplPointer(CCFActionPlugIn &aActionPlugIn,
CCFActionPlugInImpl *aImpl
)[static]

"Abusing" the frienship of ActionPlugIn.

Parameters

CCFActionPlugIn & aActionPlugIn
CCFActionPlugInImpl * aImpl

TriggerL(CCFActionIndication *)

TBool TriggerL(CCFActionIndication *aActionIndication)

Trigger a specific action. All the plug-ins are searched through. When the first plug-in is found with the action identifier, it will be executed.

Since
S60 4.0

Parameters

CCFActionIndication * aActionIndicationAction indication.

UpdatePlugInsL()

voidUpdatePlugInsL()

Go through action plugins if new plugins added or removed.

Member Data Documentation

RActionCacheArray & iActionCache

RActionCacheArray &iActionCache[private]

Reference to action cache

RPointerArray< CCFActionPlugInThread > iActionPlugInThreads

RPointerArray< CCFActionPlugInThread >iActionPlugInThreads[private]

List of action plug-in threads

RPointerArray< CCFAsyncCleanup > iCleanupList

RPointerArray< CCFAsyncCleanup >iCleanupList[private]

List of async cleanup requests

MCFStarterEventHandler * iEventHandler

MCFStarterEventHandler *iEventHandler[private]

TInt iLoadedCount

TInt iLoadedCount[private]

RPointerArray< CAsyncCallBack > iLoaders

RPointerArray< CAsyncCallBack >iLoaders[private]

TBool iUpdatePluginsAllowed

TBool iUpdatePluginsAllowed[private]