TMMFMessageDestination Class Reference

class TMMFMessageDestination

Describes the destination of a message in the controller framework.

The destination is defined by a UID describing the interface and an integer object handle. The controller framework uses this information when it receives a message to decide where to send the message.

The controller plugin and controller proxy use the special constant handles KMMFObjectHandleControllerProxy and KMMFObjectHandleController for efficiency.

Since
7.0s

Constructor & Destructor Documentation

TMMFMessageDestination()

IMPORT_C TMMFMessageDestination ( )

Default constructor.

Assigns a null UID to the interface, and a null handle to the handle.

Since
7.0s

TMMFMessageDestination(TUid)

IMPORT_C TMMFMessageDestination ( TUid aInterfaceId )

Constructor for sending messages to the controller plugin.

Assigns KMMFObjectHandleController to the destination handle.

Since
7.0s

Parameters

TUid aInterfaceId The UID of the interface of this message destination.

TMMFMessageDestination(TUid, TInt)

IMPORT_C TMMFMessageDestination ( TUid aInterfaceId,
TInt aDestinationHandle
)

Full constructor.

Since
7.0s

Parameters

TUid aInterfaceId The UID of the interface of this message destination.
TInt aDestinationHandle The handle of the destination object in the controller framework.

TMMFMessageDestination(const TMMFMessageDestination &)

IMPORT_C TMMFMessageDestination ( const TMMFMessageDestination & aOther )

Copy constructor.

Since
7.0s

Parameters

const TMMFMessageDestination & aOther The TMMFMessageDestination object to be copied.

Member Functions Documentation

DestinationHandle()

IMPORT_C TInt DestinationHandle ( ) const

Returns the handle of the destination object in the controller framework.

Since
7.0s

InterfaceId()

IMPORT_C TUid InterfaceId ( ) const

Returns the UID of the interface of the message destination.

Since
7.0s

operator==(const TMMFMessageDestination &)

IMPORT_C TBool operator== ( const TMMFMessageDestination & aOther ) const

Compares two destinations.

Since
7.0s

Parameters

const TMMFMessageDestination & aOther The object to be compared with this object.

Member Data Documentation

TInt iDestinationHandle

TInt iDestinationHandle [private]

TUid iInterfaceId

TUid iInterfaceId [private]

TInt iReserved1

TInt iReserved1 [private]

This member is internal and not intended for use.

TInt iReserved2

TInt iReserved2 [private]

TInt iReserved3

TInt iReserved3 [private]