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
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() |
Private Attributes | |
---|---|
CMceStreamBundle::TMceStreamBundleType | iBundleType |
TMceMediaId | iID |
CMceComSession * | iSession |
RPointerArray< CMceComMediaStream > | iStreams |
CMceComStreamBundle | ( | CMceStreamBundle::TMceStreamBundleType | aType | ) | [private] |
C++ default constructor.
CMceStreamBundle::TMceStreamBundleType aType |
void | AddStreamL | ( | CMceComMediaStream & | aStream | ) |
Adds stream to the bundle.
CMceComMediaStream & aStream |
void | AddedSinkL | ( | CMceComMediaStream & | aStream, |
CMceComEndpoint *& | aCurrentSink, | |||
MMceComEndPointProxy *& | aProxy | |||
) | [private] |
CMceComMediaStream & aStream | |
CMceComEndpoint *& aCurrentSink | |
MMceComEndPointProxy *& aProxy |
void | AddedSourceL | ( | CMceComMediaStream & | aStream, |
CMceComEndpoint *& | aCurrentSource, | |||
MMceComEndPointProxy *& | aProxy | |||
) | [private] |
CMceComMediaStream & aStream | |
CMceComEndpoint *& aCurrentSource | |
MMceComEndPointProxy *& aProxy |
CMceComStreamBundle * | CloneL | ( | const RPointerArray< CMceComMediaStream > & | aStreams | ) |
Clones this object
const RPointerArray< CMceComMediaStream > & aStreams | array containing streams |
void | ExternalizeFlatL | ( | RWriteStream & | aWriteStream | ) |
Externalizes flat data
RWriteStream & aWriteStream | write stream |
void | ExternalizeL | ( | MMceComSerializationContext & | aSerCtx | ) |
Externalizes
MMceComSerializationContext & aSerCtx | context for serialization |
TBool | InBundle | ( | CMceComEndpoint & | aEndpoint, |
CMceComSession & | aSession | |||
) | [static] |
CMceComEndpoint & aEndpoint | |
CMceComSession & aSession |
void | InitializeL | ( | CMceComSession & | aParent | ) |
Initializes
CMceComSession & aParent | the parent |
void | InternalizeFlatL | ( | RReadStream & | aReadStream | ) |
Internalizes flat data
RReadStream & aReadStream | read stream |
void | InternalizeL | ( | MMceComSerializationContext & | aSerCtx | ) |
Internalizes
MMceComSerializationContext & aSerCtx | context for serialization |
CMceComStreamBundle * | NewL | ( | CMceStreamBundle::TMceStreamBundleType | aType | ) | [static] |
Two-phased constructor.
CMceStreamBundle::TMceStreamBundleType aType |
CMceComStreamBundle * | NewLC | ( | CMceStreamBundle::TMceStreamBundleType | aType | ) | [static] |
Two-phased constructor.
CMceStreamBundle::TMceStreamBundleType aType |
void | RemoveStreamL | ( | CMceComMediaStream & | aStream | ) |
Removes stream from the bundle.
CMceComMediaStream & aStream |
const RPointerArray< CMceComMediaStream > & | Streams | ( | ) | const |
Returns the streams belonging to the bundle.
void | UpdateL | ( | CMceComStreamBundle & | aUpdate | ) |
Updates this object
CMceComStreamBundle & aUpdate | object updates this |
CMceStreamBundle::TMceStreamBundleType | iBundleType | [private] |
type
RPointerArray< CMceComMediaStream > | iStreams | [private] |
streams
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.