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.
7.0s
Public Member Functions | |
---|---|
TMMFMessageDestination() | |
TMMFMessageDestination(TUid) | |
TMMFMessageDestination(TUid, TInt) | |
TMMFMessageDestination(const TMMFMessageDestination &) | |
IMPORT_C TInt | DestinationHandle() |
IMPORT_C TUid | InterfaceId() |
IMPORT_C TBool | operator==(const TMMFMessageDestination &) |
Private Attributes | |
---|---|
TInt | iDestinationHandle |
TUid | iInterfaceId |
TInt | iReserved1 |
TInt | iReserved2 |
TInt | iReserved3 |
IMPORT_C | TMMFMessageDestination | ( | ) |
Default constructor.
Assigns a null UID to the interface, and a null handle to the handle.
7.0s
IMPORT_C | TMMFMessageDestination | ( | TUid | aInterfaceId | ) |
Constructor for sending messages to the controller plugin.
Assigns KMMFObjectHandleController to the destination handle.
7.0s
TUid aInterfaceId | The UID of the interface of this message destination. |
IMPORT_C | TMMFMessageDestination | ( | TUid | aInterfaceId, |
TInt | aDestinationHandle | |||
) |
Full constructor.
7.0s
IMPORT_C | TMMFMessageDestination | ( | const TMMFMessageDestination & | aOther | ) |
Copy constructor.
7.0s
const TMMFMessageDestination & aOther | The TMMFMessageDestination object to be copied. |
IMPORT_C TInt | DestinationHandle | ( | ) | const |
Returns the handle of the destination object in the controller framework.
The destination handle.
7.0s
IMPORT_C TUid | InterfaceId | ( | ) | const |
Returns the UID of the interface of the message destination.
The interface UID.
7.0s
IMPORT_C TBool | operator== | ( | const TMMFMessageDestination & | aOther | ) | const |
Compares two destinations.
A boolean indicating if the objects are the same. ETrue if the objects are the same, EFalse if the objects are different.
7.0s
const TMMFMessageDestination & aOther | The object to be compared with this object. |