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.

Since
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.

Since
7.0s

Member Functions Documentation

AddCustomCommandParserL(CMMFCustomCommandParserBase &)

IMPORT_C void AddCustomCommandParserL ( 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.

Since
7.0s

Parameters

CMMFCustomCommandParserBase & aParser A reference to the parser to be added to the manager.

HandleRequest(TMMFMessage &)

IMPORT_C TBool HandleRequest ( TMMFMessage & aMessage )

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

Since
7.0s

Parameters

TMMFMessage & aMessage The message to be handled.

NewL()

IMPORT_C CMMFCustomCommandParserManager * NewL ( ) [static]

Factory constructor.

Since
7.0s

Member Data Documentation

RPointerArray< CMMFCustomCommandParserBase > iParsers

RPointerArray < CMMFCustomCommandParserBase > iParsers [private]

The array of custom command parsers.