| 1 | // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/components/igpuprofilepart.h`/ |
| 2 | // Copyright 2019 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include "core/iprofilepart.h"cxx . . $ `<file>/src/core/iprofilepart.h`/ |
| 7 | #include "core/isyscomponentprofilepart.h"cxx . . $ `<file>/src/core/isyscomponentprofilepart.h`/ |
| 8 | #include <optional> |
| 9 | #include <string> |
| 10 | |
| 11 | class IGPUProfilePartcxx . . $ IGPUProfilePart# : public ISysComponentProfilePartcxx . . $ ISysComponentProfilePart# |
| 12 | { |
| 13 | public: |
| 14 | class Importercxx . . $ IGPUProfilePart#Importer# : public IProfilePartcxx . . $ IProfilePart#::Importercxx . . $ IProfilePart#Importer# |
| 15 | { |
| 16 | public: |
| 17 | virtual int provideIndexcxx . . $ IGPUProfilePart#Importer#provideIndex(455f465bc33b4cdf).() const = 0; |
| 18 | virtual stdcxx . . $ std/::stringcxx . . $ std/string# const &provideDeviceIDcxx . . $ IGPUProfilePart#Importer#provideDeviceID(f4fff0029955a25f).() const = 0; |
| 19 | virtual stdcxx . . $ std/::stringcxx . . $ std/string# const &provideRevisioncxx . . $ IGPUProfilePart#Importer#provideRevision(f4fff0029955a25f).() const = 0; |
| 20 | virtual stdcxx . . $ std/::optionalcxx . . $ std/optional#<stdcxx . . $ std/::stringcxx . . $ std/string#> provideUniqueIDcxx . . $ IGPUProfilePart#Importer#provideUniqueID(5ce91bc52c9d8e1).() const = 0; |
| 21 | }; |
| 22 | |
| 23 | class Exportercxx . . $ IGPUProfilePart#Exporter# : public IProfilePartcxx . . $ IProfilePart#::Exportercxx . . $ IProfilePart#Exporter# |
| 24 | { |
| 25 | public: |
| 26 | virtual void takeIndexcxx . . $ IGPUProfilePart#Exporter#takeIndex(d4f767463ce0a6b3).(int index) = 0; |
| 27 | virtual void takeDeviceIDcxx . . $ IGPUProfilePart#Exporter#takeDeviceID(9c546c94e5fcce4e).(stdcxx . . $ std/::stringcxx . . $ std/string# const &deviceID) = 0; |
| 28 | virtual void takeRevisioncxx . . $ IGPUProfilePart#Exporter#takeRevision(9c546c94e5fcce4e).(stdcxx . . $ std/::stringcxx . . $ std/string# const &revision) = 0; |
| 29 | virtual void takeUniqueIDcxx . . $ IGPUProfilePart#Exporter#takeUniqueID(f63fdbbff1c7c15e).(stdcxx . . $ std/::optionalcxx . . $ std/optional#<stdcxx . . $ std/::stringcxx . . $ std/string#> uniqueID) = 0; |
| 30 | }; |
| 31 | |
| 32 | virtual ~cxx . . $ IGPUProfilePart#`~IGPUProfilePart`(ced63f7c635d850d).IGPUProfilePartcxx . . $ IGPUProfilePart#() = default; |
| 33 | }; |