libcommonc++  0.7
SystemStats Class Referenceabstract

A collector of system performance or resource utilization statistics. More...

#include <SystemStats.h++>

Inheritance diagram for SystemStats:

Public Member Functions

virtual ~SystemStats ()
 Destructor. More...
 
virtual void reset ()=0
 Reset the stats object. More...
 
virtual bool collect ()=0
 Collect (update) the stats represented by this object. More...
 

Detailed Description

A collector of system performance or resource utilization statistics.

Author
Mark Lindner

Constructor & Destructor Documentation

◆ ~SystemStats()

virtual ~SystemStats ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ collect()

virtual bool collect ( )
pure virtual

Collect (update) the stats represented by this object.

Returns
true if the stats were collected successfully, false otherwise.

Implemented in CPUStats, MemoryStats, and LoadAverageStats.

◆ reset()

virtual void reset ( )
pure virtual

Reset the stats object.

Implemented in CPUStats, MemoryStats, and LoadAverageStats.


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