CMMFFormatPluginSelectionParameters Class Reference

#include <mmf/common/mmfcontrollerpluginresolver.h>

Link against: mmfcontrollerframework.lib

class CMMFFormatPluginSelectionParameters : public CMMFPluginSelectionParameters, public CMMFPluginSelectionParameters
Protected Attributes
CMMFFormatSelectionParameters *iRequiredFormatSupport
Public Member Functions
virtual ~CMMFFormatPluginSelectionParameters()
IMPORT_C voidListImplementationsL(RMMFFormatImplInfoArray &)
IMPORT_C voidSetRequiredFormatSupportL(const CMMFFormatSelectionParameters &)
Protected Member Functions
CMMFFormatPluginSelectionParameters(TUid)
TBool CheckFormatSupportL(const CMMFFormatImplementationInformation &)
TInt CheckPreferredSupplierL(RMMFFormatImplInfoArray &, const CMMFFormatImplementationInformation &)
voidMatchImplementationToSelectParamsL(RMMFFormatImplInfoArray &, const CMMFFormatImplementationInformation &, TInt &)
Inherited Enumerations
CMMFPluginSelectionParameters:TMediaIdMatchType
CMMFPluginSelectionParameters:TPreferredSupplierMatchType
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CMMFPluginSelectionParameters::CMMFPluginSelectionParameters(TUid)
CMMFPluginSelectionParameters::CheckMediaIdSupportL(const CMMFPluginImplementationInformation &)const
CMMFPluginSelectionParameters::InterfaceUid()const
CMMFPluginSelectionParameters::MediaIdMatchType()const
CMMFPluginSelectionParameters::MediaIds()const
CMMFPluginSelectionParameters::PreferredSupplier()const
CMMFPluginSelectionParameters::PreferredSupplierMatchType()const
CMMFPluginSelectionParameters::SetMediaIdsL(const RArray< TUid > &,TMediaIdMatchType)
CMMFPluginSelectionParameters::SetPreferredSupplierL(const TDesC &,TPreferredSupplierMatchType)
CMMFPluginSelectionParameters::~CMMFPluginSelectionParameters()

Detailed Description

Abstract class used to contain the parameters used to select format plugins from the ECOM registry.

Note: The classes CMMFFormatEncodePluginSelectionParamters and CMMFFormatDecodePluginSelectionParameters should be used to list and select format plugin implementations.

Since
7.0s

Member Attribute Documentation

iRequiredFormatSupport

CMMFFormatSelectionParameters *iRequiredFormatSupport[protected]

The format support required

Constructor & Destructor Documentation

CMMFFormatPluginSelectionParameters ( TUid )

CMMFFormatPluginSelectionParameters(TUidaInterfaceUid)[protected]

Protected constructor.

~CMMFFormatPluginSelectionParameters ( )

~CMMFFormatPluginSelectionParameters()[virtual]

Destructor.

Member Function Documentation

CheckFormatSupportL ( const CMMFFormatImplementationInformation & )

TBool CheckFormatSupportL(const CMMFFormatImplementationInformation &aPlugin)const [protected]

CheckPreferredSupplierL ( RMMFFormatImplInfoArray &, const CMMFFormatImplementationInformation & )

TInt CheckPreferredSupplierL(RMMFFormatImplInfoArray &aImplementations,
const CMMFFormatImplementationInformation &aPlugin
)const [protected]

ListImplementationsL ( RMMFFormatImplInfoArray & )

IMPORT_C voidListImplementationsL(RMMFFormatImplInfoArray &aImplementations)const

Retrieves all format plugins that support the requirements of the caller.

Since
7.0s
Parameters
aImplementationsAfter this function returns, this array will contain all the format plugins that support the caller's requirements. Note: The array will be emptied by this method.

MatchImplementationToSelectParamsL ( RMMFFormatImplInfoArray &, const CMMFFormatImplementationInformation &, TInt & )

voidMatchImplementationToSelectParamsL(RMMFFormatImplInfoArray &aImplementations,
const CMMFFormatImplementationInformation &aPlugin,
TInt &aArrayPos
)const [protected]

SetRequiredFormatSupportL ( const CMMFFormatSelectionParameters & )

IMPORT_C voidSetRequiredFormatSupportL(const CMMFFormatSelectionParameters &aRequiredSupport)

Sets the format support required.

Since
7.0s
Parameters
aRequiredSupportThe format support required.