Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: midistandardcustomcommands.h
Link against: midistandardcustomcommands.lib

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class CMidiCustomCommandParser

class CMidiCustomCommandParser : public CMMFCustomCommandParserBase, public MMidiEventHandler;

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.

Derivation

Members

Defined in CMidiCustomCommandParser:
NewL(), SendMidiEventToClient(), ~CMidiCustomCommandParser()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CMMFCustomCommandParserBase:
HandleRequest(), InterfaceId()


Construction and destruction


NewL()

static IMPORT_C CMidiCustomCommandParser *NewL(MMidiCustomCommandImplementor &aImplementor);

Description

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

Parameters

MMidiCustomCommandImplementor &aImplementor

A reference to the controller plugin that owns this new object.

Return value

CMidiCustomCommandParser *

Leave codes

This

function may leave with one of the system-wide error codes.


~CMidiCustomCommandParser()

IMPORT_C ~CMidiCustomCommandParser();

Description

Destructor.

[Top]


Member functions


SendMidiEventToClient()

virtual TInt SendMidiEventToClient(const CMMFMidiEvent &aEvent);

Description

Sent a MIDI event back to the client.

Parameters

const CMMFMidiEvent &aEvent

MIDI event to be sent to the client.

Return value

TInt

One of the system-wide error codes.