CHWRMHapticsRespData Class Reference

class CHWRMHapticsRespData : public CBase

Streamable class representing the response data from haptics plugins.

Since
S60 5.1

Inherits from

  • CHWRMHapticsRespData

Constructor & Destructor Documentation

CHWRMHapticsRespData()

CHWRMHapticsRespData()[private]

Constructor

~CHWRMHapticsRespData()

IMPORT_C~CHWRMHapticsRespData()[virtual]

Destructor

Member Functions Documentation

ConstructL(TInt, const TDesC8 &)

voidConstructL(TIntaErrorCode,
const TDesC8 &aData
)[private]

ConstructL for 2-phase construction

Parameters

TInt aErrorCode
const TDesC8 & aData

Data()

IMPORT_C const TDesC8 &Data()

Getter for the contained data

ErrorCode()

IMPORT_C TIntErrorCode()

Getter for error code

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Method for externalizing (writing) data to a stream

Parameters

RWriteStream & aStreamReference to the write stream into which the data is to be externalized (written).

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)

Method for internalizing (loading) data from a stream

Parameters

RReadStream & aStreamReference to the read stream from which the data is to be internalized (loaded).

NewLC(TInt, const TDesC8 &)

IMPORT_C CHWRMHapticsRespData *NewLC(TIntaErrorCode,
const TDesC8 &aData
)[static]

2-phase construction

Parameters

TInt aErrorCodeError code (always present in response).
const TDesC8 & aDataConst reference to a descriptor that contains the 8-bit data from which to construct the CHWRMHapticsRespData object.

Member Data Documentation

HBufC8 * iData

HBufC8 *iData[private]

Pointer to the 8-bit data (of this response)

TInt iErrorCode

TInt iErrorCode[private]

Error code