Debian Codegraph @

src/core/components/controls/gpucontrolprovider.h

raw symbols SCIP
1 // SPDX-License-Identifier: GPL-3.0-or-later
2 // Copyright 2019 Juan Palacios <[email protected]>
3
4 #pragma once
5
6 #include "igpucontrolprovider.h"
7 #include <memory>
8 #include <vector>
9
10 class GPUControlProvider final : public IGPUControlProvider
11 {
12 public:
13 std::vector<std::unique_ptr<IGPUControlProvider::IProvider>> const &
14 gpuControlProviders() const override;
15
16 static bool
17 registerProvider(std::unique_ptr<IGPUControlProvider::IProvider> &&provider);
18
19 private:
20 static std::vector<std::unique_ptr<IGPUControlProvider::IProvider>> &
21 gpuControlProviders_();
22 };