| 1 | // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/isysmodel.h`/ |
| 2 | // Copyright 2019 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include "core/exportable.h"cxx . . $ `<file>/src/core/exportable.h`/ |
| 7 | #include "core/importable.h"cxx . . $ `<file>/src/core/importable.h`/ |
| 8 | #include "core/item.h"cxx . . $ `<file>/src/core/item.h`/ |
| 9 | #include <string> |
| 10 | #include <string_view> |
| 11 | #include <unordered_map> |
| 12 | #include <unordered_set> |
| 13 | #include <utility> |
| 14 | #include <vector> |
| 15 | |
| 16 | class ICommandQueuecxx . . $ ICommandQueue#; |
| 17 | |
| 18 | class ISysModelcxx . . $ ISysModel# |
| 19 | : public Itemcxx . . $ Item# |
| 20 | , public Importablecxx . . $ Importable# |
| 21 | , public Exportablecxx . . $ Exportable# |
| 22 | { |
| 23 | public: |
| 24 | static constexpr stdcxx . . $ std/::string_viewcxx . . $ std/string_view# ItemIDcxx . . $ ISysModel#ItemID.{"SYS_MODEL"}; |
| 25 | |
| 26 | class Importercxx . . $ ISysModel#Importer# : public Importablecxx . . $ Importable#::Importercxx . . $ Importable#Importer# |
| 27 | { |
| 28 | public: |
| 29 | }; |
| 30 | |
| 31 | class Exportercxx . . $ ISysModel#Exporter# : public Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter# |
| 32 | { |
| 33 | public: |
| 34 | }; |
| 35 | |
| 36 | virtual void initcxx . . $ ISysModel#init(49f6e7a06ebc5aa8).() = 0; |
| 37 | virtual void preInitcxx . . $ ISysModel#preInit(151e9138769f295e).(ICommandQueuecxx . . $ ICommandQueue# &ctlCmds) = 0; |
| 38 | virtual void postInitcxx . . $ ISysModel#postInit(151e9138769f295e).(ICommandQueuecxx . . $ ICommandQueue# &ctlCmds) = 0; |
| 39 | virtual void synccxx . . $ ISysModel#sync(151e9138769f295e).(ICommandQueuecxx . . $ ICommandQueue# &ctlCmds) = 0; |
| 40 | virtual void updateSensorscxx . . $ ISysModel#updateSensors(b9a76d75a3ae6a25).( |
| 41 | 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 |
| 42 | &ignored) = 0; |
| 43 | |
| 44 | virtual stdcxx . . $ std/::vectorcxx . . $ std/vector#< |
| 45 | 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#>>>> |
| 46 | infocxx . . $ ISysModel#info(909f45ca661bc315).() const = 0; |
| 47 | |
| 48 | virtual ~cxx . . $ ISysModel#`~ISysModel`(ced63f7c635d850d).ISysModelcxx . . $ ISysModel#() = default; |
| 49 | }; |