Files

33 lines
591 B
C
Raw Permalink Normal View History

// 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