Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <cs_subconparams.h>
Link against: subconparams.lib

Class CSubConQosGenericParamSet

class CSubConQosGenericParamSet : public CSubConGenericParameterSet;

Description

Qos generic parameter set.

This class contains a collection of generic QoS family parameters i.e, independent of any technology and provides the interface to access them.

The following operations are also provided:

CSubConQosGenericParamSet::GetDownlinkBandwidth()const/SetDownlinkBandwidth() - Accessor function for downlink bandwidth value. CSubConQosGenericParamSet::GetUplinkBandwidth()const/SetUplinkBandwidth() - Accessor function for uplink bandwidth value. CSubConQosGenericParamSet::GetDownLinkMaximumBurstSize()const/SetDownLinkMaximumBurstSize() - Accessor function for maximum size of downlink burst of data the client can handle. CSubConQosGenericParamSet::GetUpLinkMaximumBurstSize()const/SetUpLinkMaximumBurstSize() - Accessor function for maximum size of uplink burst of data the client can handle. CSubConQosGenericParamSet::GetDownLinkAveragePacketSize()const/SetDownLinkAveragePacketSize() - Accessor function for downlink average packet size data. CSubConQosGenericParamSet::GetUpLinkAveragePacketSize()const/SetUpLinkAveragePacketSize() - Accessor function for uplink average packet size data. CSubConQosGenericParamSet::GetDownLinkMaximumPacketSize()const/SetDownLinkMaximumPacketSize() - Accessor function for downlink maximum packet size data. CSubConQosGenericParamSet::GetUpLinkMaximumPacketSize()const/SetUpLinkMaximumPacketSize() - Accessor function for uplink maximum packet size data. CSubConQosGenericParamSet::GetDownLinkDelay()const/SetDownLinkDelay() - Accessor function for acceptable downlink delay/latency value. CSubConQosGenericParamSet::GetUpLinkDelay()const/SetUpLinkDelay() - Accessor function for acceptable uplink delay/latency value. CSubConQosGenericParamSet::GetDownLinkDelayVariation()const/SetDownLinkDelayVariation() - Accessor function for acceptable downlink variation in delay. CSubConQosGenericParamSet::GetUpLinkDelayVariation()const/SetUpLinkDelayVariation() - Accessor function for acceptable uplink variation in delay. CSubConQosGenericParamSet::GetDownLinkPriority()const/SetDownLinkPriority() - Accessor function for downlink priority CSubConQosGenericParamSet::GetUpLinkPriority()const/SetUpLinkPriority() - Accessor function for uplink priority CSubConQosGenericParamSet::GetHeaderMode()const/SetHeaderMode() - Accessor function for header mode (Specify whether the header size should be calculated by the QoS module or specified by the client) CSubConQosGenericParamSet::GetName()const/SetName() - Accessor function for QoS Parameters name.

Note: SMetaDataECom must be the first in the superclasses' list

Derivation

Members

Defined in CSubConQosGenericParamSet:

Inherited from CSubConParameterSet:


Construction and destruction


NewL(CSubConParameterFamily &,CSubConParameterFamily::TParameterSetType)

static inline CSubConQosGenericParamSet* NewL(CSubConParameterFamily &aFamily, CSubConParameterFamily::TParameterSetType aType);

Description

Creates a generic Qos family parameters sub-connection.

Parameters

CSubConParameterFamily &aFamily

parameter sets.

CSubConParameterFamily::TParameterSetType aType

parameter type (Requested/Acceptable/Granted)

Return value

CSubConQosGenericParamSet *

a CSubConQosGenericParamSet object pointer if successful, otherwise leaves with system error code.


NewL()

static inline CSubConQosGenericParamSet* NewL();

Description

Creates a generic Qos family parameters sub-connection.

Return value

CSubConQosGenericParamSet *

a CSubConQosGenericParamSet object pointer if successful, otherwise leaves with system error code.


CSubConQosGenericParamSet()

inline CSubConQosGenericParamSet();

Description

Empty CSubConQosGenericParamSet constructor

[Top]


Member functions


GetDownlinkBandwidth()const

inline TInt GetDownlinkBandwidth() const;

Description

Gets downlink bandwidth value.

Return value

TInt

downlink bandwidth value.


GetUplinkBandwidth()const

inline TInt GetUplinkBandwidth() const;

Description

Gets uplink bandwidth value.

Return value

TInt

uplink bandwidth value.


GetDownLinkMaximumBurstSize()const

inline TInt GetDownLinkMaximumBurstSize() const;

Description

Gets downlink max burst size client can handle.

Return value

TInt

downlink max burst size .


GetUpLinkMaximumBurstSize()const

inline TInt GetUpLinkMaximumBurstSize() const;

Description

Gets uplink max burst size client can handle.

Return value

TInt

uplink max burst size .


GetDownLinkAveragePacketSize()const

inline TInt GetDownLinkAveragePacketSize() const;

Description

Gets downlink average packet size required.

Return value

TInt

downlink average packet size .


GetUpLinkAveragePacketSize()const

