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

Definition at line 32 of file servertimeouttimer.h.
Public Member Functions |
|
| virtual | ~CTimeOutTimer () |
| void | RunL () |
Static Public Member Functions |
|
| static CTimeOutTimer * | NewL (const TInt aPriority, MTimeoutNotify &aTimeOutNotify) |
| static CTimeOutTimer * | NewLC (const TInt aPriority, MTimeoutNotify &aTimeOutNotify) |
Protected Member Functions |
|
| CTimeOutTimer (const TInt aPriority, MTimeoutNotify &aTimeOutNotify) | |
| void | ConstructL () |
Private Attributes |
|
| MTimeoutNotify & | iNotify |
|
|
~CTimeOutTimer Virtual Destructor. Definition at line 70 of file servertimeouttimer.cpp.
|
|
||||||||||||
|
CTimeOutTimer Perform the first phase of two phase construction.
Definition at line 31 of file servertimeouttimer.cpp. Referenced by NewLC(). 00032 : CTimer( aPriority ), iNotify( aTimeOutNotify ) 00033 { 00034 // No implementation required 00035 }
|
|
||||||||||||
|
NewL. Two-phased constructor. Create a CTimeOutTimer object using two phase construction, and return a pointer to the created object.
Definition at line 42 of file servertimeouttimer.cpp. References NewLC(). Referenced by CImage::ConstructL(). 00044 { 00045 CTimeOutTimer* self = CTimeOutTimer::NewLC( aPriority, aTimeOutNotify ); 00046 CleanupStack::Pop(); // self 00047 return self; 00048 }
|
|
||||||||||||
|
NewLC. Two-phased constructor. Create a CTimeOutTimer object using two phase construction, and return a pointer to the created object.
Definition at line 55 of file servertimeouttimer.cpp. References CTimeOutTimer(). Referenced by NewL(). 00057 { 00058 CTimeOutTimer *self = new ( ELeave ) CTimeOutTimer( aPriority, 00059 aTimeOutNotify ); 00060 CleanupStack::PushL( self ); 00061 self->ConstructL(); 00062 return self; 00063 }
|
|
|
RunL Handle the event when the timer expires. Definition at line 94 of file servertimeouttimer.cpp. References iNotify, and MTimeoutNotify::TimedOut().
|
|
|
ConstructL Perform the second phase of two phase construction. Definition at line 80 of file servertimeouttimer.cpp. 00081 { 00082 // Call the base class ConstructL 00083 CTimer::ConstructL(); 00084 00085 // Add this timer to the active scheduler 00086 CActiveScheduler::Add( this ); 00087 }
|
|
|
iNotify Reference to object implementing the notify interface. Called on timeout. Definition at line 99 of file servertimeouttimer.h. Referenced by RunL(). |
|
© Nokia 2009 |