class TMdaPackage : public TMdaRawPackage |
A data structure used to package messages (that include the package type) sent between the media server and its clients.
This class is abstract. It defines the attributes common to packages where the derived class's type needs to be sent as part of the package. The attributes are a UID that identifies the package's concrete class (so that the server can construct objects of the correct type), and a UID that identifies the package type (the category of classes to which the package belongs). The package type is little used in practice. These attributes and the derived class's size are set during construction of the derived class.
Public Member Functions | |
---|---|
void | SetUid ( TUid ) |
TUid | Type () |
TUid | Uid () |
TBool | operator== (const TMdaPackage &) |
Protected Member Functions | |
---|---|
TMdaPackage ( TUid , TUid , TInt ) |
Inherited Functions | |
---|---|
TMdaRawPackage::Package() | |
TMdaRawPackage::Package()const | |
TMdaRawPackage::SetSize(TInt) | |
TMdaRawPackage::TMdaRawPackage(TInt) |
Private Attributes | |
---|---|
TUid | iType |
TUid | iUid |
Inherited Attributes | |
---|---|
TMdaRawPackage::iThis |
TMdaPackage | ( | TUid | aType, |
TUid | aUid, | ||
TInt | aDerivedSize | ||
) | [protected, inline] |
Protected constructor with two UIDs and the size of the derived class.
TUid | Type | ( | ) | const [inline] |
Gets the package type. This is set during construction of the derived class.
TUid | Uid | ( | ) | const [inline] |
Gets the derived class's type. This is set during construction of the derived class.
TBool | operator== | ( | const TMdaPackage & | aPackage | ) | [inline] |
Equality operator. Tests whether the package specified has the same UID and type as this package.
const TMdaPackage & aPackage | The package to compare with this one. |
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.