PlayerCc::HealthProxy Class Reference

#include <playerc++.h>

Inheritance diagram for PlayerCc::HealthProxy:

Inheritance graph
Collaboration diagram for PlayerCc::HealthProxy:

Collaboration graph
List of all members.

Detailed Description

The HealthProxy class is used to get infos of the player-server.

Definition at line 859 of file playerc++.h.

Public Member Functions

 HealthProxy (PlayerClient *aPc, uint32_t aIndex=0)
 ~HealthProxy ()
float GetIdleCPU ()
 Get idle CPU load in percents.
float GetSystemCPU ()
 Get system CPU load in percents.
float GetUserCPU ()
 Get user CPU load in percents.
int64_t GetMemTotal ()
 Get total amount of memory.
int64_t GetMemUsed ()
 Get amount of memory used.
int64_t GetMemFree ()
 Get amount of free memory.
int64_t GetSwapTotal ()
 Get total amount of swap.
int64_t GetSwapUsed ()
 Get amount of swap used.
int64_t GetSwapFree ()
 Get amount of free swap space.
float GetPercMemUsed ()
 Get percentage of used RAM.
float GetPercSwapUsed ()
 Get percentage of used SWAP.
float GetPercTotalUsed ()
 Get percentage of totally used memory (swap and ram).

Private Member Functions

void Subscribe (uint32_t aIndex)
void Unsubscribe ()

Private Attributes


The documentation for this class was generated from the following file:

Last updated 12 September 2005 21:38:45