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 void AddStreamL ( CMceMediaStream & aStream )

Adds stream to the bundle.

Parameters

CMceMediaStream & aStream

AddedL()

void AddedL ( )

Called when bundle has beed added to session

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

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

Parameters

CMceMediaStream & aStream
CMceMediaSink *& aCurrentSink
MMceEndPointProxy *& aProxy

ConstructL(TMceStreamBundleType)

void ConstructL ( TMceStreamBundleType aType ) [private]

second-phase constructor

Parameters

TMceStreamBundleType aType

ExternalizeFlatL(RWriteStream &)

void ExternalizeFlatL ( RWriteStream & aWriteStream )

Externalizes flat data

Parameters

RWriteStream & aWriteStream write stream

ExternalizeL(MMceComSerializationContext &)

void ExternalizeL ( MMceComSerializationContext & aSerCtx )

Externalizes

Parameters

MMceComSerializationContext & aSerCtx context for serialization

InitializeL(CMceSession &)

void InitializeL ( CMceSession & aParent )

Initializes

Parameters

CMceSession & aParent the parent

InternalizeFlatL(RReadStream &)

void InternalizeFlatL ( RReadStream & aReadStream )

Internalizes flat data

Parameters

RReadStream & aReadStream read stream

InternalizeL(MMceComSerializationContext &)

void InternalizeL ( MMceComSerializationContext & aSerCtx )

Internalizes

Parameters

MMceComSerializationContext & aSerCtx context for serialization

NewL(TMceStreamBundleType)

IMPORT_C CMceStreamBundle * NewL ( TMceStreamBundleType aType ) [static]

Two-phased constructor.

Parameters

TMceStreamBundleType aType

NewLC(TMceStreamBundleType)

IMPORT_C CMceStreamBundle * NewLC ( TMceStreamBundleType aType ) [static]

Two-phased constructor.

Parameters

TMceStreamBundleType aType

RemoveStreamL(CMceMediaStream &)

IMPORT_C void RemoveStreamL ( 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 TMceStreamBundleType Type ( ) 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]