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_C CSwiObserverPlugin ( ) [protected]

Constructor.

~CSwiObserverPlugin()

IMPORT_C ~CSwiObserverPlugin ( )

Destructor.

Member Functions Documentation

Extension_(TUint, TAny *&, TAny *)

IMPORT_C TInt Extension_ ( TUint aExtensionId,
TAny *& a0,
TAny * a1
) [protected, virtual]

Parameters

TUint aExtensionId
TAny *& a0
TAny * a1

FinalizeL(TRequestStatus &)

void FinalizeL ( TRequestStatus & aStatus ) [pure virtual]

Parameters

TRequestStatus & aStatus

GetExtension(TUint, TAny *&, TAny *)

IMPORT_C TInt GetExtension ( TUint aExtensionId,
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 aExtensionId The UID of the interface to instantiate.
TAny *& a0 A reference to a pointer that should be set to the newly instantiated object.
TAny * a1 Data 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 & aImplementationId The UID of the SWI Observer plug-in implemenation

NextObservedDataL(const CObservationData &, TInt, TRequestStatus &)

void NextObservedDataL ( const CObservationData & aData,
TInt aFilterIndex,
TRequestStatus & aStatus
) [pure virtual]

Parameters

const CObservationData & aData
TInt aFilterIndex
TRequestStatus & aStatus

NextObservedHeaderL(const CObservationHeader &, TRequestStatus &)

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

Parameters

const CObservationHeader & aHeader
TRequestStatus & aStatus

StartL(RFs &)

void StartL ( RFs & aFs ) [pure virtual]

Parameters

RFs & aFs

Member Data Documentation

TUid iDtor_ID_Key

TUid iDtor_ID_Key [private]

TAny * iReserved

TAny * iReserved [private]