Aimsun Next Scripting
22
|
Public Member Functions | |
GKComputerInfo () | |
~GKComputerInfo () | |
QString | computerName () |
QString | address () |
QString | userName () |
QString | model () |
QString | operatingSystemFamily () |
QString | operatingSystemVersion () |
int | numberOfBits () |
int | numberOfCores () |
int | installedRAM () |
int | availableRAM () |
int | cpuLoad () |
GKComputerInfo::GKComputerInfo | ( | ) |
GKComputerInfo::~GKComputerInfo | ( | ) |
QString GKComputerInfo::address | ( | ) |
TCP/IP Address
int GKComputerInfo::availableRAM | ( | ) |
Free RAM in MB
QString GKComputerInfo::computerName | ( | ) |
Computer name
int GKComputerInfo::cpuLoad | ( | ) |
CPU load as a percentage. Only Available in Linux for now. Return -1 when no data is available.
int GKComputerInfo::installedRAM | ( | ) |
Installed RAM in MB
QString GKComputerInfo::model | ( | ) |
Computer Model (MacPro, iMac..., Windows, Linux)
int GKComputerInfo::numberOfBits | ( | ) |
Number of bits (32 or 64)
int GKComputerInfo::numberOfCores | ( | ) |
Number of cores
QString GKComputerInfo::operatingSystemFamily | ( | ) |
OS Family (Mac OS X, Windows, Linux)
QString GKComputerInfo::operatingSystemVersion | ( | ) |
Version of the OS (10.6, 7, Ubuntu 9.04...)
QString GKComputerInfo::userName | ( | ) |
User name that starts the application