RMMFController Class Reference

class RMMFController

Client representation of a controller plugin for the Multimedia Framework.

This class allows a client to load a controller plugin into a new thread and access the functionality provided by that plugin.

7.0s

Public Member Functions
RMMFController()
IMPORT_C TIntAddDataSink(TUid, const TDesC8 &)
IMPORT_C TIntAddDataSink(TUid, const TDesC8 &, TMMFMessageDestination &)
IMPORT_C voidAddDataSink(const TMMFUidPckg &, const TDesC8 &, TMMFMessageDestinationPckg &, TRequestStatus &)
IMPORT_C TIntAddDataSource(TUid, const TDesC8 &)
IMPORT_C TIntAddDataSource(TUid, const TDesC8 &, TMMFMessageDestination &)
IMPORT_C voidAddDataSource(const TMMFUidPckg &, const TDesC8 &, TMMFMessageDestinationPckg &, TRequestStatus &)
IMPORT_C voidAddFileHandleDataSink(const RFile &, const TDesC8 &, TMMFMessageDestinationPckg &, TRequestStatus &)
IMPORT_C voidAddFileHandleDataSink(const RFile &, TMMFMessageDestinationPckg &, TRequestStatus &)
IMPORT_C voidAddFileHandleDataSource(const RFile &, const TDesC8 &, TMMFMessageDestinationPckg &, TRequestStatus &)
IMPORT_C voidAddFileHandleDataSource(const RFile &, TMMFMessageDestinationPckg &, TRequestStatus &)
IMPORT_C voidCancelAddDataSink()
IMPORT_C voidCancelAddDataSource()
IMPORT_C TIntCancelReceiveEvents()
IMPORT_C voidClose()
IMPORT_C voidCustomCommandAsync(const TMMFMessageDestinationPckg &, TInt, const TDesC8 &, const TDesC8 &, TDes8 &, TRequestStatus &)
IMPORT_C voidCustomCommandAsync(const TMMFMessageDestinationPckg &, TInt, const TDesC8 &, const TDesC8 &, TRequestStatus &)
IMPORT_C TIntCustomCommandSync(const TMMFMessageDestinationPckg &, TInt, const TDesC8 &, const TDesC8 &, TDes8 &)
IMPORT_C TIntCustomCommandSync(const TMMFMessageDestinationPckg &, TInt, const TDesC8 &, const TDesC8 &)
IMPORT_C TIntGetDuration(TTimeIntervalMicroSeconds &)
IMPORT_C CMMFMetaDataEntry *GetMetaDataEntryL(TInt)
IMPORT_C TIntGetNumberOfMetaDataEntries(TInt &)
IMPORT_C TIntGetPosition(TTimeIntervalMicroSeconds &)
IMPORT_C TIntOpen(TUid, const TMMFPrioritySettings &)
IMPORT_C TIntOpen(const CMMFControllerImplementationInformation &, const TMMFPrioritySettings &)
IMPORT_C TIntOpen(TUid, const TMMFPrioritySettings &, TBool)
IMPORT_C TIntOpen(const CMMFControllerImplementationInformation &, const TMMFPrioritySettings &, TBool)
IMPORT_C TIntOpenInSecureDRMProcess(TUid, const TMMFPrioritySettings &)
IMPORT_C TIntOpenInSecureDRMProcess(const CMMFControllerImplementationInformation &, const TMMFPrioritySettings &)
IMPORT_C TIntOpenInSecureDRMProcess(TUid, const TMMFPrioritySettings &, TBool)
IMPORT_C TIntOpenInSecureDRMProcess(const CMMFControllerImplementationInformation &, const TMMFPrioritySettings &, TBool)
IMPORT_C TIntPause()
IMPORT_C TIntPlay()
IMPORT_C TIntPrime()
IMPORT_C voidReceiveEvents(TMMFEventPckg &, TRequestStatus &)
IMPORT_C TIntRemoveDataSink(const TMMFMessageDestination &)
IMPORT_C TIntRemoveDataSource(const TMMFMessageDestination &)
IMPORT_C TIntReset()
IMPORT_C TIntSetPosition(const TTimeIntervalMicroSeconds &)
IMPORT_C TIntSetPrioritySettings(const TMMFPrioritySettings &)
IMPORT_C TIntSetThreadPriority(const TThreadPriority &)
IMPORT_C TIntStop()
Private Attributes
RMMFControllerProxy iControllerProxy
TMMFMessageDestinationPckg iDestinationPckg

