diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_timer_entry.html --- a/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_timer_entry.html Tue Mar 30 11:56:28 2010 +0100 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_timer_entry.html Tue Mar 30 16:16:55 2010 +0100 @@ -1,250 +1,241 @@ - - -TB10.1 Example Applications: CTimerEntry Class Reference - - - - + + + + +TB9.2 Example Applications: CTimerEntry Class Reference + + + + + +

CTimerEntry Class Reference

-

-List of all members. - - - - - - - - - +

List of all members.

+

Public Member Functions

 ~CTimerEntry ()
TBool AddToQueueL (TInt aInterval)
void ArbitratorL ()
TBool RemoveFromQueue ()
+ + + + + + + + + + + +

Public Member Functions

 ~CTimerEntry ()
TBool AddToQueueL (TInt aInterval)
void ArbitratorL ()
TBool RemoveFromQueue ()
void RunL ()
void DoCancel ()
void IssueRequest ()
void PrintQue ()

Static Public Member Functions

static CTimerEntryNewL (CConsoleBase *aConsole)
+


Detailed Description

+

This class has a delta queue of objects of the TTimerEntry class.

+

It triggers timer events at random intervals. At each such event, either the tick count is added to the queue or an element is removed from the queue based on the number of elements present in the queue.

+

The tick count is taken as the delta value of the queue and this value is adjusted each time an object of the TTimerEntry class is added to the queue.

+

It also has methods to:

+ -void RunL () - -void DoCancel () - -void IssueRequest () - -void PrintQue () - -

Static Public Member Functions

-static CTimerEntryNewL (CConsoleBase *aConsole) - - -

Detailed Description

-This class has a delta queue of objects of the TTimerEntry class.

-It triggers timer events at random intervals. At each such event, either the tick count is added to the queue or an element is removed from the queue based on the number of elements present in the queue.

-The tick count is taken as the delta value of the queue and this value is adjusted each time an object of the TTimerEntry class is added to the queue.

-It also has methods to:

- -

Definition at line 64 of file timerentry.h.

-

Constructor & Destructor Documentation

- +

Definition at line 64 of file timerentry.h.

+

Constructor & Destructor Documentation

+
- + - + - +
CTimerEntry::~CTimerEntry CTimerEntry::~CTimerEntry (  ) 
+

Destructor. The TTimerEntry objects were allocated memory at runtime. Iterate over the list to delete them.

-

-Destructor. The TTimerEntry objects were allocated memory at runtime. Iterate over the list to delete them. -

Definition at line 245 of file timerentry.cpp.

+

Definition at line 245 of file timerentry.cpp.

-

-


Member Function Documentation

- +
+

Member Function Documentation

+
- + - + - +
CTimerEntry * CTimerEntry::NewL CTimerEntry * CTimerEntry::NewL ( CConsoleBase *  aConsole aConsole  )  [static] [static]
- -

-Creates an object of the CTimerEntry class.

Parameters:
+

Creates an object of the CTimerEntry class.

+
Parameters:
aConsole The user console.
+
-

Definition at line 29 of file timerentry.cpp.

+

Definition at line 29 of file timerentry.cpp.

-

- + +

- + - + - +
TBool CTimerEntry::AddToQueueL TBool CTimerEntry::AddToQueueL ( TInt  aTicks aTicks  ) 
- -

-Adds a tick count to the delta queue.

Parameters:
+

Adds a tick count to the delta queue.

+
Parameters:
aTicks The tick count.
+
-
Returns:
EFalse if the queue is full, else EFalse.
+
Returns:
EFalse if the queue is full, else EFalse.
-

Definition at line 151 of file timerentry.cpp.

+

Definition at line 151 of file timerentry.cpp.

-

- + +

- + - + - +
void CTimerEntry::ArbitratorL void CTimerEntry::ArbitratorL (  ) 
+

The arbitrator function. It either adds elements to the list or removes elements from the list based on the iOp variable.

-

-The arbitrator function. It either adds elements to the list or removes elements from the list based on the iOp variable. -

Definition at line 104 of file timerentry.cpp.

+

Definition at line 104 of file timerentry.cpp.

-

- + +

- + - + - +
TBool CTimerEntry::RemoveFromQueue TBool CTimerEntry::RemoveFromQueue (  ) 
+

Removes an element from the delta queue.

+
Returns:
EFalse if the queue is empty, else EFalse.
-

-Removes an element from the delta queue.

Returns:
EFalse if the queue is empty, else EFalse.
- -

Definition at line 199 of file timerentry.cpp.

+

Definition at line 199 of file timerentry.cpp.

-

- + +

- + - + - +
void CTimerEntry::RunL void CTimerEntry::RunL (  ) 
+

Handles the request completion.

-

-Handles the request completion. -

Definition at line 71 of file timerentry.cpp.

+

Definition at line 71 of file timerentry.cpp.

-

- + +

- + - + - +
void CTimerEntry::DoCancel void CTimerEntry::DoCancel (  ) 
+

Cancel any outstanding request.

-

-Cancel any outstanding request. -

Definition at line 266 of file timerentry.cpp.

+

Definition at line 266 of file timerentry.cpp.

-

- + +

- + - + - +
void CTimerEntry::IssueRequest void CTimerEntry::IssueRequest (  ) 
+

Issues a wait request.

-

-Issues a wait request. -

Definition at line 85 of file timerentry.cpp.

+

Definition at line 85 of file timerentry.cpp.

-

- + +

- + - + - +
void CTimerEntry::PrintQue void CTimerEntry::PrintQue (  ) 
+

Prints the contents of the delta queue.

-

-Prints the contents of the delta queue. -

Definition at line 174 of file timerentry.cpp.

+

Definition at line 174 of file timerentry.cpp.

-

-


Generated on Thu Jan 21 10:33:07 2010 for TB10.1 Example Applications by  + + +
Generated by  -doxygen 1.5.3
+doxygen 1.6.2