| 1 | // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/info/common/gpuinfouevent.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 | #include <vector> |
| 12 | |
| 13 | class GPUInfoUeventcxx . . $ GPUInfoUevent# final : public IGPUInfocxx . . $ IGPUInfo#::IProvidercxx . . $ IGPUInfo#IProvider# |
| 14 | { |
| 15 | public: |
| 16 | GPUInfoUeventcxx . . $ GPUInfoUevent#GPUInfoUevent(50458470b84e8b0c).(stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#< |
| 17 | IDataSourcecxx . . $ IDataSource#<stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::stringcxx . . $ std/string#>, stdcxx . . $ std/::filesystemcxx . . $ std/filesystem/::pathcxx . . $ std/filesystem/__cxx11/path# const>> |
| 18 | &&dataSource) noexcept; |
| 19 | |
| 20 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::paircxx . . $ std/pair#<stdcxx . . $ std/::stringcxx . . $ std/string#, stdcxx . . $ std/::stringcxx . . $ std/string#>> |
| 21 | provideInfocxx . . $ GPUInfoUevent#provideInfo(5b65f7e996e13d80).(Vendorcxx . . $ Vendor# vendor, int gpuIndex, IGPUInfocxx . . $ IGPUInfo#::Pathcxx . . $ IGPUInfo#Path# const &path, |
| 22 | IHWIDTranslatorcxx . . $ IHWIDTranslator# const &hwIDTranslator) const override; |
| 23 | |
| 24 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::stringcxx . . $ std/string#> |
| 25 | provideCapabilitiescxx . . $ GPUInfoUevent#provideCapabilities(da28437f5803dad2).(Vendorcxx . . $ Vendor# vendor, int, |
| 26 | IGPUInfocxx . . $ IGPUInfo#::Pathcxx . . $ IGPUInfo#Path# const &path) const override; |
| 27 | |
| 28 | private: |
| 29 | stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IDataSourcecxx . . $ IDataSource#<stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::stringcxx . . $ std/string#>, |
| 30 | stdcxx . . $ std/::filesystemcxx . . $ std/filesystem/::pathcxx . . $ std/filesystem/__cxx11/path# const>> const dataSource_cxx . . $ GPUInfoUevent#dataSource_.; |
| 31 | static bool registered_cxx . . $ GPUInfoUevent#registered_.; |
| 32 | }; |