Constructor & Destructor Documentation

RMMFController()

IMPORT_CRMMFController()

Member Functions Documentation

AddDataSink(TUid, const TDesC8 &)

IMPORT_C TIntAddDataSink(TUidaSinkUid,
const TDesC8 &aSinkInitData
)

Parameters

TUid aSinkUid
const TDesC8 & aSinkInitData

AddDataSink(TUid, const TDesC8 &, TMMFMessageDestination &)

IMPORT_C TIntAddDataSink(TUidaSinkUid,
const TDesC8 &aSinkInitData,
TMMFMessageDestination &aHandleInfo
)

Parameters

TUid aSinkUid
const TDesC8 & aSinkInitData
TMMFMessageDestination & aHandleInfo

AddDataSink(const TMMFUidPckg &, const TDesC8 &, TMMFMessageDestinationPckg &, TRequestStatus &)

IMPORT_C voidAddDataSink(const TMMFUidPckg &aSinkUid,
const TDesC8 &aSinkInitData,
TMMFMessageDestinationPckg &aHandleInfoPckg,
TRequestStatus &aStatus
)

Parameters

const TMMFUidPckg & aSinkUid
const TDesC8 & aSinkInitData
TMMFMessageDestinationPckg & aHandleInfoPckg
TRequestStatus & aStatus

AddDataSource(TUid, const TDesC8 &)

IMPORT_C TIntAddDataSource(TUidaSourceUid,
const TDesC8 &aSourceInitData
)

Parameters

TUid aSourceUid
const TDesC8 & aSourceInitData

AddDataSource(TUid, const TDesC8 &, TMMFMessageDestination &)

IMPORT_C TIntAddDataSource(TUidaSourceUid,
const TDesC8 &aSourceInitData,
TMMFMessageDestination &aHandleInfo
)

Parameters

TUid aSourceUid
const TDesC8 & aSourceInitData
TMMFMessageDestination & aHandleInfo

AddDataSource(const TMMFUidPckg &, const TDesC8 &, TMMFMessageDestinationPckg &, TRequestStatus &)

IMPORT_C voidAddDataSource(const TMMFUidPckg &aSourceUid,
const TDesC8 &aSourceInitData,
TMMFMessageDestinationPckg &aHandleInfoPckg,
TRequestStatus &aStatus
)

Parameters

const TMMFUidPckg & aSourceUid
const TDesC8 & aSourceInitData
TMMFMessageDestinationPckg & aHandleInfoPckg
TRequestStatus & aStatus

AddFileHandleDataSink(const RFile &, const TDesC8 &, TMMFMessageDestinationPckg &, TRequestStatus &)

IMPORT_C voidAddFileHandleDataSink(const RFile &aFile,
const TDesC8 &aSinkInitData,
TMMFMessageDestinationPckg &aHandleInfoPckg,
TRequestStatus &aStatus
)

Parameters

const RFile & aFile
const TDesC8 & aSinkInitData
TMMFMessageDestinationPckg & aHandleInfoPckg
TRequestStatus & aStatus

AddFileHandleDataSink(const RFile &, TMMFMessageDestinationPckg &, TRequestStatus &)

IMPORT_C voidAddFileHandleDataSink(const RFile &aFile,
TMMFMessageDestinationPckg &aHandleInfoPckg,
TRequestStatus &aStatus
)

Parameters

const RFile & aFile
TMMFMessageDestinationPckg & aHandleInfoPckg
TRequestStatus & aStatus

AddFileHandleDataSource(const RFile &, const TDesC8 &, TMMFMessageDestinationPckg &, TRequestStatus &)

IMPORT_C voidAddFileHandleDataSource(const RFile &aFile,
const TDesC8 &aSourceInitData,
TMMFMessageDestinationPckg &aHandleInfoPckg,
TRequestStatus &aStatus
)

Parameters

const RFile & aFile
const TDesC8 & aSourceInitData
TMMFMessageDestinationPckg & aHandleInfoPckg
TRequestStatus & aStatus

AddFileHandleDataSource(const RFile &, TMMFMessageDestinationPckg &, TRequestStatus &)

IMPORT_C voidAddFileHandleDataSource(const RFile &aFile,
TMMFMessageDestinationPckg &aHandleInfoPckg,
TRequestStatus &aStatus
)

