CChargingStatusObserver Class Reference

class CChargingStatusObserver : public CActive

CChargingStatusObserver is used to provide battery charging status from HWRM to CTSY

Inherits from

Constructor & Destructor Documentation

CChargingStatusObserver(MChargingStatusNotifier &)

CChargingStatusObserver(MChargingStatusNotifier &aChargingStatusNotifier)[private]

Constructor

Parameters

MChargingStatusNotifier & aChargingStatusNotifierreference to interface class MChargingStatusNotifier

~CChargingStatusObserver()

~CChargingStatusObserver()

Destructor

Member Functions Documentation

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private

DoCancel()

voidDoCancel()[virtual]

Cancellation of an outstanding request

GetChargingStatus()

voidGetChargingStatus()

Get charging status

NewL(MChargingStatusNotifier &)

CChargingStatusObserver *NewL(MChargingStatusNotifier &aChargingStatusNotifier)[static]

Two-phased constructor

Parameters

MChargingStatusNotifier & aChargingStatusNotifierreference to interface class MChargingStatusNotifier

NewLC(MChargingStatusNotifier &)

CChargingStatusObserver *NewLC(MChargingStatusNotifier &aChargingStatusNotifier)[static]

Two-phased constructor

Parameters

MChargingStatusNotifier & aChargingStatusNotifierreference to interface class MChargingStatusNotifier

RunL()

voidRunL()[virtual]

Handles GetChargingStatus request completion event

Member Data Documentation

RProperty iChargingStatus

RProperty iChargingStatus[private]

Property for charging status

MChargingStatusNotifier & iChargingStatusNotifier

MChargingStatusNotifier &iChargingStatusNotifier[private]

Reference to ChargingStatusNotifier object