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 ()
void AddNewActionsToCacheL ( CCFActionPlugInThread &)
void InitializePhaseL ( CCFPhaseBase::TCFPhaseId )
CCFActivatorEngineActionPluginManager * NewL ( RActionCacheArray &)
CCFActivatorEngineActionPluginManager * NewLC ( RActionCacheArray &)
void SetEventHandler ( MCFStarterEventHandler &)
void SetImplPointer ( CCFActionPlugIn &, CCFActionPlugInImpl *)
TBool TriggerL ( CCFActionIndication *)
void UpdatePlugInsL ()
Private Member Functions
CCFActivatorEngineActionPluginManager ( RActionCacheArray &)
void CleanupCompleted (CCFAsyncCleanup *)
void ConstructL ()
void ExecuteLoaders ()
void InitDeviceStartingPhaseL ()
void InitLoadingPluginsPhaseL ()
void LoadPlugInL ( TUid , TInt )
TInt LoaderCallBack ( TAny *)
void PrepareLoaderL ( CImplementationInformation &)
void ReleasePlugInL ( 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 &)

void AddNewActionsToCacheL ( CCFActionPlugInThread & aActionPluginThread )

Add new actions to action cache.

Since
S60 3.2

Parameters

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

CleanupCompleted(CCFAsyncCleanup *)

void CleanupCompleted ( CCFAsyncCleanup * aCleanup ) [private]

Parameters

CCFAsyncCleanup * aCleanup

ConstructL()

void ConstructL ( ) [private]

ExecuteLoaders()

void ExecuteLoaders ( ) [private]

InitDeviceStartingPhaseL()

void InitDeviceStartingPhaseL ( ) [private]

InitLoadingPluginsPhaseL()

void InitLoadingPluginsPhaseL ( ) [private]

InitializePhaseL(CCFPhaseBase::TCFPhaseId)

void InitializePhaseL ( CCFPhaseBase::TCFPhaseId aPhaseId )

Initializes context framework phases.

Since
S60 4.0

Parameters

CCFPhaseBase::TCFPhaseId aPhaseId Current phase.

LoadPlugInL(TUid, TInt)

void LoadPlugInL ( TUid aUid,
TInt aImplVersion
) [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 &)

void PrepareLoaderL ( CImplementationInformation & aImplementationInfo ) [private]

Parameters

CImplementationInformation & aImplementationInfo

ReleasePlugInL(CCFActionPlugInThread *, TBool)

void ReleasePlugInL ( CCFActionPlugInThread * aActionPlugInThread,
TBool aUpgrade
) [private]

Parameters

CCFActionPlugInThread * aActionPlugInThread
TBool aUpgrade

SetEventHandler(MCFStarterEventHandler &)

void SetEventHandler ( MCFStarterEventHandler & aEventHandler )

Sets event handler to observers.

Since
S60 3.2

Parameters

MCFStarterEventHandler & aEventHandler Event handler.

SetImplPointer(CCFActionPlugIn &, CCFActionPlugInImpl *)

void SetImplPointer ( 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 * aActionIndication Action indication.

UpdatePlugInsL()

void UpdatePlugInsL ( )

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]