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

CSubtractor Class Reference

-

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

List of all members.

+

Public Member Functions

void RunL ()
void DoCancel ()
 ~CSubtractor ()
+ + + + + + + + + + + +

Public Member Functions

void RunL ()
void DoCancel ()
 ~CSubtractor ()
void StartTimer ()
void StopTimer ()
void ReadFunction ()
void Subtract ()

Static Public Member Functions

static CSubtractorNewL (CConsoleBase *aConsole)
static TInt SubtractFunction (TAny *aPtr)
+


Detailed Description

+

The subtractor class. This class opens the global chunk and periodically subtracts random values from it. The condition variable ensures that the value of the chunk is always greater than 0.

-void StartTimer () - -void StopTimer () - -void ReadFunction () - -void Subtract () - -

Static Public Member Functions

-static CSubtractorNewL (CConsoleBase *aConsole) - -static TInt SubtractFunction (TAny *aPtr) - - -

Detailed Description

-The subtractor class. This class opens the global chunk and periodically subtracts random values from it. The condition variable ensures that the value of the chunk is always greater than 0. -

Definition at line 32 of file subtractor.h.

-

Constructor & Destructor Documentation

- +

Definition at line 32 of file subtractor.h.

+

Constructor & Destructor Documentation

+
- + - + - +
CSubtractor::~CSubtractor CSubtractor::~CSubtractor (  ) 
+

Destructor.

-

-Destructor. -

Definition at line 70 of file subtractor.cpp.

+

Definition at line 70 of file subtractor.cpp.

-

-


Member Function Documentation

- +
+

Member Function Documentation

+
- + - + - +
CSubtractor * CSubtractor::NewL CSubtractor * CSubtractor::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 CSubtractor object.
+
Returns:
A CSubtractor object.
-

Definition at line 30 of file subtractor.cpp.

+

Definition at line 30 of file subtractor.cpp.

-

- + +

- + - + - +
void CSubtractor::RunL void CSubtractor::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 subtractor.cpp.

+

Definition at line 43 of file subtractor.cpp.

-

- + +

- + - + - +
void CSubtractor::DoCancel void CSubtractor::DoCancel (  ) 
+

Cancel any outstanding request.

-

-Cancel any outstanding request. -

Definition at line 58 of file subtractor.cpp.

+

Definition at line 58 of file subtractor.cpp.

-

- + +

- + - + - +
void CSubtractor::StartTimer void CSubtractor::StartTimer (  ) 
+

Starts the timer object.

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

-Starts the timer object.

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

Definition at line 124 of file subtractor.cpp.

+

Definition at line 124 of file subtractor.cpp.

-

- + +

- + - + - +
void CSubtractor::StopTimer void CSubtractor::StopTimer (  ) 
+

Stops the timer object.

-

-Stops the timer object. -

Definition at line 132 of file subtractor.cpp.

+

Definition at line 132 of file subtractor.cpp.

-

- + +

- + - + - +
void CSubtractor::ReadFunction void CSubtractor::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 111 of file subtractor.cpp.

+

Definition at line 111 of file subtractor.cpp.

-

- + +

- + - + - +
TInt CSubtractor::SubtractFunction TInt CSubtractor::SubtractFunction ( TAny *  aPtr aPtr  )  [static] [static]
- -

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

Parameters:
+

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

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

Definition at line 143 of file subtractor.cpp.

+

Definition at line 143 of file subtractor.cpp.

-

- + +

- + - + - +
void CSubtractor::Subtract void CSubtractor::Subtract (  ) 
+

Subtracts a random integer value from the global chunk.

-

-Subtracts a random integer value from the global chunk. -

Definition at line 156 of file subtractor.cpp.

+

Definition at line 156 of file subtractor.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