CPTPIPInitCmdAck Class Reference

class CPTPIPInitCmdAck : public CMTPTypeCompoundBase

Inherits from

Public Member Functions
~CPTPIPInitCmdAck()
IMPORT_C TIntFirstReadChunk(TPtrC8 &)
IMPORT_C CPTPIPInitCmdAck *NewL()
IMPORT_C TIntNextReadChunk(TPtrC8 &)
IMPORT_C voidSetDeviceFriendlyName(TDesC16 &)
IMPORT_C TUint64Size()
IMPORT_C TUintType()
Private Member Functions
CPTPIPInitCmdAck()
voidConstructL()
const TElementInfo &ElementInfo(TInt)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CMTPTypeCompoundBase::CMTPTypeCompoundBase(TBool,TUint)
CMTPTypeCompoundBase::ChunkAppendL(const MMTPType &)
CMTPTypeCompoundBase::ChunkCount()const
CMTPTypeCompoundBase::ChunkRemove(TUint)
CMTPTypeCompoundBase::CommitChunkL(TPtr8 &)
CMTPTypeCompoundBase::CommitRequired()const
CMTPTypeCompoundBase::FirstWriteChunk(TPtr8 &)
CMTPTypeCompoundBase::GetL(TInt,MMTPType &)const
CMTPTypeCompoundBase::Int16L(TInt)const
CMTPTypeCompoundBase::Int32L(TInt)const
CMTPTypeCompoundBase::Int64L(TInt)const
CMTPTypeCompoundBase::Int8L(TInt)const
CMTPTypeCompoundBase::NextWriteChunk(TPtr8 &)
CMTPTypeCompoundBase::NextWriteChunk(TPtr8 &,TUint)
CMTPTypeCompoundBase::ReadableElementL(TInt)const
CMTPTypeCompoundBase::Reset()
CMTPTypeCompoundBase::SetExpectedChunkCount(TUint)
CMTPTypeCompoundBase::SetInt16L(TInt,TInt16)
CMTPTypeCompoundBase::SetInt32L(TInt,TInt32)
CMTPTypeCompoundBase::SetInt64L(TInt,TInt64)
CMTPTypeCompoundBase::SetInt8L(TInt,TInt8)
CMTPTypeCompoundBase::SetL(TInt,const MMTPType &)
CMTPTypeCompoundBase::SetStringL(TInt,const TDesC &)
CMTPTypeCompoundBase::SetUint16L(TInt,TUint16)
CMTPTypeCompoundBase::SetUint32L(TInt,TUint32)
CMTPTypeCompoundBase::SetUint64L(TInt,TUint64)
CMTPTypeCompoundBase::SetUint8L(TInt,TUint8)
CMTPTypeCompoundBase::StringCharsL(TInt)const
CMTPTypeCompoundBase::StringNumCharsL(TInt)const
CMTPTypeCompoundBase::Uint16L(TInt)const
CMTPTypeCompoundBase::Uint32L(TInt)const
CMTPTypeCompoundBase::Uint64L(TInt)const
CMTPTypeCompoundBase::Uint8L(TInt)const
CMTPTypeCompoundBase::Validate()const
CMTPTypeCompoundBase::ValidateChunkCount()const
CMTPTypeCompoundBase::WriteableElementL(TInt)const
CMTPTypeCompoundBase::~CMTPTypeCompoundBase()
Public Member Enumerations
enumTElements {
ELength, EPktType, EConNumber, EResponderGUID, EVersion, ENumElements
}
Private Member Enumerations
enumTChunkIds { EIdFlatChunk, EIdVersionChunk, EIdNumChunks }
Inherited Enumerations
CMTPTypeCompoundBase:TReadWriteSequenceState
Private Attributes
const TUintKFlatChunkSize
RBuf16 iBuffer
TInt iChunkCount
RMTPTypeCompoundFlatChunk iChunkHeader
const TFixedArray< TElementInfo, ENumElements >iElementInfo
const CMTPTypeCompoundBase::TElementInfoiElementMetaData
TMTPTypeUint32 iVersion
Inherited Attributes
CMTPTypeCompoundBase::KJustInTimeConstruction
CMTPTypeCompoundBase::KMTPNotApplicable
CMTPTypeCompoundBase::KVariableChunkCount
CMTPTypeCompoundBase::iChunks
CMTPTypeCompoundBase::iWriteChunk
CMTPTypeCompoundBase::iWriteSequenceState

Constructor & Destructor Documentation

CPTPIPInitCmdAck()

CPTPIPInitCmdAck()[private]

Constructor.

~CPTPIPInitCmdAck()

IMPORT_C~CPTPIPInitCmdAck()

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

Second phase constructor.

ElementInfo(TInt)

const TElementInfo &ElementInfo(TIntaElementId)const [private, virtual]

Provides the TElementInfo data for the specified element.

Parameters

TInt aElementIdThe identifier of the requested element.

FirstReadChunk(TPtrC8 &)

IMPORT_C TIntFirstReadChunk(TPtrC8 &aChunk)const [virtual]

Parameters

TPtrC8 & aChunk

NewL()

IMPORT_C CPTPIPInitCmdAck *NewL()[static]

NextReadChunk(TPtrC8 &)

IMPORT_C TIntNextReadChunk(TPtrC8 &aChunk)const [virtual]

Parameters

TPtrC8 & aChunk

SetDeviceFriendlyName(TDesC16 &)

IMPORT_C voidSetDeviceFriendlyName(TDesC16 &aName)

Parameters

TDesC16 & aName

Size()

IMPORT_C TUint64Size()const [virtual]

Type()

IMPORT_C TUintType()const [virtual]

Member Enumerations Documentation

Enum TChunkIds

Data chunk identifiers.

Enumerators

EIdFlatChunk

The flat data chunk ID.

EIdVersionChunk

The EMTPExtensions element data chunk ID.

EIdNumChunks

The number of data chunks.

Enum TElements

MTP USB generic bulk container dataset element identifiers.

Enumerators

ELength
EPktType
EConNumber
EResponderGUID
EVersion
ENumElements

The number of elements.

Member Data Documentation

const TUint KFlatChunkSize

const TUintKFlatChunkSize[private, static]

The size in bytes of the header data chunk.

RBuf16 iBuffer

RBuf16 iBuffer[private]

TInt iChunkCount

TInt iChunkCount[private]

RMTPTypeCompoundFlatChunk iChunkHeader

RMTPTypeCompoundFlatChunk iChunkHeader[private]

The flat data chunk comprising the header elements EContainerLength to ETransactionId.

const TFixedArray< TElementInfo, ENumElements > iElementInfo

const TFixedArray< TElementInfo, ENumElements >iElementInfo[private]

The dataset element metadata table.

const CMTPTypeCompoundBase::TElementInfo iElementMetaData

const CMTPTypeCompoundBase::TElementInfoiElementMetaData[private, static]

The dataset element metadata table content.

TMTPTypeUint32 iVersion

TMTPTypeUint32 iVersion[private]