|
||
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.
CBase
-
Base class for all classes to be instantiated on the heap.
CMMFObject
-
Defines an object to which a client may have a direct handle.
Defined in CMMFObject
:
CMMFObject(TUid)
Constructor.Handle()
Returns the handle of the object.HandleRequest(TMMFMessage &)
Passes a message to the object to handle.operator==(const CMMFObject &)
Compares two CMMFObjects by comparing their handles.~CMMFObject()
Destructor. Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...IMPORT_C CMMFObject(TUid aInterfaceId);
Constructor.
|
IMPORT_C const TMMFMessageDestination& Handle();
Returns the handle of the object.
|
IMPORT_C TBool operator==(const CMMFObject &aOther);
Compares two CMMFObjects by comparing their handles.
|
|
virtual void HandleRequest(TMMFMessage &aMessage)=0;
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.
|