Swi::CSwiObserverPlugin Class Reference

class Swi::CSwiObserverPlugin : public CActive

Abstract base class for a SWI Observer ECOM plug-in.

SWI Observer plug-ins are primarily responsible for submitting SWI event notifications to the related system server asynchronously. This interface allows components to register their interest in SWI events. System servers which wish to register to the SWI Observer implement a concrete class derived from this abstract class.

Inherits from

Constructor & Destructor Documentation

CSwiObserverPlugin()

IMPORT_CCSwiObserverPlugin()[protected]

Constructor.

~CSwiObserverPlugin()

IMPORT_C~CSwiObserverPlugin()

Destructor.

Member Functions Documentation

Extension_(TUint, TAny *&, TAny *)

IMPORT_C TIntExtension_(TUintaExtensionId,
TAny *&a0,
TAny *a1
)[protected, virtual]

Parameters

TUint aExtensionId
TAny *& a0
TAny * a1

FinalizeL(TRequestStatus &)

voidFinalizeL(TRequestStatus &aStatus)[pure virtual]

Parameters

TRequestStatus & aStatus

GetExtension(TUint, TAny *&, TAny *)

IMPORT_C TIntGetExtension(TUintaExtensionId,
TAny *&a0,
TAny *a1
)[virtual]

Allows the SWI Observer plug-in to support extra interface in future. If the extension id is not recognised then KErrNotSupported should be returned.

Parameters

TUint aExtensionIdThe UID of the interface to instantiate.
TAny *& a0A reference to a pointer that should be set to the newly instantiated object.
TAny * a1Data specific to the instantiate of the specified interface.

GetFilterL()

CObservationFilter *GetFilterL()const [pure virtual]

NewL(const TUid &)

IMPORT_C CSwiObserverPlugin *NewL(const TUid &aImplementationId)[static]

Creates a new SWI Observer plug-in.

Parameters

const TUid & aImplementationIdThe UID of the SWI Observer plug-in implemenation

NextObservedDataL(const CObservationData &, TInt, TRequestStatus &)

voidNextObservedDataL(const CObservationData &aData,
TIntaFilterIndex,
TRequestStatus &aStatus
)[pure virtual]

Parameters

const CObservationData & aData
TInt aFilterIndex
TRequestStatus & aStatus

NextObservedHeaderL(const CObservationHeader &, TRequestStatus &)

voidNextObservedHeaderL(const CObservationHeader &aHeader,
TRequestStatus &aStatus
)[pure virtual]

Parameters

const CObservationHeader & aHeader
TRequestStatus & aStatus

StartL(RFs &)

voidStartL(RFs &aFs)[pure virtual]

Parameters

RFs & aFs

Member Data Documentation

TUid iDtor_ID_Key

TUid iDtor_ID_Key[private]

TAny * iReserved

TAny *iReserved[private]