Debian Codegraph @

src/core/components/controls/controlmodeprofilepart.h

raw symbols SCIP
1 // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/components/controls/controlmodeprofilepart.h`/
2 // Copyright 2019 Juan Palacios <[email protected]>
3
4 #pragma once
5
6 #include "controlmode.h"cxx . . $ `<file>/src/core/components/controls/controlmode.h`/
7 #include "core/profilepart.h"cxx . . $ `<file>/src/core/profilepart.h`/
8 #include <memory>
9 #include <string>
10 #include <string_view>
11 #include <vector>
12
13 class ControlModeProfilePartcxx . . $ ControlModeProfilePart#
14 : public ProfilePartcxx . . $ ProfilePart#
15 , public ControlModecxx . . $ ControlMode#::Importercxx . . $ ControlMode#Importer#
16 {
17 public:
18 class Importercxx . . $ ControlModeProfilePart#Importer# : public IProfilePartcxx . . $ IProfilePart#::Importercxx . . $ IProfilePart#Importer#
19 {
20 public:
21 virtual stdcxx . . $ std/::stringcxx . . $ std/string# const &provideModecxx . . $ ControlModeProfilePart#Importer#provideMode(f4fff0029955a25f).() const = 0;
22 };
23
24 class Exportercxx . . $ ControlModeProfilePart#Exporter# : public IProfilePartcxx . . $ IProfilePart#::Exportercxx . . $ IProfilePart#Exporter#
25 {
26 public:
27 virtual void takeModecxx . . $ ControlModeProfilePart#Exporter#takeMode(9c546c94e5fcce4e).(stdcxx . . $ std/::stringcxx . . $ std/string# const &mode) = 0;
28 };
29
30 ControlModeProfilePartcxx . . $ ControlModeProfilePart#ControlModeProfilePart(c6e332c41c54746f).(stdcxx . . $ std/::string_viewcxx . . $ std/string_view# id) noexcept;
31
32 stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter#>
33 factorycxx . . $ ControlModeProfilePart#factory(af48dc8d4887b70c).(IProfilePartProvidercxx . . $ IProfilePartProvider# const &profilePartProvider) final override;
34 stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter#> initializercxx . . $ ControlModeProfilePart#initializer(6b4e1016740e578).() final override;
35
36 stdcxx . . $ std/::stringcxx . . $ std/string# const &IDcxx . . $ ControlModeProfilePart#ID(f4fff0029955a25f).() const final override;
37
38 stdcxx . . $ std/::optionalcxx . . $ std/optional#<stdcxx . . $ std/::reference_wrappercxx . . $ std/reference_wrapper#<Importablecxx . . $ Importable#::Importercxx . . $ Importable#Importer#>>
39 provideImportercxx . . $ ControlModeProfilePart#provideImporter(c13a3bcac0db4745).(Itemcxx . . $ Item# const &i) final override;
40
41 bool provideActivecxx . . $ ControlModeProfilePart#provideActive(50ce9a9e25b4a850).() const final override;
42 stdcxx . . $ std/::stringcxx . . $ std/string# const &provideModecxx . . $ ControlModeProfilePart#provideMode(f4fff0029955a25f).() const final override;
43
44 protected:
45 void importProfilePartcxx . . $ ControlModeProfilePart#importProfilePart(d62b6a6dfe9fe695).(IProfilePartcxx . . $ IProfilePart#::Importercxx . . $ IProfilePart#Importer# &i) final override;
46 void exportProfilePartcxx . . $ ControlModeProfilePart#exportProfilePart(702e13e8794d0da4).(IProfilePartcxx . . $ IProfilePart#::Exportercxx . . $ IProfilePart#Exporter# &e) const final override;
47 stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IProfilePartcxx . . $ IProfilePart#> cloneProfilePartcxx . . $ ControlModeProfilePart#cloneProfilePart(1378fcc1caef3e7b).() const final override;
48
49 virtual stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<ControlModeProfilePartcxx . . $ ControlModeProfilePart#> instancecxx . . $ ControlModeProfilePart#instance(ca12253372a842fa).() const = 0;
50
51 private:
52 void modecxx . . $ ControlModeProfilePart#mode(9c546c94e5fcce4e).(stdcxx . . $ std/::stringcxx . . $ std/string# const &mode);
53
54 class Factorycxx . . $ ControlModeProfilePart#Factory#;
55 class Initializercxx . . $ ControlModeProfilePart#Initializer#;
56
57 stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IProfilePartcxx . . $ IProfilePart#>> parts_cxx . . $ ControlModeProfilePart#parts_.;
58 stdcxx . . $ std/::stringcxx . . $ std/string# const id_cxx . . $ ControlModeProfilePart#id_.;
59 stdcxx . . $ std/::stringcxx . . $ std/string# mode_cxx . . $ ControlModeProfilePart#mode_.;
60 };