Parameters

const RFile & aFile
TMMFMessageDestinationPckg & aHandleInfoPckg
TRequestStatus & aStatus

CancelAddDataSink()

IMPORT_C voidCancelAddDataSink()

CancelAddDataSource()

IMPORT_C voidCancelAddDataSource()

CancelReceiveEvents()

IMPORT_C TIntCancelReceiveEvents()

Close()

IMPORT_C voidClose()

CustomCommandAsync(const TMMFMessageDestinationPckg &, TInt, const TDesC8 &, const TDesC8 &, TDes8 &, TRequestStatus &)

IMPORT_C voidCustomCommandAsync(const TMMFMessageDestinationPckg &aDestination,
TIntaFunction,
const TDesC8 &aDataTo1,
const TDesC8 &aDataTo2,
TDes8 &aDataFrom,
TRequestStatus &aStatus
)

Parameters

const TMMFMessageDestinationPckg & aDestination
TInt aFunction
const TDesC8 & aDataTo1
const TDesC8 & aDataTo2
TDes8 & aDataFrom
TRequestStatus & aStatus

CustomCommandAsync(const TMMFMessageDestinationPckg &, TInt, const TDesC8 &, const TDesC8 &, TRequestStatus &)

IMPORT_C voidCustomCommandAsync(const TMMFMessageDestinationPckg &aDestination,
TIntaFunction,
const TDesC8 &aDataTo1,
const TDesC8 &aDataTo2,
TRequestStatus &aStatus
)

Parameters

const TMMFMessageDestinationPckg & aDestination
TInt aFunction
const TDesC8 & aDataTo1
const TDesC8 & aDataTo2
TRequestStatus & aStatus

CustomCommandSync(const TMMFMessageDestinationPckg &, TInt, const TDesC8 &, const TDesC8 &, TDes8 &)

IMPORT_C TIntCustomCommandSync(const TMMFMessageDestinationPckg &aDestination,
TIntaFunction,
const TDesC8 &aDataTo1,
const TDesC8 &aDataTo2,
TDes8 &aDataFrom
)

Parameters

const TMMFMessageDestinationPckg & aDestination
TInt aFunction
const TDesC8 & aDataTo1
const TDesC8 & aDataTo2
TDes8 & aDataFrom

CustomCommandSync(const TMMFMessageDestinationPckg &, TInt, const TDesC8 &, const TDesC8 &)

IMPORT_C TIntCustomCommandSync(const TMMFMessageDestinationPckg &aDestination,
TIntaFunction,
const TDesC8 &aDataTo1,
const TDesC8 &aDataTo2
)

Parameters

const TMMFMessageDestinationPckg & aDestination
TInt aFunction
const TDesC8 & aDataTo1
const TDesC8 & aDataTo2

GetDuration(TTimeIntervalMicroSeconds &)

IMPORT_C TIntGetDuration(TTimeIntervalMicroSeconds &aDuration)const

Parameters

TTimeIntervalMicroSeconds & aDuration

GetMetaDataEntryL(TInt)

IMPORT_C CMMFMetaDataEntry *GetMetaDataEntryL(TIntaIndex)const

Parameters

TInt aIndex

GetNumberOfMetaDataEntries(TInt &)

IMPORT_C TIntGetNumberOfMetaDataEntries(TInt &aNumberOfEntries)const

Parameters

TInt & aNumberOfEntries

GetPosition(TTimeIntervalMicroSeconds &)

IMPORT_C TIntGetPosition(TTimeIntervalMicroSeconds &aPosition)const

Parameters

TTimeIntervalMicroSeconds & aPosition

Open(TUid, const TMMFPrioritySettings &)

IMPORT_C TIntOpen(TUidaControllerUid,
const TMMFPrioritySettings &aPrioritySettings
)

Parameters

TUid aControllerUid
const TMMFPrioritySettings & aPrioritySettings

Open(const CMMFControllerImplementationInformation &, const TMMFPrioritySettings &)

IMPORT_C TIntOpen(const CMMFControllerImplementationInformation &aControllerInfo,
const TMMFPrioritySettings &aPrioritySettings
)

Parameters

const CMMFControllerImplementationInformation & aControllerInfo
const TMMFPrioritySettings & aPrioritySettings

Open(TUid, const TMMFPrioritySettings &, TBool)

