| class CMTPParserRouter::TRoutingParameters |
Defines the MTP operation routing parameter data, which is an output of the parser/routers ParseOperationRequestL API and an input to the RouteOperationRequestL API.
| Public Member Functions | |
|---|---|
| TRoutingParameters (const TMTPTypeRequest &, MMTPConnection &) | |
| TRoutingParameters (const TRoutingParameters &) | |
| IMPORT_C MMTPConnection & | Connection () |
| IMPORT_C TUint | Param ( TParameterType ) |
| IMPORT_C const TMTPTypeRequest & | Request () |
| IMPORT_C void | Reset () |
| IMPORT_C void | SetParam ( TParameterType , TUint ) |
| Public Member Enumerations | |
|---|---|
| enum |
TParameterType
{
EParamDevicePropCode , EParamFormatCode , EParamFormatSubCode , EParamObjectHandle , EParamObjectPropCode , EParamStorageId , EParamStorageSystemType , EFlagInvalid , EFlagRoutingTypes , EParamServiceId , ENumTypes } |
| Private Attributes | |
|---|---|
| MMTPConnection & | iConnection |
| TUint | iParameterData |
| TFixedArray < TUint , ENumTypes > | iParameters |
| const TMTPTypeRequest & | iRequest |
| IMPORT_C | TRoutingParameters | ( | const TMTPTypeRequest & | aRequest, |
| MMTPConnection & | aConnection | |||
| ) | ||||
Constructor.
| const TMTPTypeRequest & aRequest | |
| MMTPConnection & aConnection |
| TRoutingParameters | ( | const TRoutingParameters & | aParams | ) |
Copy constructor.
| const TRoutingParameters & aParams |
| IMPORT_C MMTPConnection & | Connection | ( | ) | const |
Provides the handle of the MTP connection on associated with the operation.
| IMPORT_C TUint | Param | ( | TParameterType | aId | ) | const |
Provides the value of the specified parameter.
| TParameterType aId | The parameter identifier. |
| IMPORT_C const TMTPTypeRequest & | Request | ( | ) | const |
Provides the operation dataset associated with the operation.
| IMPORT_C void | SetParam | ( | TParameterType | aId, |
| TUint | aVal | |||
| ) | ||||
Sets the value of the specified parameter.
| TParameterType aId | The parameter identifier. |
| TUint aVal | The new parameter value. |
The routing parameter type identifiers. Note that not all parameter types may be defined, only those deemed necessary to route the associated operation dataset.
| EParamDevicePropCode |
The DevicePropCode parameter. |
| EParamFormatCode |
The object FormatCode parameter. |
| EParamFormatSubCode |
The object format sub-code parameter. This parameter is undefined unless EFormatCode contains a value of EMTPFormatCodeAssociation , in which case this parameter should the specify the MTP association type code. |
| EParamObjectHandle |
The ObjectHandle parameter. |
| EParamObjectPropCode |
The ObjectPropCode parameter. |
| EParamStorageId |
The StorageId parameter. |
| EParamStorageSystemType |
The storage system type parameter. |
| EFlagInvalid |
The invalid dataset flag. When set, this flag indicates that an operation dataset validation check failed. |
| EFlagRoutingTypes |
The routing type codes. This flag is intended for internal use only. |
| EParamServiceId |
The ServiceID parameter. |
| ENumTypes |
| MMTPConnection & | iConnection | [private] |
The handle of the MTP connection on which the operation is being processed.
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.