class CBatteryInfoObserver : public CActive |
CBatteryInfoObserver is used to provide battery information from HWRM to CTSY
Public Member Functions | |
---|---|
~CBatteryInfoObserver() | |
void | DoCancel() |
void | GetBatteryInfo() |
CBatteryInfoObserver * | NewL(CHWRMPower &, MBatteryInfoNotifier &) |
CBatteryInfoObserver * | NewLC(CHWRMPower &, MBatteryInfoNotifier &) |
void | RunL() |
TInt | RunTimer(TAny *) |
Private Member Functions | |
---|---|
CBatteryInfoObserver(CHWRMPower &, MBatteryInfoNotifier &) | |
void | ConstructL() |
Inherited Enumerations | |
---|---|
CActive:TPriority |
Private Attributes | |
---|---|
CHWRMPower::TBatteryConsumptionData | iBatteryData |
MBatteryInfoNotifier & | iBatteryInfoNotifier |
CPeriodic * | iPeriodic |
CHWRMPower & | iPower |
Inherited Attributes | |
---|---|
CActive::iStatus |
CBatteryInfoObserver | ( | CHWRMPower & | aPower, |
MBatteryInfoNotifier & | aBatteryInfoNotifier | ||
) | [private] |
Constructor
CHWRMPower & aPower | reference to CHWRMPower instance |
MBatteryInfoNotifier & aBatteryInfoNotifier | reference to interface class MBatteryInfoNotifier |
CBatteryInfoObserver * | NewL | ( | CHWRMPower & | aPower, |
MBatteryInfoNotifier & | aBatteryInfoNotifier | |||
) | [static] |
Two-phased constructor
CHWRMPower & aPower | reference to CHWRMPower instance |
MBatteryInfoNotifier & aBatteryInfoNotifier | reference to interface class MBatteryInfoNotifier |
CBatteryInfoObserver * | NewLC | ( | CHWRMPower & | aPower, |
MBatteryInfoNotifier & | aBatteryInfoNotifier | |||
) | [static] |
Two-phased constructor
CHWRMPower & aPower | reference to CHWRMPower instance |
MBatteryInfoNotifier & aBatteryInfoNotifier | reference to interface class MBatteryInfoNotifier |
TInt | RunTimer | ( | TAny * | aObject | ) | [static] |
Run timer
TAny * aObject | pointer to object which start timer |
CHWRMPower::TBatteryConsumptionData | iBatteryData | [private] |
Data structure used to retrieve data from a call to GetBatteryInfo
MBatteryInfoNotifier & | iBatteryInfoNotifier | [private] |
Reference to BatteryInfoNotifier object
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.