PlayerCc::HealthProxy Class Reference

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

#include <playerc++.h>

Inheritance diagram for PlayerCc::HealthProxy:
Collaboration diagram for PlayerCc::HealthProxy:

List of all members.


Detailed Description

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

Public Member Functions

 HealthProxy (PlayerClient *aPc, uint32_t aIndex=0)
 Constructor.
 ~HealthProxy ()
 Destructor.
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

playerc_health_tmDevice

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