lm::HardwareDescription Class Reference

Stores names of all drives and network adapters that are being monitored by the Load Monitor library. More...

#include <HardwareDescription.h>


Public Member Functions

 HardwareDescription (void)
 Default ctor.
 HardwareDescription (unsigned long long time_stamp)
 Create empty description.
void ReallocateDrives (size_t n)
 Re-allocate drive data.
void ReallocateAdapters (size_t n)
 Re-allocate adapter data.

Data Fields

std::vector< Stringdrives
 Names of all drives.
std::vector< Stringadapters
 Names of all adapters.
size_t processor_count
 Number of processors.
unsigned long long memory_size
 Total size of the available physical memory in bytes.
unsigned long long time
 Timestamp.


Detailed Description

Stores names of all drives and network adapters that are being monitored by the Load Monitor library.


Constructor & Destructor Documentation

lm::HardwareDescription::HardwareDescription ( void   ) 

Default ctor.

lm::HardwareDescription::HardwareDescription ( unsigned long long  time_stamp  ) 

Create empty description.

Parameters:
time_stamp Timestamp.


Member Function Documentation

void lm::HardwareDescription::ReallocateAdapters ( size_t  n  ) 

Re-allocate adapter data.

Parameters:
n Number of network adapters.

void lm::HardwareDescription::ReallocateDrives ( size_t  n  ) 

Re-allocate drive data.

Parameters:
n New number of drives.


Field Documentation

std::vector< String > lm::HardwareDescription::adapters

Names of all adapters.

std::vector< String > lm::HardwareDescription::drives

Names of all drives.

unsigned long long lm::HardwareDescription::memory_size

Total size of the available physical memory in bytes.

size_t lm::HardwareDescription::processor_count

Number of processors.

unsigned long long lm::HardwareDescription::time

Timestamp.


The documentation for this class was generated from the following files:
Generated on Tue Dec 19 17:43:49 2006 for Load Monitor for Linux by  doxygen 1.4.7