CHWRMHapticsEffectDataGetter Class Reference
class CHWRMHapticsEffectDataGetter : public CBase
|
Haptics effect data getter ECom plugin interface.
hwrmhapticseffectdatagetterfw.lib
-
Since
-
S60 5.1
Inherits from
-
CHWRMHapticsEffectDataGetter
Public Member Functions
|
|
~CHWRMHapticsEffectDataGetter
()
|
TInt
|
GetEffectCount
(const
TDesC8
&,
TInt
&)
|
TInt
|
GetEffectDuration
(const
TDesC8
&,
TInt
,
TInt
&)
|
TInt
|
GetEffectIndexFromName
(const
TDesC8
&, const
TDesC8
&,
TInt
&)
|
TInt
|
GetEffectName
(const
TDesC8
&,
TInt
,
TDes8
&)
|
TInt
|
GetEffectType
(const
TDesC8
&,
TInt
,
TInt
&)
|
TInt
|
GetMagSweepEffectDefinition
(const
TDesC8
&,
TInt
,
CHWRMHaptics::THWRMHapticsMagSweepEffect
&)
|
TInt
|
GetPeriodicEffectDefinition
(const
TDesC8
&,
TInt
,
CHWRMHaptics::THWRMHapticsPeriodicEffect
&)
|
IMPORT_C
CHWRMHapticsEffectDataGetter
*
|
NewL
()
|
Constructor & Destructor Documentation
~CHWRMHapticsEffectDataGetter()
IMPORT_C
|
~CHWRMHapticsEffectDataGetter
|
(
|
)
|
[virtual]
|
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.
Parameters
const
TDesC8
& aData
|
The data from which the effect count is read.
|
TInt
& aCount
|
Returned effect count.
|
GetEffectDuration(const TDesC8 &, TInt, TInt &)
TInt
|
GetEffectDuration
|
(
|
const
TDesC8
&
|
aData,
|
|
TInt
|
aEffectIndex,
|
|
TInt
&
|
aEffectDuration
|
|
)
|
[pure virtual]
|
Returns the duration of the given effect.
Parameters
const
TDesC8
& aData
|
The data from which the effect duration is read.
|
TInt
aEffectIndex
|
Index of the effect.
|
TInt
& aEffectDuration
|
Returned 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.
Parameters
const
TDesC8
& aData
|
The data from which the effect index is read.
|
const
TDesC8
& aEffectName
|
Name of the effect.
|
TInt
& aEffectIndex
|
Returned effect index.
|
GetEffectName(const TDesC8 &, TInt, TDes8 &)
TInt
|
GetEffectName
|
(
|
const
TDesC8
&
|
aData,
|
|
TInt
|
aEffectIndex,
|
|
TDes8
&
|
aEffectName
|
|
)
|
[pure virtual]
|
Returns the name of the effect in the given index.
Parameters
const
TDesC8
& aData
|
The data from which the effect name is read.
|
TInt
aEffectIndex
|
Index of the effect.
|
TDes8
& aEffectName
|
Returned effect name.
|
GetEffectType(const TDesC8 &, TInt, TInt &)
TInt
|
GetEffectType
|
(
|
const
TDesC8
&
|
aData,
|
|
TInt
|
aEffectIndex,
|
|
TInt
&
|
aEffectType
|
|
)
|
[pure virtual]
|
Returns the type of the effect.
Parameters
const
TDesC8
& aData
|
The data from which the effect type is read.
|
TInt
aEffectIndex
|
Index of the effect.
|
TInt
& aEffectType
|
Returned effect type.
|
GetMagSweepEffectDefinition(const TDesC8 &, TInt, CHWRMHaptics::THWRMHapticsMagSweepEffect &)
Returns mag sweep effect definition in the given index.
GetPeriodicEffectDefinition(const TDesC8 &, TInt, CHWRMHaptics::THWRMHapticsPeriodicEffect &)
Returns periodic effect definition in the given index.
NewL()
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).
Member Data Documentation
TUid
iDtor_ID_Key
TUid
|
iDtor_ID_Key
|
[private]
|
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.