CHWRMHapticsRespData Class Reference

class CHWRMHapticsRespData : public CBase

Streamable class representing the response data from haptics plugins.

Since
S60 5.1

Inherits from

Constructor & Destructor Documentation

CHWRMHapticsRespData()

CHWRMHapticsRespData ( ) [private]

Constructor

~CHWRMHapticsRespData()

IMPORT_C ~CHWRMHapticsRespData ( ) [virtual]

Destructor

Member Functions Documentation

ConstructL(TInt, const TDesC8 &)

void ConstructL ( TInt aErrorCode,
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 TInt ErrorCode ( )

Getter for error code

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & aStream ) const

Method for externalizing (writing) data to a stream

Parameters

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

InternalizeL(RReadStream &)

IMPORT_C void InternalizeL ( RReadStream & aStream )

Method for internalizing (loading) data from a stream

Parameters

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

NewLC(TInt, const TDesC8 &)

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

2-phase construction

Parameters

TInt aErrorCode Error code (always present in response).
const TDesC8 & aData Const 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