CRemConBearerPlugin Class Reference

class CRemConBearerPlugin : public CBase

Base class for bearer plugins.

Inherits from

Constructor & Destructor Documentation

CRemConBearerPlugin(TBearerParams &)

IMPORT_CCRemConBearerPlugin(TBearerParams &aParams)[protected]

Constructor

Parameters

TBearerParams & aParamsParameters from RemCon, used to initialise the implementation.

~CRemConBearerPlugin()

IMPORT_C~CRemConBearerPlugin()

Destructor.

Member Functions Documentation

GetInterface(TUid)

TAny *GetInterface(TUidaUid)[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 aUidThe UID of a bearer API

NewL(TBearerParams &)

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

Constructor.

Parameters

TBearerParams & aParamsParameters from RemCon, used to initialise the implementation.

Observer()

IMPORT_C MRemConBearerObserver &Observer()[protected]

Accessor for the observer.

Uid()

IMPORT_C TUidUid()const

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

Member Data Documentation

const TUid iImplementationUid

const TUidiImplementationUid[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.