CMMFCustomCommandParserManager Class Reference

class CMMFCustomCommandParserManager : public CBase

Class to manage custom command parsers.

An object of this type is owned by the controller framework to contain all the custom command parsers for the controller plugin.

7.0s

Inherits from

  • CMMFCustomCommandParserManager

Constructor & Destructor Documentation

CMMFCustomCommandParserManager()

CMMFCustomCommandParserManager()[private]

~CMMFCustomCommandParserManager()

IMPORT_C~CMMFCustomCommandParserManager()

Destructor.

Deletes all custom command parsers added to the manager.

7.0s

Member Functions Documentation

AddCustomCommandParserL(CMMFCustomCommandParserBase &)

IMPORT_C voidAddCustomCommandParserL(CMMFCustomCommandParserBase &aParser)

Adds a custom command parser to the manager. The manager takes ownership of the parser.

Note: This method will leave if it fails to add the parser. If it does leave, ownership of the parser will remain with the caller.

7.0s

Parameters

CMMFCustomCommandParserBase & aParserA reference to the parser to be added to the manager.

HandleRequest(TMMFMessage &)

IMPORT_C TBoolHandleRequest(TMMFMessage &aMessage)

Attempts to find a custom command parser capable of handling the message.

A boolean indicating in the message has been handled. ETrue if the message has been handled, EFalse if it has not.

7.0s

Parameters

TMMFMessage & aMessageThe message to be handled.

NewL()

IMPORT_C CMMFCustomCommandParserManager *NewL()[static]

Factory constructor.

A pointer to the newly created object.

7.0s

Member Data Documentation

RPointerArray< CMMFCustomCommandParserBase > iParsers

RPointerArray< CMMFCustomCommandParserBase >iParsers[private]

The array of custom command parsers.