CAdder Class Reference

List of all members.

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:

Definition at line 42 of file adder.h.


Constructor & Destructor Documentation

CAdder::~CAdder (  ) 

Member Function Documentation

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

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.

Definition at line 43 of file adder.cpp.

void CAdder::Add (  ) 
CAdder * CAdder::NewL ( CConsoleBase *  aConsole  )  [static]

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

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

Definition at line 43 of file adder.cpp.

void CAdder::RunL (  ) 
void CAdder::DoCancel (  ) 
void CAdder::StartTimer (  ) 
void CAdder::StopTimer (  ) 
void CAdder::ReadFunction (  ) 
TInt CAdder::AddFunction ( TAny *  aPtr  )  [static]

Generated by  doxygen 1.6.2