MWsObjectProvider Class Reference

class MWsObjectProvider

A class for dynamic extension of object instances WSERV classes which wish to allow dynamic extension show derive those extensions from MWsObjectProvider and use the DECLARE_WS_TYPE_ID macro Similiar in principle and operation to CONE's MObjectProvider MObjectProvider

Public Member Functions
T *ObjectInterface()
const T *ObjectInterface()
IMPORT_C TAny *ResolveObjectInterface(TUint)

Member Functions Documentation

ObjectInterface()

T *ObjectInterface()[inline]

Gets an object of the type defined by the template parameter.

ObjectInterface()

const T *ObjectInterface()const [inline]

Gets an object of the type defined by the template parameter.

ResolveObjectInterface(TUint)

IMPORT_C TAny *ResolveObjectInterface(TUintaTypeId)[virtual]

Resolve an instance of an interface should be overriden by implementations when they have custom interfaces to provide.

Parameters

TUint aTypeId