CMidiCustomCommandParser Class Reference

#include <mmf/common/midistandardcustomcommands.h>

Link against: midistandardcustomcommands.lib

class CMidiCustomCommandParser : public CMMFCustomCommandParserBase

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.

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

leave
This function may leave with one of the system-wide error codes.
ParameterDescription
aImplementorA reference to the controller plugin that owns this new object.

SendMidiEventToClient ( const CMMFMidiEvent & )

TInt SendMidiEventToClient(const CMMFMidiEvent &aEvent)[virtual]

Sent a MIDI event back to the client.

ParameterDescription
aEventMIDI event to be sent to the client.

Returns: One of the system-wide error codes.