CLocation Class Reference

#include <LocationBase.h>

Link against: LocationEffect.lib

class CLocation : public CAudioEffect

Inherits from

Detailed Description

This is the base class for location effect settings.

Since
3.0

Member Attribute Documentation

iDataPckgFrom

TEfLocationDataPckg iDataPckgFrom[protected]

iDataPckgTo

TEfLocationDataPckg iDataPckgTo[protected]

iLocationData

TEfLocation iLocationData[protected]

Constructor & Destructor Documentation

CLocation ( )

IMPORT_CCLocation()[protected]

Private C++ constructor for this class.

~CLocation ( )

IMPORT_C~CLocation()[protected, virtual]

Destructor

Member Function Documentation

DoEffectData ( )

IMPORT_C const TDesC8 &DoEffectData()[protected, virtual]

Reimplemented from CAudioEffect::DoEffectData()

From CAudioEffect Create a package of the effect data
Since
3.0

Returns: A descriptor containing the effect data.

LocationCartesian ( TInt32 &, TInt32 &, TInt32 & )

IMPORT_C voidLocationCartesian(TInt32 &aX,
TInt32 &aY,
TInt32 &aZ
)
Gets the cartesian coordinates for the location of the position.
Since
3.0
ParameterDescription
aXThe x-coordinate of the position (in millimeters)
aYThe y-coordinate of the position (in millimeters)
aZThe z-coordinate of the position (in millimeters)

Returns: -

LocationSpherical ( TInt32 &, TInt32 &, TInt32 & )

IMPORT_C voidLocationSpherical(TInt32 &aAzimuth,
TInt32 &aElevation,
TInt32 &aRadius
)
Gets the spherical coordinates for the location of the position.
Since
3.0
ParameterDescription
aAzimuthThe Azimuth of the position (thousandths of radians)
aElevationThe elevation of the position (thousandths of radians)
aRadiusThe radius of the position (thousandths of radians)

Returns: -

SetEffectData ( const TDesC8 & )

IMPORT_C voidSetEffectData(const TDesC8 &aEffectDataBuffer)[protected, virtual]
From CAudioEffect Internal function to unpack effect data
Since
3.0
ParameterDescription
aEffectDataBufferDescriptor containing packed effect data

Returns: -

SetLocationCartesianL ( TInt32 &, TInt32 &, TInt32 & )

IMPORT_C voidSetLocationCartesianL(TInt32 &aX,
TInt32 &aY,
TInt32 &aZ
)
Sets the cartesian coordinates for the location of the position.
Since
3.0
ParameterDescription
aXThe x-coordinate of the position
aYThe y-coordinate of the position
aZThe z-coordinate of the position

Returns: -

SetLocationSphericalL ( TInt32 &, TInt32 &, TInt32 & )

IMPORT_C voidSetLocationSphericalL(TInt32 &aAzimuth,
TInt32 &aElevation,
TInt32 &aRadius
)
Sets the spherical coordinates for the location of the position.
Since
3.0
ParameterDescription
aAzimuthThe Azimuth of the position (thousandths of radians)
aElevationThe elevation of the position (thousandths of radians)
aRadiusThe radius of the position (thousandths of radians)

Returns: -