Debian Codegraph @

src/core/components/gpu.h

raw symbols SCIP
1 // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/components/gpu.h`/
2 // Copyright 2019 Juan Palacios <[email protected]>
3
4 #pragma once
5
6 #include "igpu.h"cxx . . $ `<file>/src/core/components/igpu.h`/
7 #include <memory>
8 #include <string>
9 #include <vector>
10
11 class IControlcxx . . $ IControl#;
12 class ISensorcxx . . $ ISensor#;
13
14 class GPUcxx . . $ GPU# final : public IGPUcxx . . $ IGPU#
15 {
16 public:
17 GPUcxx . . $ GPU#GPU(3288d85259378b97).(stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IGPUInfocxx . . $ IGPUInfo#> &&info,
18 stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IControlcxx . . $ IControl#>> &&controls,
19 stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<ISensorcxx . . $ ISensor#>> &&sensors) noexcept;
20
21 bool activecxx . . $ GPU#active(50ce9a9e25b4a850).() const override;
22 void activatecxx . . $ GPU#activate(b45ddcbc8423892c).(bool active) override;
23
24 stdcxx . . $ std/::stringcxx . . $ std/string# const &keycxx . . $ GPU#key(f4fff0029955a25f).() const override;
25
26 stdcxx . . $ std/::paircxx . . $ std/pair#<stdcxx . . $ std/::stringcxx . . $ std/string#, stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::paircxx . . $ std/pair#<stdcxx . . $ std/::stringcxx . . $ std/string#, stdcxx . . $ std/::stringcxx . . $ std/string#>>>
27 componentInfocxx . . $ GPU#componentInfo(e6b143d762ee67dc).() const override;
28
29 void initcxx . . $ GPU#init(49f6e7a06ebc5aa8).() override;
30 void preInitcxx . . $ GPU#preInit(151e9138769f295e).(ICommandQueuecxx . . $ ICommandQueue# &ctlCmds) override;
31 void postInitcxx . . $ GPU#postInit(151e9138769f295e).(ICommandQueuecxx . . $ ICommandQueue# &ctlCmds) override;
32 void synccxx . . $ GPU#sync(151e9138769f295e).(ICommandQueuecxx . . $ ICommandQueue# &ctlCmds) override;
33
34 void updateSensorscxx . . $ GPU#updateSensors(b9a76d75a3ae6a25).(
35 stdcxx . . $ std/::unordered_mapcxx . . $ std/unordered_map#<stdcxx . . $ std/::stringcxx . . $ std/string#, stdcxx . . $ std/::unordered_setcxx . . $ std/unordered_set#<stdcxx . . $ std/::stringcxx . . $ std/string#>> const
36 &ignored) override;
37
38 IGPUInfocxx . . $ IGPUInfo# const &infocxx . . $ GPU#info(a7011a1aeb899f22).() const override;
39
40 stdcxx . . $ std/::stringcxx . . $ std/string# const &IDcxx . . $ GPU#ID(f4fff0029955a25f).() const override;
41 void importWithcxx . . $ GPU#importWith(94eddebf9440278).(Importablecxx . . $ Importable#::Importercxx . . $ Importable#Importer# &i) override;
42 void exportWithcxx . . $ GPU#exportWith(5b5c94ff60635419).(Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter# &e) const override;
43
44 private:
45 stdcxx . . $ std/::stringcxx . . $ std/string# const id_cxx . . $ GPU#id_.;
46 stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IGPUInfocxx . . $ IGPUInfo#> const info_cxx . . $ GPU#info_.;
47 stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IControlcxx . . $ IControl#>> const controls_cxx . . $ GPU#controls_.;
48 stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<ISensorcxx . . $ ISensor#>> const sensors_cxx . . $ GPU#sensors_.;
49
50 stdcxx . . $ std/::stringcxx . . $ std/string# key_cxx . . $ GPU#key_.;
51 bool active_cxx . . $ GPU#active_.{true};
52 };