CDistanceAttenuationMessageHandler Class Reference

class CDistanceAttenuationMessageHandler : public CMMFObject

This class encapsulates the message handler for the Distance Attenuation effect.

Inherits from

Constructor & Destructor Documentation

CDistanceAttenuationMessageHandler(CDistanceAttenuation *)

CDistanceAttenuationMessageHandler(CDistanceAttenuation *aDistanceAttenuation)[private]

C++ default constructor.

Parameters

CDistanceAttenuation * aDistanceAttenuation

~CDistanceAttenuationMessageHandler()

~CDistanceAttenuationMessageHandler()[virtual]

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private]
Second phase constructor for this class.
Since
3.0

DoApplyL(TMMFMessage &)

voidDoApplyL(TMMFMessage &aMessage)[private]

Handle applying the DistanceAttenuation data to the DistanceAttenuation object

Parameters

TMMFMessage & aMessagemessage to be handled

DoGetDistanceAttenuationLevelL(TMMFMessage &)

voidDoGetDistanceAttenuationLevelL(TMMFMessage &aMessage)[private]

Handle getting the DistanceAttenuation object number of bands data.

Parameters

TMMFMessage & aMessagemessage to be handled

DoHandleRequestL(TMMFMessage &)

voidDoHandleRequestL(TMMFMessage &aMessage)[private]

Handle the request message

Parameters

TMMFMessage & aMessagemessage to be handled

DoInitializeL(TMMFMessage &)

voidDoInitializeL(TMMFMessage &aMessage)[private]

Handle initializing the DistanceAttenuation object with initial data.

Parameters

TMMFMessage & aMessagemessage to be handled

DoObserveL(TMMFMessage &)

voidDoObserveL(TMMFMessage &aMessage)[private]

Handle observation request messages

Parameters

TMMFMessage & aMessagemessage to be handled

EffectChanged(const CAudioEffect *, TUint8)

voidEffectChanged(const CAudioEffect *aAudioEffect,
TUint8aEvent
)
From MDistanceAttenuationObserver Changes to DistanceAttenuation data has occured
Since
3.0

Parameters

const CAudioEffect * aAudioEffect
TUint8 aEventThe specific event Id of the effect that changed.

HandleRequest(TMMFMessage &)

voidHandleRequest(TMMFMessage &aMessage)[virtual]

Handle the request message

Parameters

TMMFMessage & aMessagemessage to be handled

NewL(TAny *)

IMPORT_C CDistanceAttenuationMessageHandler *NewL(TAny *customInterface)[static]

Parameters

TAny * customInterface

Member Data Documentation

CDistanceAttenuation * iDistanceAttenuation

CDistanceAttenuation *iDistanceAttenuation[private]

TSglQue< CEffectDataQueItem > * iEffectDataQue

TSglQue< CEffectDataQueItem > *iEffectDataQue[private]

TMMFMessage * iMessage

TMMFMessage *iMessage[private]

TBool iRegistered

TBool iRegistered[private]