inline TInt GetUpLinkAveragePacketSize() const;

Description

Gets uplink average packet size required.

Return value

TInt

uplink average packet size .


GetDownLinkMaximumPacketSize()const

inline TInt GetDownLinkMaximumPacketSize() const;

Description

Gets downlink max packet size client can handle.

Return value

TInt

downlink max packet size .


GetUpLinkMaximumPacketSize()const

inline TInt GetUpLinkMaximumPacketSize() const;

Description

Gets uplink max packet size client can handle.

Return value

TInt

uplink max packet size .


GetDownLinkDelay()const

inline TInt GetDownLinkDelay() const;

Description

Gets acceptable downlink delay value.

Return value

TInt

downlink delay value.


GetUpLinkDelay()const

inline TInt GetUpLinkDelay() const;

Description

Gets acceptable uplink delay value.

Return value

TInt

uplink delay value.


GetDownLinkDelayVariation()const

inline TInt GetDownLinkDelayVariation() const;

Description

Gets acceptable downlink delay variation value.

Return value

TInt

downlink delay variation value.


GetUpLinkDelayVariation()const

inline TInt GetUpLinkDelayVariation() const;

Description

Gets acceptable uplink delay variation value.

Return value

TInt

uplink delay variation value.


GetDownLinkPriority()const

inline TInt GetDownLinkPriority() const;

Description

