CPUSpeed Class Reference

The CPUSpeed Class. More...

#include <OSResult.h>

Collaboration diagram for CPUSpeed:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CPUSpeed ()
 Default constructor.
 ~CPUSpeed ()
 Class destructor.
bool IsEqual (CPUSpeed *that)
 A function to check for the equality of two objects.

Public Attributes

std::string unit
 the unit in which CPU speed is measured
std::string description
 a descriptive string to further describe the CPU
double value
 the number of CPU speed units

Detailed Description

The CPUSpeed Class.

Author:
Robert Fourer, Horand Gassmann, Jun Ma, Kipp Martin
Version:
1.0, 10/09/2009
Since:
OS 1.0
Remarks:
A data structure class that corresponds to an xml element in the OSrL schema.

Definition at line 388 of file OSResult.h.


Constructor & Destructor Documentation

CPUSpeed::CPUSpeed (  ) 

Default constructor.

Definition at line 195 of file OSResult.cpp.

CPUSpeed::~CPUSpeed (  ) 

Class destructor.

Definition at line 205 of file OSResult.cpp.


Member Function Documentation

bool CPUSpeed::IsEqual ( CPUSpeed that  ) 

A function to check for the equality of two objects.

Definition at line 5040 of file OSResult.cpp.


Member Data Documentation

std::string CPUSpeed::unit

the unit in which CPU speed is measured

Definition at line 393 of file OSResult.h.

Referenced by OSResult::getAvailableCPUSpeedUnit(), OSResult::getUsedCPUSpeedUnit(), OSResult::setAvailableCPUSpeedUnit(), OSResult::setUsedCPUSpeedUnit(), and OSrLWriter::writeOSrL().

std::string CPUSpeed::description

a descriptive string to further describe the CPU

Definition at line 396 of file OSResult.h.

Referenced by OSResult::getAvailableCPUSpeedDescription(), OSResult::getUsedCPUSpeedDescription(), OSResult::setAvailableCPUSpeedDescription(), OSResult::setUsedCPUSpeedDescription(), and OSrLWriter::writeOSrL().

double CPUSpeed::value

the number of CPU speed units

Definition at line 399 of file OSResult.h.

Referenced by OSResult::getAvailableCPUSpeedValue(), OSResult::getUsedCPUSpeedValue(), OSResult::setAvailableCPUSpeedValue(), OSResult::setUsedCPUSpeedValue(), and OSrLWriter::writeOSrL().


The documentation for this class was generated from the following files:
Generated on Tue Mar 30 03:12:06 2010 by  doxygen 1.4.7