#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< String > | drives |
Names of all drives. | |
std::vector< String > | adapters |
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. |
lm::HardwareDescription::HardwareDescription | ( | void | ) |
Default ctor.
lm::HardwareDescription::HardwareDescription | ( | unsigned long long | time_stamp | ) |
Create empty description.
time_stamp | Timestamp. |
void lm::HardwareDescription::ReallocateAdapters | ( | size_t | n | ) |
Re-allocate adapter data.
n | Number of network adapters. |
void lm::HardwareDescription::ReallocateDrives | ( | size_t | n | ) |
Re-allocate drive data.
n | New number of drives. |
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.
Number of processors.
unsigned long long lm::HardwareDescription::time |
Timestamp.