CCFActionPlugInThread Class Reference

class CCFActionPlugInThread : public CBase

Inherits from

  • CCFActionPlugInThread
Public Member Functions
~CCFActionPlugInThread()
voidAsyncExecutionCompleted()
voidCancelActionsWait()
voidCancelReleasePlugin()
voidConstructPluginL()
voidDeletePlugin()
voidGetActionsL(CDesCArray &)
TUid ImplementationUid()
TBool Missing()
voidNewActionsAddedToQueueL()
CCFActionPlugInThread *NewL(CCFActivatorEngineActionPluginManager &, CImplementationInformation &)
CCFActionPlugInThread *NewLC(CCFActivatorEngineActionPluginManager &, CImplementationInformation &)
CCFActionPlugInThread *NewLC(CCFActivatorEngineActionPluginManager &, TUid, TInt)
voidReleasePlugin(TRequestStatus &)
voidReloadPlugin()
voidRunPendingActions()
const TSecurityPolicy &SecurityPolicy(const TDesC &)
voidSetMissing(TBool)
voidTriggerL(CCFActionIndication *)
TInt Version()
voidWaitActions(TRequestStatus &)
Private Member Functions
CCFActionPlugInThread(CCFActivatorEngineActionPluginManager &, CImplementationInformation &)
CCFActionPlugInThread(CCFActivatorEngineActionPluginManager &, TUid, TInt)
TCFActionOwnerActionOwner()
TInt AddToQueue(CCFActionIndication *)
voidConstructL()
voidExecuteActionsInQueue()
CCFActionIndication *GetNextActionToExecute()
voidThreadConstructL()
voidThreadDestruct()
TInt ThreadFunction(TAny *)
voidThreadFunctionL()
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()
Private Attributes
CCFActionExecutionHandler *iActionExecutionHandler
CCFActivatorEngineActionPluginManager *iActionPluginManager
RPointerArray< CCFActionIndication >iActionQueue
RCriticalSection iActionQueueCriticalSection
TRequestStatus *iAsyncCleanupRequest
RSemaphore iConstructDestructSemaphore
CCFActionIndication *iCurrentAction
TBool iExit
TInt iImplVersion
RThread iMainThread
TThreadId iMainThreadId
TBool iMissing
CCFActionPlugIn *iPlugIn
TUid iPlugInUid
RThread iPluginThread
TRequestStatus *iRunPendingActionsRequestStatus
CActiveScheduler *iScheduler
CCFActivatorTimedSchedulerWait *iWait
TRequestStatus *iWaitActionsRequestStatus

Constructor & Destructor Documentation

CCFActionPlugInThread(CCFActivatorEngineActionPluginManager &, CImplementationInformation &)

CCFActionPlugInThread(CCFActivatorEngineActionPluginManager &aActionPluginManager,
CImplementationInformation &aImplInfo
)[private]

Parameters

CCFActivatorEngineActionPluginManager & aActionPluginManager
CImplementationInformation & aImplInfo

CCFActionPlugInThread(CCFActivatorEngineActionPluginManager &, TUid, TInt)

CCFActionPlugInThread(CCFActivatorEngineActionPluginManager &aActionPluginManager,
TUidaUid,
TIntaImplVersion
)[private]

Parameters

CCFActivatorEngineActionPluginManager & aActionPluginManager
TUid aUid
TInt aImplVersion

~CCFActionPlugInThread()

~CCFActionPlugInThread()

Member Functions Documentation

ActionOwner()

TCFActionOwnerActionOwner()const [private]

AddToQueue(CCFActionIndication *)

TInt AddToQueue(CCFActionIndication *aAction)[private]

Parameters

CCFActionIndication * aAction

AsyncExecutionCompleted()

voidAsyncExecutionCompleted()

CancelActionsWait()

voidCancelActionsWait()

CancelReleasePlugin()

voidCancelReleasePlugin()

Cancels release plug-in request.

ConstructL()

voidConstructL()[private]

ConstructPluginL()

voidConstructPluginL()

DeletePlugin()

voidDeletePlugin()

ExecuteActionsInQueue()

voidExecuteActionsInQueue()[private]

GetActionsL(CDesCArray &)

voidGetActionsL(CDesCArray &aActionList)const

Get actions from all plug-ins.

Parameters

CDesCArray & aActionListList where actions are stored.

GetNextActionToExecute()

CCFActionIndication *GetNextActionToExecute()[private]

ImplementationUid()

TUid ImplementationUid()const

Return implementation uid of the plug-in

