CRemConBearerPlugin Class Reference

class CRemConBearerPlugin : public CBase

Base class for bearer plugins.

Inherits from

Constructor & Destructor Documentation

CRemConBearerPlugin(TBearerParams &)

IMPORT_C CRemConBearerPlugin ( TBearerParams & aParams ) [protected]

Constructor

Parameters

TBearerParams & aParams Parameters from RemCon, used to initialise the implementation.

~CRemConBearerPlugin()

IMPORT_C ~CRemConBearerPlugin ( )

Destructor.

Member Functions Documentation

GetInterface(TUid)

TAny * GetInterface ( TUid aUid ) [pure virtual]

Called by RemCon server to get a pointer to an object which implements the bearer API with UID aUid. This is a mechanism for allowing future change to the bearer API without breaking BC in existing (non-updated) bearer plugins.

Parameters

TUid aUid The UID of a bearer API

NewL(TBearerParams &)

IMPORT_C CRemConBearerPlugin * NewL ( TBearerParams & aParams ) [static]

Constructor.

Parameters

TBearerParams & aParams Parameters from RemCon, used to initialise the implementation.

Observer()

IMPORT_C MRemConBearerObserver & Observer ( ) [protected]

Accessor for the observer.

Uid()

IMPORT_C TUid Uid ( ) const

Called by RemCon to query the bearer's implementation UID.

Member Data Documentation

const TUid iImplementationUid

const TUid iImplementationUid [private]

Implementation UID of concrete instance.

TUid iInstanceId

TUid iInstanceId [private]

UID set by ECOM when the instance is created. Used when the instance is destroyed.

MRemConBearerObserver & iObserver

MRemConBearerObserver & iObserver [private]

TAny * iPad

TAny * iPad [private]

Pad for BC-friendly future change.