CMMFVideoControllerCustomCommandParser Class Reference

class CMMFVideoControllerCustomCommandParser : public CMMFCustomCommandParserBase

Custom command parser class to be used by controller plugins wishing to support video controller commands.

The controller plugin must be derived from MMMFVideoControllerCustomCommandImplementor 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. See the following example code for details.

void CMMFAudioController::ConstructL()
	{
	// Construct custom command parsers
	CMMFAudioPlayDeviceCustomCommandParser* audPlayDevParser = CMMFAudioPlayDeviceCustomCommandParser::NewL(*this);
	CleanupStack::PushL(audPlayDevParser);
	AddCustomCommandParserL(*audPlayDevParser); //parser now owned by controller framework
	CleanupStack::Pop();//audPlayDevParser

	CMMFAudioRecordDeviceCustomCommandParser* audRecDevParser = CMMFAudioRecordDeviceCustomCommandParser::NewL(*this);
	CleanupStack::PushL(audRecDevParser);
	AddCustomCommandParserL(*audRecDevParser); //parser now owned by controller framework
	CleanupStack::Pop();//audRecDevParser

etc.
	}

7.0s

Inherits from

Constructor & Destructor Documentation

CMMFVideoControllerCustomCommandParser(MMMFVideoControllerCustomCommandImplementor &)

CMMFVideoControllerCustomCommandParser(MMMFVideoControllerCustomCommandImplementor &aImplementor)[private]

Constructor.

7.0s

Parameters

MMMFVideoControllerCustomCommandImplementor & aImplementorA reference to the controller plugin that owns this new object.

~CMMFVideoControllerCustomCommandParser()

IMPORT_C~CMMFVideoControllerCustomCommandParser()

Destructor.

7.0s

Member Functions Documentation

DoGetAudioBitRateL(TMMFMessage &)

TBool DoGetAudioBitRateL(TMMFMessage &aMessage)[private]

Parameters

TMMFMessage & aMessage

DoGetAudioCodecL(TMMFMessage &)

TBool DoGetAudioCodecL(TMMFMessage &aMessage)[private]

Parameters

TMMFMessage & aMessage

DoGetFrameRateL(TMMFMessage &)

TBool DoGetFrameRateL(TMMFMessage &aMessage)[private]

Parameters

TMMFMessage & aMessage

DoGetVideoBitRateL(TMMFMessage &)

TBool DoGetVideoBitRateL(TMMFMessage &aMessage)[private]

Parameters

TMMFMessage & aMessage

DoGetVideoFrameSizeL(TMMFMessage &)

TBool DoGetVideoFrameSizeL(TMMFMessage &aMessage)[private]

Parameters

TMMFMessage & aMessage

DoGetVideoMimeTypeL(TMMFMessage &)

TBool DoGetVideoMimeTypeL(TMMFMessage &aMessage)[private]

Parameters

TMMFMessage & aMessage

DoHandleRequestL(TMMFMessage &)

voidDoHandleRequestL(TMMFMessage &aMessage)[private]

Parameters

TMMFMessage & aMessage

DoSetFrameRateL(TMMFMessage &)

TBool DoSetFrameRateL(TMMFMessage &aMessage)[private]

Parameters

TMMFMessage & aMessage

HandleRequest(TMMFMessage &)

voidHandleRequest(TMMFMessage &aMessage)[virtual]

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

7.0s

Parameters

TMMFMessage & aMessageThe message to be handled.

NewL(MMMFVideoControllerCustomCommandImplementor &)

IMPORT_C CMMFVideoControllerCustomCommandParser *NewL(MMMFVideoControllerCustomCommandImplementor &aImplementor)[static]

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

A pointer to the object created.

7.0s

Parameters

MMMFVideoControllerCustomCommandImplementor & aImplementorA reference to the controller plugin that owns this new object.

Member Data Documentation

MMMFVideoControllerCustomCommandImplementor & iImplementor

MMMFVideoControllerCustomCommandImplementor &iImplementor[private]

The object that implements the video record controller interface