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

CAdder Class Reference

-

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

List of all members.

+

Public Member Functions

 ~CAdder ()
TInt Add ()
void RunL ()
void DoCancel ()
void StartTimer ()
+ + + + + + + + + + + + + +

Public Member Functions

 ~CAdder ()
TInt Add ()
void RunL ()
void DoCancel ()
void StartTimer ()
void StopTimer ()
void ReadFunction ()
+void Add ()

Static Public Member Functions

static CAdderNewL (CLongNumber *aNum1)
static CAdderNewL (CConsoleBase *aConsole)
static TInt AddFunction (TAny *aPtr)
+


Detailed Description

+

This class stores an object of the CLongNumber class. It has methods to calculate the sum of all digits of the number represented by the iLongNumber object.

+

The adder class. This class creates the global chunk and periodically adds random values to it. It also creates:

+ -void StopTimer () - -void ReadFunction () - - -void Add () - -

Static Public Member Functions

-static CAdderNewL (CLongNumber *aNum1) - -static CAdderNewL (CConsoleBase *aConsole) - -static TInt AddFunction (TAny *aPtr) - - -

Detailed Description

-This class stores an object of the CLongNumber class. It has methods to calculate the sum of all digits of the number represented by the iLongNumber object.

-The adder class. This class creates the global chunk and periodically adds random values to it. It also creates:

- -

Definition at line 31 of file adder.h.

-

Constructor & Destructor Documentation

- +

Definition at line 31 of file adder.h.

+

Constructor & Destructor Documentation

+
- + - + - +
CAdder::~CAdder CAdder::~CAdder (  ) 
+

Destructor.

-

-Destructor. -

Definition at line 73 of file adder.cpp.

+

Definition at line 73 of file adder.cpp.

-

-


Member Function Documentation

- +
+

Member Function Documentation

+
- + - + - +
CAdder * CAdder::NewL CAdder * CAdder::NewL ( CLongNumber aLongNumber aLongNumber  )  [static] [static]
- -

-Creates an object of the CAdder class.

Parameters:
+

Creates an object of the CAdder class.

+
Parameters:
aLongNumber A pointer to the object of the CLongNumber class.
+
-
Returns:
A pointer to the object of the CAdder class.
+
Returns:
A pointer to the object of the CAdder class.
-

Definition at line 30 of file adder.cpp.

+

Definition at line 30 of file adder.cpp.

-

- + +

- + - + - +
void CAdder::Add void CAdder::Add (  ) 
+

Performs the addition of all digits of the iLongNumber object.

+
Returns:
The sum of all digits of the iLongNumber object.
+

Adds a random integer value to the global chunk.

-

-Performs the addition of all digits of the iLongNumber object.

Returns:
The sum of all digits of the iLongNumber object.
-Adds a random integer value to the global chunk. -

Definition at line 47 of file adder.cpp.

+

Definition at line 47 of file adder.cpp.

-

- + +

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

-Performs the two-phase construction of an object of the CAdder class.

Parameters:
+

Performs the two-phase construction of an object of the CAdder class.

+
Parameters:
aConsole The console object.
+
-
Returns:
A CAdder object.
+
Returns:
A CAdder object.
-

Definition at line 30 of file adder.cpp.

+

Definition at line 30 of file adder.cpp.

-

- + +

- + - + - +
void CAdder::RunL void CAdder::RunL (  ) 
+

Handles the key press events from the console. It stops the active scheduler for any key press event.

-

-Handles the key press events from the console. It stops the active scheduler for any key press event. -

Definition at line 43 of file adder.cpp.

+

Definition at line 43 of file adder.cpp.

-

- + +

- + - + - +
void CAdder::DoCancel void CAdder::DoCancel (  ) 
+

Cancel any outstanding request.

-

-Cancel any outstanding request. -

Definition at line 58 of file adder.cpp.

+

Definition at line 58 of file adder.cpp.

-

- + +

- + - + - +
void CAdder::StartTimer void CAdder::StartTimer (  ) 
+

Starts the timer object.

+
See also:
CPeriodic::Start().
-

-Starts the timer object.

See also:
CPeriodic::Start().
- -

Definition at line 139 of file adder.cpp.

+

Definition at line 139 of file adder.cpp.

-

- + +

- + - + - +
void CAdder::StopTimer void CAdder::StopTimer (  ) 
+

Stops the timer object.

-

-Stops the timer object. -

Definition at line 148 of file adder.cpp.

+

Definition at line 148 of file adder.cpp.

-

- + +

- + - + - +
void CAdder::ReadFunction void CAdder::ReadFunction (  ) 
+

Issues an outstanding request to get a keystroke from the console.

-

-Issues an outstanding request to get a keystroke from the console. -

Definition at line 126 of file adder.cpp.

+

Definition at line 126 of file adder.cpp.

-

- + +

- + - + - +
TInt CAdder::AddFunction TInt CAdder::AddFunction ( TAny *  aPtr aPtr  )  [static] [static]
- -

-The call back function for the CAdder::iPeriodic object.

Parameters:
+

The call back function for the CAdder::iPeriodic object.

+
Parameters:
- +
aPtr Contains the address of the object passed as an argument to the AddFunction().
aPtr Contains the address of the object passed as an argument to the AddFunction().
+
-
Returns:
KErrNone.
+
Returns:
KErrNone.
-

Definition at line 159 of file adder.cpp.

+

Definition at line 159 of file adder.cpp.

-

-


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