CSubtractor Class Reference

List of all members.

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.

Definition at line 45 of file subtractor.h.


Constructor & Destructor Documentation

CSubtractor::~CSubtractor (  ) 

Member Function Documentation

CSubtractor * CSubtractor::NewL ( CConsoleBase *  aConsole  )  [static]

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

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

Definition at line 43 of file subtractor.cpp.

void CSubtractor::RunL (  ) 
void CSubtractor::DoCancel (  ) 
void CSubtractor::StartTimer (  ) 
void CSubtractor::StopTimer (  ) 
void CSubtractor::ReadFunction (  ) 
TInt CSubtractor::SubtractFunction ( TAny *  aPtr  )  [static]
void CSubtractor::Subtract (  ) 

Generated by  doxygen 1.6.2