CMidiCustomCommandParser Class Reference

#include <mmf/common/midistandardcustomcommands.h>

Link against: midistandardcustomcommands.lib

class CMidiCustomCommandParser : public CMMFCustomCommandParserBase, public MMidiEventHandler

Inherits from

Detailed Description

Custom command parser class to be used by controller plugins wishing to support MIDI controller commands. The controller plugin must be derived from MMidiCustomCommandImplementor to use this class. The controller plugin should create an object of this type and add it to the list of custom command parsers in the controller framework.

Constructor & Destructor Documentation

~CMidiCustomCommandParser ( )

IMPORT_C~CMidiCustomCommandParser()

Destructor.

Member Function Documentation

HandleRequest ( TMMFMessage & )

voidHandleRequest(TMMFMessage &aMessage)[virtual]

Reimplemented from CMMFCustomCommandParserBase::HandleRequest(TMMFMessage &)

Handles a request from the client. Called by the controller framework.

Parameters
aMessageThe message to be handled.

NewL ( MMidiCustomCommandImplementor & )

IMPORT_C CMidiCustomCommandParser *NewL(MMidiCustomCommandImplementor &aImplementor)[static]

Creates a new MIDI custom command parser capable of handling MIDI controller commands.

Parameters
aImplementorA reference to the controller plugin that owns this new object.
Leave Codes
Thisfunction may leave with one of the system-wide error codes.

SendMidiEventToClient ( const CMMFMidiEvent & )

TInt SendMidiEventToClient(const CMMFMidiEvent &aEvent)[virtual]

Reimplemented from MMidiEventHandler::SendMidiEventToClient(const CMMFMidiEvent &)

Sent a MIDI event back to the client.

Parameters
aEventMIDI event to be sent to the client.
Return Value
One of the system-wide error codes.