Debian Codegraph @

src/core/isyscomponent.h

raw symbols SCIP
1 // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/isyscomponent.h`/
2 // Copyright 2019 Juan Palacios <[email protected]>
3
4 #pragma once
5
6 #include "exportable.h"cxx . . $ `<file>/src/core/exportable.h`/
7 #include "importable.h"cxx . . $ `<file>/src/core/importable.h`/
8 #include "item.h"cxx . . $ `<file>/src/core/item.h`/
9 #include <string>
10 #include <unordered_map>
11 #include <unordered_set>
12 #include <utility>
13 #include <vector>
14
15 class ICommandQueuecxx . . $ ICommandQueue#;
16
17 class ISysComponentcxx . . $ ISysComponent#
18 : public Itemcxx . . $ Item#
19 , public Importablecxx . . $ Importable#
20 , public Exportablecxx . . $ Exportable#
21 {
22 public:
23 class Importercxx . . $ ISysComponent#Importer# : public Importablecxx . . $ Importable#::Importercxx . . $ Importable#Importer#
24 {
25 public:
26 virtual bool provideActivecxx . . $ ISysComponent#Importer#provideActive(50ce9a9e25b4a850).() const = 0;
27 };
28
29 class Exportercxx . . $ ISysComponent#Exporter# : public Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter#
30 {
31 public:
32 virtual void takeActivecxx . . $ ISysComponent#Exporter#takeActive(b45ddcbc8423892c).(bool active) = 0;
33 };
34
35 virtual bool activecxx . . $ ISysComponent#active(50ce9a9e25b4a850).() const = 0;
36 virtual void activatecxx . . $ ISysComponent#activate(b45ddcbc8423892c).(bool active) = 0;
37
38 /// @return unique key generated for this system component
39 virtual stdcxx . . $ std/::stringcxx . . $ std/string# const &keycxx . . $ ISysComponent#key(f4fff0029955a25f).() const = 0;
40
41 /// @return component information as a pair of the component name and
42 /// a vector of pairs of key and info values.
43 virtual 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#>>>
44 componentInfocxx . . $ ISysComponent#componentInfo(e6b143d762ee67dc).() const = 0;
45
46 virtual void initcxx . . $ ISysComponent#init(49f6e7a06ebc5aa8).() = 0;
47 virtual void preInitcxx . . $ ISysComponent#preInit(151e9138769f295e).(ICommandQueuecxx . . $ ICommandQueue# &ctlCmds) = 0;
48 virtual void postInitcxx . . $ ISysComponent#postInit(151e9138769f295e).(ICommandQueuecxx . . $ ICommandQueue# &ctlCmds) = 0;
49 virtual void synccxx . . $ ISysComponent#sync(151e9138769f295e).(ICommandQueuecxx . . $ ICommandQueue# &ctlCmds) = 0;
50 virtual void updateSensorscxx . . $ ISysComponent#updateSensors(b9a76d75a3ae6a25).(
51 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
52 &ignored) = 0;
53
54 virtual ~cxx . . $ ISysComponent#`~ISysComponent`(ced63f7c635d850d).ISysComponentcxx . . $ ISysComponent#() = default;
55 };