CMMFObject Class Reference

class CMMFObject : public CBase

Defines an object to which a client may have a direct handle.

This class provides a way of identifying objects within the controller framework, and a means of passing commands to those objects.

7.0s

Inherits from

Constructor & Destructor Documentation

CMMFObject(TUid)

IMPORT_CCMMFObject(TUidaInterfaceId)

Parameters

TUid aInterfaceId

~CMMFObject()

IMPORT_C~CMMFObject()

Member Functions Documentation

Handle()

IMPORT_C const TMMFMessageDestination &Handle()

HandleRequest(TMMFMessage &)

voidHandleRequest(TMMFMessage &aMessage)[pure virtual]

Passes a message to the object to handle.

This is a pure virtual method to be implemented by concrete classes derived from this class.

The message passed in MUST be completed by the object; however, it can be copied to be completed at a later time, should some other asynchronous action need to occur first.

7.0s

Parameters

TMMFMessage & aMessageThe message to be handled. This MUST be completed by the object.

SetHandle(const TMMFMessageDestination &)

voidSetHandle(const TMMFMessageDestination &aNewHandle)[private]

Parameters

const TMMFMessageDestination & aNewHandle

operator==(const CMMFObject &)

IMPORT_C TBooloperator==(const CMMFObject &aOther)

Parameters

const CMMFObject & aOther

Member Data Documentation

TMMFMessageDestination iHandle

TMMFMessageDestination iHandle[private]