KiCad PCB EDA Suite
Loading...
Searching...
No Matches
KIPLATFORM::SYSINFO_BASE Class Referenceabstract

#include <sysinfo.h>

Inheritance diagram for KIPLATFORM::SYSINFO_BASE:
KIPLATFORM::SYSINFO

Public Member Functions

virtual bool GetGPUInfo (std::vector< GPU_INFO > &aGpuInfos)=0
 Retrieve GPU info for the system.
 
virtual bool GetCPUInfo (std::vector< CPU_INFO > &aCpuInfos)=0
 Retrieve CPU info for the system.
 
virtual bool GetMemoryInfo (MEMORY_INFO &aMemoryInfo)=0
 Retrieve memory info for the system.
 

Detailed Description

Definition at line 63 of file sysinfo.h.

Member Function Documentation

◆ GetCPUInfo()

virtual bool KIPLATFORM::SYSINFO_BASE::GetCPUInfo ( std::vector< CPU_INFO > &  aCpuInfos)
pure virtual

Retrieve CPU info for the system.

Parameters
aCPUInfosis an vector for CPU_INFO objects to be stored in
Returns
true if info was fetchable, false if failure to retrieve info

Implemented in KIPLATFORM::SYSINFO, KIPLATFORM::SYSINFO, and KIPLATFORM::SYSINFO.

◆ GetGPUInfo()

virtual bool KIPLATFORM::SYSINFO_BASE::GetGPUInfo ( std::vector< GPU_INFO > &  aGpuInfos)
pure virtual

Retrieve GPU info for the system.

Parameters
aGPUInfosis an vector for GPU_INFO objects to be stored in
Returns
true if info was fetchable, false if failure to retrieve info

Implemented in KIPLATFORM::SYSINFO, KIPLATFORM::SYSINFO, and KIPLATFORM::SYSINFO.

◆ GetMemoryInfo()

virtual bool KIPLATFORM::SYSINFO_BASE::GetMemoryInfo ( MEMORY_INFO aMemoryInfo)
pure virtual

Retrieve memory info for the system.

Parameters
aMemoryInfois an object to be populate with the retrieved system memory info
Returns
true if info was fetchable, false if failure to retrieve info

Implemented in KIPLATFORM::SYSINFO, KIPLATFORM::SYSINFO, and KIPLATFORM::SYSINFO.


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