|
Nokia N97 SDK Example Applications Guide |
#include <aknexpbartimer.h>
Inheritance diagram for CAknExPbarTimer:

Definition at line 37 of file aknexpbartimer.h.
Public Member Functions |
|
| CAknExPbarTimer () | |
| void | ConstructL (TAknExPbarTimerModel *aModel, CAknExPbarContainer *aContainer) |
| virtual | ~CAknExPbarTimer () |
Static Public Member Functions |
|
| static CAknExPbarTimer * | NewL (TAknExPbarTimerModel *aModel, CAknExPbarContainer *aContainer) |
| static CAknExPbarTimer * | NewLC (TAknExPbarTimerModel *aModel, CAknExPbarContainer *aContainer) |
Private Member Functions |
|
| void | RunL () |
| void | Queue () |
Private Attributes |
|
| TAknExPbarTimerModel * | iModel |
| CAknExPbarContainer * | iContainer |
|
|
CAknExPbarTimer. C++ default constructor. Definition at line 31 of file aknexpbartimer.cpp. Referenced by NewLC().
|
|
|
~CAknExPbarTimer Virtual Destructor. Definition at line 90 of file aknexpbartimer.cpp.
|
|
||||||||||||
|
NewL Two-phased constructor. Construct a CAknExPbarTimer. Using two phase construction, and return a pointer to the created object.
Definition at line 41 of file aknexpbartimer.cpp. References NewLC(). Referenced by CAknExPbarContainer::ConstructTimerL(). 00043 { 00044 CAknExPbarTimer* self = NewLC( aModel, aContainer ); 00045 CleanupStack::Pop( self ); 00046 return self; 00047 }
|
|
||||||||||||
|
NewLC Two-phased constructor. Construct a CAknExPbarTimer. Using two phase construction, and return a pointer to the created object.
Definition at line 54 of file aknexpbartimer.cpp. References CAknExPbarTimer(). Referenced by NewL(). 00056 { 00057 CAknExPbarTimer* self = new ( ELeave ) CAknExPbarTimer(); 00058 CleanupStack::PushL( self ); 00059 self->ConstructL( aModel, aContainer ); 00060 return self; 00061 }
|
|
||||||||||||
|
ConstructL 2nd phase constructor.
Definition at line 68 of file aknexpbartimer.cpp. References iContainer, iModel, TAknExPbarTimerModel::iRunning, and Queue(). 00070 { 00071 00072 CTimer::ConstructL(); 00073 00074 // Add this Timer to Active Scheduler 00075 CActiveScheduler::Add( this ); 00076 00077 iModel = aModel; 00078 iContainer = aContainer; 00079 if ( iModel->iRunning ) 00080 { 00081 Queue(); 00082 } 00083 }
|
|
|
RunL Definition of what to do when timer event occurred. Definition at line 101 of file aknexpbartimer.cpp. References iContainer, TAknExPbarTimerModel::iIncrement, iModel, CAknExPbarContainer::IncrementBarsAndDraw(), and Queue(). 00102 { 00103 iContainer->IncrementBarsAndDraw( iModel->iIncrement ); 00104 Queue(); 00105 }
|
|
|
Queue Set timer event interval. Definition at line 112 of file aknexpbartimer.cpp. References TAknExPbarTimerModel::iHundredths, and iModel. Referenced by ConstructL(), and RunL(). 00113 { 00114 After( KIntervalBaseTime * iModel->iHundredths ); 00115 }
|
|
|
iModel Pointer to Timer model owned by CAknExPbarTimer object. Definition at line 116 of file aknexpbartimer.h. Referenced by ConstructL(), Queue(), and RunL(). |
|
|
iContainer Pointer to Container class owned by CAknExPbarTimer object. Definition at line 123 of file aknexpbartimer.h. Referenced by ConstructL(), and RunL(). |
|
© Nokia 2009 |