CMceStreamBundle Class Reference

class CMceStreamBundle : public CBase

Class for handling grouping of Mce streams (i.e. grouping of media lines).

Can be used for example to synchronize audio and video streams.

If streams are added to the bundle or removed from it after the bundle has been added to the session, the session has to be updated with CMceSEssion::UpdateL() function in order to complete the changes.

mceclient.lib

Inherits from

Constructor & Destructor Documentation

CMceStreamBundle()

CMceStreamBundle()[private]

C++ default constructor.

~CMceStreamBundle()

IMPORT_C~CMceStreamBundle()

Destructor.

Member Functions Documentation

AddStreamL(CMceMediaStream &)

IMPORT_C voidAddStreamL(CMceMediaStream &aStream)

Adds stream to the bundle.

Parameters

CMceMediaStream & aStream

AddedL()

voidAddedL()

Called when bundle has beed added to session

AddedSinkL(CMceMediaStream &, CMceMediaSink *&, MMceEndPointProxy *&)

voidAddedSinkL(CMceMediaStream &aStream,
CMceMediaSink *&aCurrentSink,
MMceEndPointProxy *&aProxy
)[private]

Parameters

CMceMediaStream & aStream
CMceMediaSink *& aCurrentSink
MMceEndPointProxy *& aProxy

ConstructL(TMceStreamBundleType)

voidConstructL(TMceStreamBundleTypeaType)[private]

second-phase constructor

Parameters

TMceStreamBundleType aType

ExternalizeFlatL(RWriteStream &)

voidExternalizeFlatL(RWriteStream &aWriteStream)

Externalizes flat data

Parameters

RWriteStream & aWriteStreamwrite stream

ExternalizeL(MMceComSerializationContext &)

voidExternalizeL(MMceComSerializationContext &aSerCtx)

Externalizes

Parameters

MMceComSerializationContext & aSerCtxcontext for serialization

InitializeL(CMceSession &)

voidInitializeL(CMceSession &aParent)

Initializes

Parameters

CMceSession & aParentthe parent

InternalizeFlatL(RReadStream &)

voidInternalizeFlatL(RReadStream &aReadStream)

Internalizes flat data

Parameters

RReadStream & aReadStreamread stream

InternalizeL(MMceComSerializationContext &)

voidInternalizeL(MMceComSerializationContext &aSerCtx)

Internalizes

Parameters

MMceComSerializationContext & aSerCtxcontext for serialization

NewL(TMceStreamBundleType)

IMPORT_C CMceStreamBundle *NewL(TMceStreamBundleTypeaType)[static]

Two-phased constructor.

Parameters

TMceStreamBundleType aType

NewLC(TMceStreamBundleType)

IMPORT_C CMceStreamBundle *NewLC(TMceStreamBundleTypeaType)[static]

Two-phased constructor.

Parameters

TMceStreamBundleType aType

RemoveStreamL(CMceMediaStream &)

IMPORT_C voidRemoveStreamL(CMceMediaStream &aStream)

Removes stream from the bundle.

Parameters

CMceMediaStream & aStream

SerializationId()

TUint64 SerializationId()const

Returns serialization id

Streams()

IMPORT_C const RPointerArray< CMceMediaStream > &Streams()

Returns the streams belonging to the bundle.

Type()

IMPORT_C TMceStreamBundleTypeType()const

Type of the bundle

Member Enumerations Documentation

Enum TMceStreamBundleType

Enumerators

ELS
EFID

Member Data Documentation

CMceComStreamBundle * iFlatData

CMceComStreamBundle *iFlatData[protected]

flat data container

CMceSession * iSession

CMceSession *iSession[protected]

session

RPointerArray< CMceMediaStream > iStreams

RPointerArray< CMceMediaStream >iStreams[private]

Bundled streams, streams are not owned

RPointerArray< CMceMediaStream > iTempStreams

RPointerArray< CMceMediaStream >iTempStreams[private]