#include "mmfcontroller.h"
class CMMFObject : public CBase |
Public Member Functions | |
---|---|
CMMFObject(TUid) | |
~CMMFObject() | |
IMPORT_C const TMMFMessageDestination & | Handle() |
pure virtual void | HandleRequest(TMMFMessage &) |
IMPORT_C TBool | operator==(const CMMFObject &) |
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.
IMPORT_C | CMMFObject | ( | TUid | aInterfaceId | ) |
Constructor.
Parameter | Description |
---|---|
aInterfaceId | The UID of the interface provided by this object. |
IMPORT_C const TMMFMessageDestination & | Handle | ( | ) |
Returns the handle of the object.
Returns: The handle of this object.
void | HandleRequest | ( | 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.
Parameter | Description |
---|---|
aMessage | The message to be handled. This MUST be completed by the object. |
IMPORT_C TBool | operator== | ( | const CMMFObject & | aOther | ) |
Compares two CMMFObjects by comparing their handles.
Parameter | Description |
---|---|
aOther | The object to be compared with this object. |
Returns: A boolean indicating if the two CMMFObjects are the same. ETrue if they are the same, EFalse if the objects are different.