| 1 | // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/info/common/gpuinforevision.h`/ |
| 2 | // Copyright 2019 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include "../igpuinfo.h"cxx . . $ `<file>/src/core/info/igpuinfo.h`/ |
| 7 | #include "core/idatasource.h"cxx . . $ `<file>/src/core/idatasource.h`/ |
| 8 | #include <filesystem> |
| 9 | #include <memory> |
| 10 | #include <string> |
| 11 | |
| 12 | class GPUInfoRevisioncxx . . $ GPUInfoRevision# final : public IGPUInfocxx . . $ IGPUInfo#::IProvidercxx . . $ IGPUInfo#IProvider# |
| 13 | { |
| 14 | public: |
| 15 | GPUInfoRevisioncxx . . $ GPUInfoRevision#GPUInfoRevision(50e9a1d442764874).( |
| 16 | stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IDataSourcecxx . . $ IDataSource#<stdcxx . . $ std/::stringcxx . . $ std/string#, stdcxx . . $ std/::filesystemcxx . . $ std/filesystem/::pathcxx . . $ std/filesystem/__cxx11/path# const>> |
| 17 | &&dataSource) noexcept; |
| 18 | |
| 19 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::paircxx . . $ std/pair#<stdcxx . . $ std/::stringcxx . . $ std/string#, stdcxx . . $ std/::stringcxx . . $ std/string#>> |
| 20 | provideInfocxx . . $ GPUInfoRevision#provideInfo(5b65f7e996e13d80).(Vendorcxx . . $ Vendor# vendor, int gpuIndex, IGPUInfocxx . . $ IGPUInfo#::Pathcxx . . $ IGPUInfo#Path# const &path, |
| 21 | IHWIDTranslatorcxx . . $ IHWIDTranslator# const &hwIDTranslator) const override; |
| 22 | |
| 23 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::stringcxx . . $ std/string#> |
| 24 | provideCapabilitiescxx . . $ GPUInfoRevision#provideCapabilities(da28437f5803dad2).(Vendorcxx . . $ Vendor# vendor, int, |
| 25 | IGPUInfocxx . . $ IGPUInfo#::Pathcxx . . $ IGPUInfo#Path# const &path) const override; |
| 26 | |
| 27 | private: |
| 28 | stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IDataSourcecxx . . $ IDataSource#<stdcxx . . $ std/::stringcxx . . $ std/string#, stdcxx . . $ std/::filesystemcxx . . $ std/filesystem/::pathcxx . . $ std/filesystem/__cxx11/path# const>> const |
| 29 | dataSource_cxx . . $ GPUInfoRevision#dataSource_.; |
| 30 | static bool registered_cxx . . $ GPUInfoRevision#registered_.; |
| 31 | }; |