Gets downlink priority value (relative to other channel's priority).

Return value

TInt

downlink priority value.


GetUpLinkPriority()const

inline TInt GetUpLinkPriority() const;

Description

Gets uplink priority value (relative to other channel's priority).

Return value

TInt

uplink priority value.


GetHeaderMode()const

inline TBool GetHeaderMode() const;

Description

Gets header mode.

Return value

TBool

boolean value indicating whether the header size should be calculated by the QoS module or specified by the client.


GetName()const

inline const TName& GetName() const;

Description

Gets Qos Parameter set name.

Return value

const TBuf &

Qos Parameter set name.


SetDownlinkBandwidth(TInt)

inline void SetDownlinkBandwidth(TInt);

Description

Sets downlink bandwidth value.

Parameters

TInt

downlink bandwidth value.


SetUplinkBandwidth(TInt)

inline void SetUplinkBandwidth(TInt);

Description

Sets uplink bandwidth value.

Parameters

TInt

uplink bandwidth value.


SetDownLinkMaximumBurstSize(TInt)

inline void SetDownLinkMaximumBurstSize(TInt);

Description

Sets downlink max burst size client can handle.

Parameters

TInt

downlink max burst size .


SetUpLinkMaximumBurstSize(TInt)

inline void SetUpLinkMaximumBurstSize(TInt);

Description

Sets uplink max burst size client can handle.

Parameters

TInt

uplink max burst size .


SetDownLinkAveragePacketSize(TInt)

inline void SetDownLinkAveragePacketSize(TInt);

Description

Sets downlink average packet size required.

Parameters

TInt

downlink average packet size .


SetUpLinkAveragePacketSize(TInt)

inline void SetUpLinkAveragePacketSize(TInt);

Description

Sets uplink average packet size required.

Parameters

TInt

uplink average packet size .


SetDownLinkMaximumPacketSize(TInt)

inline void SetDownLinkMaximumPacketSize(TInt);

Description

Sets downlink max packet size client can handle.

Parameters

TInt

downlink max packet size .


SetUpLinkMaximumPacketSize(TInt)

inline void SetUpLinkMaximumPacketSize(TInt);

Description

Sets uplink max packet size client can handle.

Parameters

TInt

uplink max packet size .


SetDownLinkDelay(TInt)

inline void SetDownLinkDelay(TInt);

Description

Sets acceptable downlink delay value.

Parameters

TInt

downlink delay value.


SetUpLinkDelay(TInt)

inline void SetUpLinkDelay(TInt);

Description

Sets acceptable uplink delay value.

Parameters

TInt

uplink delay value.


SetDownLinkDelayVariation(TInt)

inline void SetDownLinkDelayVariation(TInt);

Description

Sets acceptable downlink delay variation value.

Parameters

TInt

downlink delay variation value.


SetUpLinkDelayVariation(TInt)

inline void SetUpLinkDelayVariation(TInt);

Description

Sets acceptable uplink delay variation value.

Parameters

TInt

uplink delay variation value.


SetDownLinkPriority(TInt)

inline void SetDownLinkPriority(TInt);

Description

Sets downlink priority value (relative to other channel's priority).

Parameters

TInt

downlink priority value.


SetUpLinkPriority(TInt)

inline void SetUpLinkPriority(TInt);

Description

Sets uplink priority value (relative to other channel's priority).

Parameters

TInt

uplink priority value.


SetHeaderMode(TBool)

inline void SetHeaderMode(TBool);

Description

Sets header mode.

Parameters

TBool

boolean value indicating whether the header size should be calculated by the QoS module or specified by the client.


SetName(const TName &)

inline void SetName(const TName &);

Description

Sets Qos Parameter set name.

Parameters

const TBuf &

Qos Parameter set name.


GetVDataTable()const

protected: virtual Meta::SVDataTableEntry const* GetVDataTable() const;

Description

Return value

Meta::SVDataTableEntry const *


GetAttribPtr(const TInt)const

protected: virtual TUint8* GetAttribPtr(const TInt aOffset) const;

Description

Parameters

const TInt aOffset

Return value

TUint8 *


TypeId()

protected: static inline const Meta::STypeId TypeId();

Description

Return value

const Meta::STypeId

[Top]


Member data


iVDataTable

protected: const Meta::SVDataTableEntry iVDataTable[]={ { KSubConnGenericParamsImplUid , reinterpret_cast<Meta::TMetaTypeNewL>( KSubConnQosGenericParamsType ) },
    { (((TInt)&((( CSubConQosGenericParamSet *)0x1000)-> iDownlinkBandwidth ))-0x1000), Meta:: TMetaNumber ::NewL },
    { (((TInt)&((( CSubConQosGenericParamSet *)0x1000)-> iUplinkBandwidth ))-0x1000), Meta:: TMetaNumber ::NewL },
    { (((TInt)&((( CSubConQosGenericParamSet *)0x1000)-> iDownLinkMaximumBurstSize ))-0x1000), Meta:: TMetaNumber ::NewL },
    { (((TInt)&((( CSubConQosGenericParamSet *)0x1000)-> iUpLinkMaximumBurstSize ))-0x1000), Meta:: TMetaNumber ::NewL },
    { (((TInt)&((( CSubConQosGenericParamSet *)0x1000)-> iDownLinkAveragePacketSize ))-0x1000), Meta:: TMetaNumber ::NewL },
    { (((TInt)&((( CSubConQosGenericParamSet *)0x1000)-> iUpLinkAveragePacketSize ))-0x1000), Meta:: TMetaNumber ::NewL },
    { (((TInt)&((( CSubConQosGenericParamSet *)0x1000)-> iDownLinkMaximumPacketSize ))-0x1000), Meta:: TMetaNumber ::NewL },
    { (((TInt)&((( CSubConQosGenericParamSet *)0x1000)-> iUpLinkMaximumPacketSize ))-0x1000), Meta:: TMetaNumber ::NewL },
    { (((TInt)&((( CSubConQosGenericParamSet *)0x1000)-> iDownLinkDelay ))-0x1000), Meta:: TMetaNumber ::NewL },
    { (((TInt)&((( CSubConQosGenericParamSet *)0x1000)-> iUpLinkDelay ))-0x1000), Meta:: TMetaNumber ::NewL },
    { (((TInt)&((( CSubConQosGenericParamSet *)0x1000)-> iDownLinkDelayVariation ))-0x1000), Meta:: TMetaNumber ::NewL },
    { (((TInt)&((( CSubConQosGenericParamSet *)0x1000)-> iUpLinkDelayVariation ))-0x1000), Meta:: TMetaNumber ::NewL },
    { (((TInt)&((( CSubConQosGenericParamSet *)0x1000)-> iDownLinkPriority ))-0x1000), Meta:: TMetaNumber ::NewL },
    { (((TInt)&((( CSubConQosGenericParamSet *)0x1000)-> iUpLinkPriority ))-0x1000), Meta:: TMetaNumber ::NewL },
    { (((TInt)&((( CSubConQosGenericParamSet *)0x1000)-> iHeaderMode ))-0x1000), Meta:: TMeta<TBool> ::NewL },
    { (((TInt)&((( CSubConQosGenericParamSet *)0x1000)-> iName ))-0x1000), Meta:: TMeta<TName> ::NewL },
{ 0, 0 }};

Description


iDownlinkBandwidth

protected: TInt iDownlinkBandwidth;

Description


iUplinkBandwidth

protected: TInt iUplinkBandwidth;

Description


iDownLinkMaximumBurstSize

protected: TInt iDownLinkMaximumBurstSize;

Description


iUpLinkMaximumBurstSize

protected: TInt iUpLinkMaximumBurstSize;

Description


iDownLinkAveragePacketSize

protected: TInt iDownLinkAveragePacketSize;

Description


iUpLinkAveragePacketSize

protected: TInt iUpLinkAveragePacketSize;

Description


iDownLinkMaximumPacketSize

protected: TInt iDownLinkMaximumPacketSize;

Description


iUpLinkMaximumPacketSize

protected: TInt iUpLinkMaximumPacketSize;

Description


iDownLinkDelay

protected: TInt iDownLinkDelay;

Description


iUpLinkDelay

protected: TInt iUpLinkDelay;

Description


iDownLinkDelayVariation

protected: TInt iDownLinkDelayVariation;

Description


iUpLinkDelayVariation

protected: TInt iUpLinkDelayVariation;

Description


iDownLinkPriority

protected: TInt iDownLinkPriority;

Description


iUpLinkPriority

protected: TInt iUpLinkPriority;

Description


iHeaderMode

protected: TBool iHeaderMode;

Description


iName

protected: TName iName;

Description