mirror of
https://github.com/shadps4-emu/ext-hwinfo.git
synced 2026-01-31 00:55:22 +01:00
33 lines
591 B
C++
33 lines
591 B
C++
// Copyright Leon Freist
|
|
// Author Leon Freist <freist@informatik.uni-freiburg.de>
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
#include "hwinfo/cpu.h"
|
|
#include "hwinfo/disk.h"
|
|
#include "hwinfo/gpu.h"
|
|
#include "hwinfo/ram.h"
|
|
|
|
namespace hwinfo {
|
|
|
|
class System {
|
|
public:
|
|
System() = default;
|
|
|
|
std::vector<CPU>& CPUs() const;
|
|
std::vector<GPU>& GPUs() const;
|
|
std::vector<RAM>& RAMs() const;
|
|
std::vector<Disk>& Disks() const;
|
|
|
|
private:
|
|
std::vector<CPU> _cpuSockets;
|
|
std::vector<GPU> _gpus;
|
|
std::vector<RAM> _ramBars;
|
|
std::vector<Disk> _disks;
|
|
};
|
|
|
|
} // namespace hwinfo
|