CMceComStreamBundle Class Reference

class CMceComStreamBundle : 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

Public Member Functions
~CMceComStreamBundle()
voidAddStreamL(CMceComMediaStream &)
voidAddedL()
TMceComFactory BaseFactory()
CMceComStreamBundle *CloneL()
CMceComStreamBundle *CloneL(const RPointerArray< CMceComMediaStream > &)
voidExternalizeFlatL(RWriteStream &)
voidExternalizeL(MMceComSerializationContext &)
TMceMediaId Id()
TBool InBundle(CMceComEndpoint &, CMceComSession &)
voidInitializeL(CMceComSession &)
voidInternalizeFlatL(RReadStream &)
voidInternalizeL(MMceComSerializationContext &)
CMceComStreamBundle *NewL(CMceStreamBundle::TMceStreamBundleType)
CMceComStreamBundle *NewLC(CMceStreamBundle::TMceStreamBundleType)
voidRemoveStreamL(CMceComMediaStream &)
TUint64 SerializationId()
const RPointerArray< CMceComMediaStream > &Streams()
CMceStreamBundle::TMceStreamBundleType Type()
voidUpdateL(CMceComStreamBundle &)
Private Member Functions
CMceComStreamBundle(CMceStreamBundle::TMceStreamBundleType)
voidAddedSinkL(CMceComMediaStream &, CMceComEndpoint *&, MMceComEndPointProxy *&)
voidAddedSourceL(CMceComMediaStream &, CMceComEndpoint *&, MMceComEndPointProxy *&)
voidConstructL()
voidZero()
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()
Private Attributes
CMceStreamBundle::TMceStreamBundleType iBundleType
TMceMediaId iID
CMceComSession *iSession
RPointerArray< CMceComMediaStream >iStreams

Constructor & Destructor Documentation

CMceComStreamBundle(CMceStreamBundle::TMceStreamBundleType)

CMceComStreamBundle(CMceStreamBundle::TMceStreamBundleTypeaType)[private]

C++ default constructor.

~CMceComStreamBundle()

~CMceComStreamBundle()

Destructor.

Member Functions Documentation

AddStreamL(CMceComMediaStream &)

voidAddStreamL(CMceComMediaStream &aStream)

Adds stream to the bundle.

Parameters

CMceComMediaStream & aStream

AddedL()

voidAddedL()

Called when bundle has beed added to session

AddedSinkL(CMceComMediaStream &, CMceComEndpoint *&, MMceComEndPointProxy *&)

voidAddedSinkL(CMceComMediaStream &aStream,
CMceComEndpoint *&aCurrentSink,
MMceComEndPointProxy *&aProxy
)[private]

Parameters

CMceComMediaStream & aStream
CMceComEndpoint *& aCurrentSink
MMceComEndPointProxy *& aProxy

AddedSourceL(CMceComMediaStream &, CMceComEndpoint *&, MMceComEndPointProxy *&)

voidAddedSourceL(CMceComMediaStream &aStream,
CMceComEndpoint *&aCurrentSource,
MMceComEndPointProxy *&aProxy
)[private]

Parameters

CMceComMediaStream & aStream
CMceComEndpoint *& aCurrentSource
MMceComEndPointProxy *& aProxy

BaseFactory()

TMceComFactory BaseFactory()

Factory

CloneL()

CMceComStreamBundle *CloneL()

Clones this object

CloneL(const RPointerArray< CMceComMediaStream > &)

CMceComStreamBundle *CloneL(const RPointerArray< CMceComMediaStream > &aStreams)

Clones this object

Parameters

const RPointerArray< CMceComMediaStream > & aStreamsarray containing streams

ConstructL()

voidConstructL()[private]

second-phase constructor

ExternalizeFlatL(RWriteStream &)

voidExternalizeFlatL(RWriteStream &aWriteStream)

Externalizes flat data

Parameters

RWriteStream & aWriteStreamwrite stream

ExternalizeL(MMceComSerializationContext &)

voidExternalizeL(MMceComSerializationContext &aSerCtx)

Externalizes

Parameters

MMceComSerializationContext & aSerCtxcontext for serialization

Id()

TMceMediaId Id()const

ID

InBundle(CMceComEndpoint &, CMceComSession &)

TBool InBundle(CMceComEndpoint &aEndpoint,
CMceComSession &aSession
)[static]

Parameters

CMceComEndpoint & aEndpoint
CMceComSession & aSession

InitializeL(CMceComSession &)

voidInitializeL(CMceComSession &aParent)

Initializes

Parameters

CMceComSession & 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(CMceStreamBundle::TMceStreamBundleType)

CMceComStreamBundle *NewL(CMceStreamBundle::TMceStreamBundleTypeaType)[static]

Two-phased constructor.

NewLC(CMceStreamBundle::TMceStreamBundleType)

CMceComStreamBundle *NewLC(CMceStreamBundle::TMceStreamBundleTypeaType)[static]

Two-phased constructor.

RemoveStreamL(CMceComMediaStream &)

voidRemoveStreamL(CMceComMediaStream &aStream)

Removes stream from the bundle.

Parameters

CMceComMediaStream & aStream

SerializationId()

TUint64 SerializationId()const

Returns serialization id

Streams()

const RPointerArray< CMceComMediaStream > &Streams()const

Returns the streams belonging to the bundle.

Type()

CMceStreamBundle::TMceStreamBundleType Type()const

Type of the bundle

UpdateL(CMceComStreamBundle &)

voidUpdateL(CMceComStreamBundle &aUpdate)

Updates this object

Parameters

CMceComStreamBundle & aUpdateobject updates this

Zero()

voidZero()[private]

Zeroes instance (used in cloning)

Member Data Documentation

CMceStreamBundle::TMceStreamBundleType iBundleType

CMceStreamBundle::TMceStreamBundleType iBundleType[private]

type

TMceMediaId iID

TMceMediaId iID[private]

ID

CMceComSession * iSession

CMceComSession *iSession[private]

session

RPointerArray< CMceComMediaStream > iStreams

RPointerArray< CMceComMediaStream >iStreams[private]

streams