| 1 | // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/info/infoproviderregistry.cpp`/ |
| 2 | // Copyright 2019 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #include "infoproviderregistry.h"cxx . . $ `<file>/src/core/info/infoproviderregistry.h`/ |
| 5 | |
| 6 | #include <utility> |
| 7 | |
| 8 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<ICPUInfocxx . . $ ICPUInfo#::IProvidercxx . . $ ICPUInfo#IProvider#>> const & |
| 9 | InfoProviderRegistrycxx . . $ InfoProviderRegistry#::cpuInfoProviderscxx . . $ InfoProviderRegistry#cpuInfoProviders(b09f5b0ca2a1a4eb).() const |
| 10 | { |
| 11 | return cpuInfoProviders_cxx . . $ InfoProviderRegistry#cpuInfoProviders_(c40dfa25deca5ad6).(); |
| 12 | } |
| 13 | |
| 14 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IGPUInfocxx . . $ IGPUInfo#::IProvidercxx . . $ IGPUInfo#IProvider#>> const & |
| 15 | InfoProviderRegistrycxx . . $ InfoProviderRegistry#::gpuInfoProviderscxx . . $ InfoProviderRegistry#gpuInfoProviders(65c0b6f616266a45).() const |
| 16 | { |
| 17 | return gpuInfoProviders_cxx . . $ InfoProviderRegistry#gpuInfoProviders_(a1eadf23f4430293).(); |
| 18 | } |
| 19 | |
| 20 | bool InfoProviderRegistrycxx . . $ InfoProviderRegistry#::addcxx . . $ InfoProviderRegistry#add(b26eb1c59e57874a).(stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<ICPUInfocxx . . $ ICPUInfo#::IProvidercxx . . $ ICPUInfo#IProvider#> &&provider) |
| 21 | { |
| 22 | cpuInfoProviders_cxx . . $ InfoProviderRegistry#cpuInfoProviders_(c40dfa25deca5ad6).().emplace_backcxx . . $ std/vector#emplace_back(a1bcdfdabc3a37df).(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(provider)); |
| 23 | return true; |
| 24 | } |
| 25 | |
| 26 | bool InfoProviderRegistrycxx . . $ InfoProviderRegistry#::addcxx . . $ InfoProviderRegistry#add(2c04d579dc484cde).(stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IGPUInfocxx . . $ IGPUInfo#::IProvidercxx . . $ IGPUInfo#IProvider#> &&provider) |
| 27 | { |
| 28 | gpuInfoProviders_cxx . . $ InfoProviderRegistry#gpuInfoProviders_(a1eadf23f4430293).().emplace_backcxx . . $ std/vector#emplace_back(a1bcdfdabc3a37df).(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(provider)); |
| 29 | return true; |
| 30 | } |
| 31 | |
| 32 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<ISWInfocxx . . $ ISWInfo#::IProvidercxx . . $ ISWInfo#IProvider#>> const & |
| 33 | InfoProviderRegistrycxx . . $ InfoProviderRegistry#::swInfoProviderscxx . . $ InfoProviderRegistry#swInfoProviders(86edd47c1472bca7).() const |
| 34 | { |
| 35 | return swInfoProviders_cxx . . $ InfoProviderRegistry#swInfoProviders_(eb7a078cde29f6ee).(); |
| 36 | } |
| 37 | |
| 38 | bool InfoProviderRegistrycxx . . $ InfoProviderRegistry#::addcxx . . $ InfoProviderRegistry#add(5d7d60837316d199).(stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<ISWInfocxx . . $ ISWInfo#::IProvidercxx . . $ ISWInfo#IProvider#> &&provider) |
| 39 | { |
| 40 | swInfoProviders_cxx . . $ InfoProviderRegistry#swInfoProviders_(eb7a078cde29f6ee).().emplace_backcxx . . $ std/vector#emplace_back(a1bcdfdabc3a37df).(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(provider)); |
| 41 | return true; |
| 42 | } |
| 43 | |
| 44 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<ICPUInfocxx . . $ ICPUInfo#::IProvidercxx . . $ ICPUInfo#IProvider#>> & |
| 45 | InfoProviderRegistrycxx . . $ InfoProviderRegistry#::cpuInfoProviders_cxx . . $ InfoProviderRegistry#cpuInfoProviders_(c40dfa25deca5ad6).() |
| 46 | { |
| 47 | static stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<ICPUInfocxx . . $ ICPUInfo#::IProvidercxx . . $ ICPUInfo#IProvider#>> providerscxx . . $ std/vector#vector(49f6e7a06ebc5aa8).; |
| 48 | return providers; |
| 49 | } |
| 50 | |
| 51 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IGPUInfocxx . . $ IGPUInfo#::IProvidercxx . . $ IGPUInfo#IProvider#>> & |
| 52 | InfoProviderRegistrycxx . . $ InfoProviderRegistry#::gpuInfoProviders_cxx . . $ InfoProviderRegistry#gpuInfoProviders_(a1eadf23f4430293).() |
| 53 | { |
| 54 | static stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IGPUInfocxx . . $ IGPUInfo#::IProvidercxx . . $ IGPUInfo#IProvider#>> providerscxx . . $ std/vector#vector(49f6e7a06ebc5aa8).; |
| 55 | return providers; |
| 56 | } |
| 57 | |
| 58 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<ISWInfocxx . . $ ISWInfo#::IProvidercxx . . $ ISWInfo#IProvider#>> & |
| 59 | InfoProviderRegistrycxx . . $ InfoProviderRegistry#::swInfoProviders_cxx . . $ InfoProviderRegistry#swInfoProviders_(eb7a078cde29f6ee).() |
| 60 | { |
| 61 | static stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<ISWInfocxx . . $ ISWInfo#::IProvidercxx . . $ ISWInfo#IProvider#>> providerscxx . . $ std/vector#vector(49f6e7a06ebc5aa8).; |
| 62 | return providers; |
| 63 | } |