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 ()
void AddStreamL ( CMceComMediaStream &)
void AddedL ()
TMceComFactory BaseFactory ()
CMceComStreamBundle * CloneL ()
CMceComStreamBundle * CloneL (const RPointerArray < CMceComMediaStream > &)
void ExternalizeFlatL ( RWriteStream &)
void ExternalizeL ( MMceComSerializationContext &)
TMceMediaId Id ()
TBool InBundle ( CMceComEndpoint &, CMceComSession &)
void InitializeL ( CMceComSession &)
void InternalizeFlatL ( RReadStream &)
void InternalizeL ( MMceComSerializationContext &)
CMceComStreamBundle * NewL ( CMceStreamBundle::TMceStreamBundleType )
CMceComStreamBundle * NewLC ( CMceStreamBundle::TMceStreamBundleType )
void RemoveStreamL ( CMceComMediaStream &)
TUint64 SerializationId ()
const RPointerArray < CMceComMediaStream > & Streams ()
CMceStreamBundle::TMceStreamBundleType Type ()
void UpdateL ( CMceComStreamBundle &)
Private Member Functions
CMceComStreamBundle ( CMceStreamBundle::TMceStreamBundleType )
void AddedSinkL ( CMceComMediaStream &, CMceComEndpoint *&, MMceComEndPointProxy *&)
void AddedSourceL ( CMceComMediaStream &, CMceComEndpoint *&, MMceComEndPointProxy *&)
void ConstructL ()
void Zero ()
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::TMceStreamBundleType aType ) [private]

C++ default constructor.

~CMceComStreamBundle()

~CMceComStreamBundle ( )

Destructor.

Member Functions Documentation

AddStreamL(CMceComMediaStream &)

void AddStreamL ( CMceComMediaStream & aStream )

Adds stream to the bundle.

Parameters

CMceComMediaStream & aStream

AddedL()

void AddedL ( )

Called when bundle has beed added to session

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

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

Parameters

CMceComMediaStream & aStream
CMceComEndpoint *& aCurrentSink
MMceComEndPointProxy *& aProxy

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

void AddedSourceL ( 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 > & aStreams array containing streams

ConstructL()

void ConstructL ( ) [private]

second-phase constructor

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

Id()

TMceMediaId Id ( ) const

ID

InBundle(CMceComEndpoint &, CMceComSession &)

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

Parameters

CMceComEndpoint & aEndpoint
CMceComSession & aSession

InitializeL(CMceComSession &)

void InitializeL ( CMceComSession & aParent )

Initializes

Parameters

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

CMceComStreamBundle * NewL ( CMceStreamBundle::TMceStreamBundleType aType ) [static]

Two-phased constructor.

NewLC(CMceStreamBundle::TMceStreamBundleType)

CMceComStreamBundle * NewLC ( CMceStreamBundle::TMceStreamBundleType aType ) [static]

Two-phased constructor.

RemoveStreamL(CMceComMediaStream &)

void RemoveStreamL ( 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 &)

void UpdateL ( CMceComStreamBundle & aUpdate )

Updates this object

Parameters

CMceComStreamBundle & aUpdate object updates this

Zero()

void Zero ( ) [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