LocStaticInfo Class Reference
#include <LocStaticInfo.hpp>
List of all members.
Detailed Description
LocStaticInfo - Collects system's static information.
LocStaticInfo queries the underlying OS for static machine information, such as OS version, CPU class and so on. Currently, it only works in Linux, mainly due to the fact that there is no standardized way of getting this kind of information across different platforms.
- Author:
- Andrei Goldchleger
Constructor & Destructor Documentation
LocStaticInfo::LocStaticInfo |
( |
|
) |
|
|
|
Creates a LocStaticInfo object, getting infprmation from the OS. |
Member Function Documentation
const char* LocStaticInfo::getHostName |
( |
|
) |
const [inline] |
|
|
Returns the machine's host name |
const char* LocStaticInfo::getOsName |
( |
|
) |
const [inline] |
|
|
Returns the machine's OS name(e.g. linux) |
const char* LocStaticInfo::getOsVersion |
( |
|
) |
const [inline] |
|
|
Returns the machine's OS version |
int LocStaticInfo::getProcessorMhz |
( |
|
) |
const [inline] |
|
const char* LocStaticInfo::getProcessorName |
( |
|
) |
const [inline] |
|
|
Returns the machine's CPU name |
long LocStaticInfo::getTotalRAM |
( |
|
) |
const [inline] |
|
|
Returns the total amount of RAM, in bytes |
long LocStaticInfo::getTotalSwap |
( |
|
) |
const [inline] |
|
|
Returns the total amount of swap memory, in bytes |
Member Data Documentation
The documentation for this class was generated from the following files:
Generated on Mon Sep 6 16:13:17 2004 by
1.3.3