|
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Header for qos conversion class |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalComponent |
|
21 */ |
|
22 |
|
23 #ifndef R99QOSCONVERSION_H |
|
24 #define R99QOSCONVERSION_H |
|
25 |
|
26 class CR99QoSConversion : public CBase |
|
27 { |
|
28 |
|
29 public: |
|
30 enum TConvRecordType |
|
31 { |
|
32 EValidRecord, |
|
33 EDeprecatedRecord, |
|
34 EConvertionError |
|
35 }; |
|
36 |
|
37 public: |
|
38 static CR99QoSConversion* NewL(); |
|
39 ~CR99QoSConversion(); |
|
40 TConvRecordType CheckAndConvert(TPtrC &aColumn, TPtrC &aSetting); |
|
41 void PrintValues(CFileDump* aFileDumper); |
|
42 |
|
43 void SetNext(CR99QoSConversion *aNext); |
|
44 void SetId(TInt aId); |
|
45 |
|
46 CR99QoSConversion* GetNext(); |
|
47 TInt GetId(); |
|
48 |
|
49 TBool GetModificationFlag(); |
|
50 |
|
51 protected: |
|
52 void ConstructL(); |
|
53 |
|
54 private: |
|
55 void PrintLine(CFileDump* aFileDumper, TPtrC aCol, TInt aSetting); |
|
56 void PrintLine(CFileDump* aFileDumper, TPtrC aCol, TPtrC aSetting); |
|
57 |
|
58 private: |
|
59 CR99QoSConversion *iNext; //next object within the uni-direction list |
|
60 TInt iId; //object identification number |
|
61 TBool iModificationFlag; //indicates the object was updated with some conversion data |
|
62 |
|
63 //R99 parameters |
|
64 TUint32 iGPRSReqTrafficClass; //< Requested traffic class |
|
65 TUint32 iGPRSMinTrafficClass; //< Minimum acceptable traffic class |
|
66 TUint32 iGPRSReqDeliveryOrder; //< Requested value for sequential SDU delivery |
|
67 TUint32 iGPRSMinDeliveryOrder; //< Minimum acceptable value for sequential SDU delivery |
|
68 TUint32 iGPRSReqDeliverErroneousSDU; //< Requested value for erroneous SDU delivery |
|
69 TUint32 iGPRSMinDeliverErroneousSDU; //< Minimum acceptable value for erroneous SDU delivery |
|
70 TInt32 iGPRSReqMaxSDUSize; //< Request maximum SDU size |
|
71 TInt32 iGPRSMinAcceptableMaxSDUSize; //< Minimum acceptable SDU size |
|
72 TInt32 iGPRSReqMaxUplinkRate; //< Requested maximum bit rates on uplink |
|
73 TInt32 iGPRSReqMinUplinkRate; //< Requested minimum bit rates on uplink |
|
74 TInt32 iGPRSReqMaxDownlinkRate; //< Requested maximum bit rates on downlink |
|
75 TInt32 iGPRSReqMinDownlinkRate; //< Requested minimum bit rates on downlink |
|
76 TUint32 iGPRSReqBER; //< Requested target BER |
|
77 TUint32 iGPRSMaxBER; //< Maximum acceptable target BER |
|
78 TUint32 iGPRSReqSDUErrorRatio; //< Requested target SDU error ratio |
|
79 TUint32 iGPRSMaxSDUErrorRatio; //< Maximum acceptable target SDU error ratio |
|
80 TUint32 iGPRSReqTrafficHandlingPriority; //< Requested traffic handling priority |
|
81 TUint32 iGPRSMinTrafficHandlingPriority; //< Minimum acceptable traffic handling priority |
|
82 TInt32 iGPRSReqTransferDelay; //< Requested transfer delay (in milliseconds) |
|
83 TInt32 iGPRSMaxTransferDelay; //< Maximum acceptable transfer delay (in milliseconds) |
|
84 TInt32 iGPRSReqGuaranteedUplinkRate; //< Requested guaranteed bit rates on uplink |
|
85 TInt32 iGPRSMinGuaranteedUplinkRate; //< Minimum acceptable guaranteed bit rates on uplink |
|
86 TInt32 iGPRSReqGuaranteedDownlinkRate; //< Requested guaranteed bit rates on downlink |
|
87 TInt32 iGPRSMinGuaranteedDownlinkRate; //< Minimum acceptable guaranteed bit rates on downlink |
|
88 TBool iGPRSSignallingIndication; //< Signalling indication |
|
89 TBool iGPRS_ImCnSignallingIndication; //< Im Cn Signalling indication |
|
90 TUint32 iGPRSSourceStatisticsDescriptor; //< Static source descriptor |
|
91 }; |
|
92 |
|
93 #endif |
|
94 // CR99QoSConversion_H |