Missing()

TBool Missing()const

Check if plug-in is missing.

NewActionsAddedToQueueL()

voidNewActionsAddedToQueueL()

NewL(CCFActivatorEngineActionPluginManager &, CImplementationInformation &)

CCFActionPlugInThread *NewL(CCFActivatorEngineActionPluginManager &aActionPluginManager,
CImplementationInformation &aImplInfo
)[static]

Parameters

CCFActivatorEngineActionPluginManager & aActionPluginManager
CImplementationInformation & aImplInfo

NewLC(CCFActivatorEngineActionPluginManager &, CImplementationInformation &)

CCFActionPlugInThread *NewLC(CCFActivatorEngineActionPluginManager &aActionPluginManager,
CImplementationInformation &aImplInfo
)[static]

Parameters

CCFActivatorEngineActionPluginManager & aActionPluginManager
CImplementationInformation & aImplInfo

NewLC(CCFActivatorEngineActionPluginManager &, TUid, TInt)

CCFActionPlugInThread *NewLC(CCFActivatorEngineActionPluginManager &aActionPluginManager,
TUidaUid,
TIntaImplVersion
)[static]

Parameters

CCFActivatorEngineActionPluginManager & aActionPluginManager
TUid aUid
TInt aImplVersion

ReleasePlugin(TRequestStatus &)

voidReleasePlugin(TRequestStatus &aStatus)

Releases action plug-in implementation.

Parameters

TRequestStatus & aStatusRequest status which is completed when the plug-in has been deleted.

ReloadPlugin()

voidReloadPlugin()

Reloads plug-in implementation.

RunPendingActions()

voidRunPendingActions()

SecurityPolicy(const TDesC &)

const TSecurityPolicy &SecurityPolicy(const TDesC &aActionId)const

Get action security policy.

Parameters

const TDesC & aActionIdAction which security is needed.

SetMissing(TBool)

voidSetMissing(TBoolaMissing)

Set plug-in as missing state (installed/uninstalled).

Parameters

TBool aMissingETrue if missing.

ThreadConstructL()

voidThreadConstructL()[private]

ThreadDestruct()

voidThreadDestruct()[private]

ThreadFunction(TAny *)

TInt ThreadFunction(TAny *aSelf)[private, static]

Parameters

TAny * aSelf

ThreadFunctionL()

voidThreadFunctionL()[private]

TriggerL(CCFActionIndication *)

voidTriggerL(CCFActionIndication *aActionIndication)

Parameters

CCFActionIndication * aActionIndication

Version()

TInt Version()const

Return the version of the implementation.

WaitActions(TRequestStatus &)

voidWaitActions(TRequestStatus &aStatus)

Parameters

TRequestStatus & aStatus

Member Data Documentation

CCFActionExecutionHandler * iActionExecutionHandler

CCFActionExecutionHandler *iActionExecutionHandler[private]

CCFActivatorEngineActionPluginManager * iActionPluginManager

CCFActivatorEngineActionPluginManager *iActionPluginManager[private]

RPointerArray< CCFActionIndication > iActionQueue

RPointerArray< CCFActionIndication >iActionQueue[private]

RCriticalSection iActionQueueCriticalSection

RCriticalSection iActionQueueCriticalSection[private]

TRequestStatus * iAsyncCleanupRequest

TRequestStatus *iAsyncCleanupRequest[private]

RSemaphore iConstructDestructSemaphore

RSemaphore iConstructDestructSemaphore[private]

CCFActionIndication * iCurrentAction

CCFActionIndication *iCurrentAction[private]

TBool iExit

TBool iExit[private]

TInt iImplVersion

TInt iImplVersion[private]

RThread iMainThread

RThread iMainThread[private]

TThreadId iMainThreadId

TThreadId iMainThreadId[private]

TBool iMissing

TBool iMissing[private]

CCFActionPlugIn * iPlugIn

CCFActionPlugIn *iPlugIn[private]

TUid iPlugInUid

TUid iPlugInUid[private]

RThread iPluginThread

RThread iPluginThread[private]

TRequestStatus * iRunPendingActionsRequestStatus

TRequestStatus *iRunPendingActionsRequestStatus[private]

CActiveScheduler * iScheduler

CActiveScheduler *iScheduler[private]

CCFActivatorTimedSchedulerWait * iWait

CCFActivatorTimedSchedulerWait *iWait[private]

TRequestStatus * iWaitActionsRequestStatus

TRequestStatus *iWaitActionsRequestStatus[private]