IMPORT_C TIntOpen(TUidaControllerUid,
const TMMFPrioritySettings &aPrioritySettings,
TBoolaUseSharedHeap
)

Parameters

TUid aControllerUid
const TMMFPrioritySettings & aPrioritySettings
TBool aUseSharedHeap

Open(const CMMFControllerImplementationInformation &, const TMMFPrioritySettings &, TBool)

IMPORT_C TIntOpen(const CMMFControllerImplementationInformation &aControllerInfo,
const TMMFPrioritySettings &aPrioritySettings,
TBoolaUseSharedHeap
)

Parameters

const CMMFControllerImplementationInformation & aControllerInfo
const TMMFPrioritySettings & aPrioritySettings
TBool aUseSharedHeap

OpenInSecureDRMProcess(TUid, const TMMFPrioritySettings &)

IMPORT_C TIntOpenInSecureDRMProcess(TUidaControllerUid,
const TMMFPrioritySettings &aPrioritySettings
)

Parameters

TUid aControllerUid
const TMMFPrioritySettings & aPrioritySettings

OpenInSecureDRMProcess(const CMMFControllerImplementationInformation &, const TMMFPrioritySettings &)

IMPORT_C TIntOpenInSecureDRMProcess(const CMMFControllerImplementationInformation &aControllerInfo,
const TMMFPrioritySettings &aPrioritySettings
)

Parameters

const CMMFControllerImplementationInformation & aControllerInfo
const TMMFPrioritySettings & aPrioritySettings

OpenInSecureDRMProcess(TUid, const TMMFPrioritySettings &, TBool)

IMPORT_C TIntOpenInSecureDRMProcess(TUidaControllerUid,
const TMMFPrioritySettings &aPrioritySettings,
TBoolaUseSharedHeap
)

Parameters

TUid aControllerUid
const TMMFPrioritySettings & aPrioritySettings
TBool aUseSharedHeap

OpenInSecureDRMProcess(const CMMFControllerImplementationInformation &, const TMMFPrioritySettings &, TBool)

IMPORT_C TIntOpenInSecureDRMProcess(const CMMFControllerImplementationInformation &aControllerInfo,
const TMMFPrioritySettings &aPrioritySettings,
TBoolaUseSharedHeap
)

Parameters

const CMMFControllerImplementationInformation & aControllerInfo
const TMMFPrioritySettings & aPrioritySettings
TBool aUseSharedHeap

Pause()

IMPORT_C TIntPause()

Play()

IMPORT_C TIntPlay()

Prime()

IMPORT_C TIntPrime()

ReceiveEvents(TMMFEventPckg &, TRequestStatus &)

IMPORT_C voidReceiveEvents(TMMFEventPckg &aEventPckg,
TRequestStatus &aStatus
)

Parameters

TMMFEventPckg & aEventPckg
TRequestStatus & aStatus

RemoveDataSink(const TMMFMessageDestination &)

IMPORT_C TIntRemoveDataSink(const TMMFMessageDestination &aSinkHandleInfo)

Parameters

const TMMFMessageDestination & aSinkHandleInfo

RemoveDataSource(const TMMFMessageDestination &)

IMPORT_C TIntRemoveDataSource(const TMMFMessageDestination &aSourceHandleInfo)

Parameters

const TMMFMessageDestination & aSourceHandleInfo

Reset()

IMPORT_C TIntReset()

SetPosition(const TTimeIntervalMicroSeconds &)

IMPORT_C TIntSetPosition(const TTimeIntervalMicroSeconds &aPosition)const

Parameters

const TTimeIntervalMicroSeconds & aPosition

SetPrioritySettings(const TMMFPrioritySettings &)

IMPORT_C TIntSetPrioritySettings(const TMMFPrioritySettings &aPrioritySettings)const

Parameters

const TMMFPrioritySettings & aPrioritySettings

SetThreadPriority(const TThreadPriority &)

IMPORT_C TIntSetThreadPriority(const TThreadPriority &aPriority)const

Parameters

const TThreadPriority & aPriority

Stop()

IMPORT_C TIntStop()

Member Data Documentation

RMMFControllerProxy iControllerProxy

RMMFControllerProxy iControllerProxy[private]

The controller proxy. Used to pass messages to the controller thread.

TMMFMessageDestinationPckg iDestinationPckg

TMMFMessageDestinationPckg iDestinationPckg[private]

Used to hold the destination information for messages for the standard controller plugin interface.