| 1 | // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/info/infoproviderregistry.h`/ |
| 2 | // Copyright 2019 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include "icpuinfo.h"cxx . . $ `<file>/src/core/info/icpuinfo.h`/ |
| 7 | #include "igpuinfo.h"cxx . . $ `<file>/src/core/info/igpuinfo.h`/ |
| 8 | #include "iswinfo.h"cxx . . $ `<file>/src/core/info/iswinfo.h`/ |
| 9 | #include <memory> |
| 10 | #include <vector> |
| 11 | |
| 12 | class InfoProviderRegistrycxx . . $ InfoProviderRegistry# final |
| 13 | : public ICPUInfocxx . . $ ICPUInfo#::IProviderRegistrycxx . . $ ICPUInfo#IProviderRegistry# |
| 14 | , public IGPUInfocxx . . $ IGPUInfo#::IProviderRegistrycxx . . $ IGPUInfo#IProviderRegistry# |
| 15 | , public ISWInfocxx . . $ ISWInfo#::IProviderRegistrycxx . . $ ISWInfo#IProviderRegistry# |
| 16 | { |
| 17 | public: |
| 18 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<ICPUInfocxx . . $ ICPUInfo#::IProvidercxx . . $ ICPUInfo#IProvider#>> const & |
| 19 | cpuInfoProviderscxx . . $ InfoProviderRegistry#cpuInfoProviders(b09f5b0ca2a1a4eb).() const override; |
| 20 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IGPUInfocxx . . $ IGPUInfo#::IProvidercxx . . $ IGPUInfo#IProvider#>> const & |
| 21 | gpuInfoProviderscxx . . $ InfoProviderRegistry#gpuInfoProviders(65c0b6f616266a45).() const override; |
| 22 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<ISWInfocxx . . $ ISWInfo#::IProvidercxx . . $ ISWInfo#IProvider#>> const & |
| 23 | swInfoProviderscxx . . $ InfoProviderRegistry#swInfoProviders(86edd47c1472bca7).() const override; |
| 24 | |
| 25 | static bool addcxx . . $ InfoProviderRegistry#add(b26eb1c59e57874a).(stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<ICPUInfocxx . . $ ICPUInfo#::IProvidercxx . . $ ICPUInfo#IProvider#> &&provider); |
| 26 | static bool addcxx . . $ InfoProviderRegistry#add(2c04d579dc484cde).(stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IGPUInfocxx . . $ IGPUInfo#::IProvidercxx . . $ IGPUInfo#IProvider#> &&provider); |
| 27 | static bool addcxx . . $ InfoProviderRegistry#add(5d7d60837316d199).(stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<ISWInfocxx . . $ ISWInfo#::IProvidercxx . . $ ISWInfo#IProvider#> &&provider); |
| 28 | |
| 29 | private: |
| 30 | static stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<ICPUInfocxx . . $ ICPUInfo#::IProvidercxx . . $ ICPUInfo#IProvider#>> &cpuInfoProviders_cxx . . $ InfoProviderRegistry#cpuInfoProviders_(c40dfa25deca5ad6).(); |
| 31 | static stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IGPUInfocxx . . $ IGPUInfo#::IProvidercxx . . $ IGPUInfo#IProvider#>> &gpuInfoProviders_cxx . . $ InfoProviderRegistry#gpuInfoProviders_(a1eadf23f4430293).(); |
| 32 | static stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<ISWInfocxx . . $ ISWInfo#::IProvidercxx . . $ ISWInfo#IProvider#>> &swInfoProviders_cxx . . $ InfoProviderRegistry#swInfoProviders_(eb7a078cde29f6ee).(); |
| 33 | }; |