CHWRMHapticsEffectDataGetter Class Reference

class CHWRMHapticsEffectDataGetter : public CBase

Haptics effect data getter ECom plugin interface.

hwrmhapticseffectdatagetterfw.lib
Since
S60 5.1

Inherits from

  • CHWRMHapticsEffectDataGetter

Constructor & Destructor Documentation

~CHWRMHapticsEffectDataGetter()

IMPORT_C~CHWRMHapticsEffectDataGetter()[virtual]

Destructor.

Since
S60 5.1

Member Functions Documentation

GetEffectCount(const TDesC8 &, TInt &)

TInt GetEffectCount(const TDesC8 &aData,
TInt &aCount
)[pure virtual]

Returns the amount of effects in the given data.

Since
S60 5.1

Parameters

const TDesC8 & aDataThe data from which the effect count is read.
TInt & aCountReturned effect count.

GetEffectDuration(const TDesC8 &, TInt, TInt &)

TInt GetEffectDuration(const TDesC8 &aData,
TIntaEffectIndex,
TInt &aEffectDuration
)[pure virtual]

Returns the duration of the given effect.

Since
S60 5.1

Parameters

const TDesC8 & aDataThe data from which the effect duration is read.
TInt aEffectIndexIndex of the effect.
TInt & aEffectDurationReturned effect duration.

GetEffectIndexFromName(const TDesC8 &, const TDesC8 &, TInt &)

TInt GetEffectIndexFromName(const TDesC8 &aData,
const TDesC8 &aEffectName,
TInt &aEffectIndex
)[pure virtual]

Returns the effect index in the given data.

Since
S60 5.1

Parameters

const TDesC8 & aDataThe data from which the effect index is read.
const TDesC8 & aEffectNameName of the effect.
TInt & aEffectIndexReturned effect index.

GetEffectName(const TDesC8 &, TInt, TDes8 &)

TInt GetEffectName(const TDesC8 &aData,
TIntaEffectIndex,
TDes8 &aEffectName
)[pure virtual]

Returns the name of the effect in the given index.

Since
S60 5.1

Parameters

const TDesC8 & aDataThe data from which the effect name is read.
TInt aEffectIndexIndex of the effect.
TDes8 & aEffectNameReturned effect name.

GetEffectType(const TDesC8 &, TInt, TInt &)

TInt GetEffectType(const TDesC8 &aData,
TIntaEffectIndex,
TInt &aEffectType
)[pure virtual]

Returns the type of the effect.

Since
S60 5.1

Parameters

const TDesC8 & aDataThe data from which the effect type is read.
TInt aEffectIndexIndex of the effect.
TInt & aEffectTypeReturned effect type.

GetMagSweepEffectDefinition(const TDesC8 &, TInt, CHWRMHaptics::THWRMHapticsMagSweepEffect &)

TInt GetMagSweepEffectDefinition(const TDesC8 &aData,
TIntaEffectIndex,
CHWRMHaptics::THWRMHapticsMagSweepEffect &aEffect
)[pure virtual]

Returns mag sweep effect definition in the given index.

Since
S60 5.1

Parameters

const TDesC8 & aDataThe data from which the effect definition is read.
TInt aEffectIndexIndex of the effect.
CHWRMHaptics::THWRMHapticsMagSweepEffect & aEffectReturned effect data.

GetPeriodicEffectDefinition(const TDesC8 &, TInt, CHWRMHaptics::THWRMHapticsPeriodicEffect &)

TInt GetPeriodicEffectDefinition(const TDesC8 &aData,
TIntaEffectIndex,
CHWRMHaptics::THWRMHapticsPeriodicEffect &aEffect
)[pure virtual]

Returns periodic effect definition in the given index.

Since
S60 5.1

Parameters

const TDesC8 & aDataThe data from which the effect definition is read.
TInt aEffectIndexIndex of the effect.
CHWRMHaptics::THWRMHapticsPeriodicEffect & aEffectReturned effect data.

NewL()

IMPORT_C CHWRMHapticsEffectDataGetter *NewL()[static]

Instantiates an object of this type. If there are no plugins found, the method leaves with KErrNotSupported. If there are more than one plugin found, the method leaves with KErrNotSupported (current implementation relies on one plugin).

Since
S60 5.1

Member Data Documentation

TUid iDtor_ID_Key

TUid iDtor_ID_Key[private]