LSH-Core
Deterministic firmware core for Controllino-based Labo Smart Home nodes
 
Loading...
Searching...
No Matches
configurator.hpp
Go to the documentation of this file.
1
21#ifndef LSH_CORE_CONFIG_CONFIGURATOR_HPP
22#define LSH_CORE_CONFIG_CONFIGURATOR_HPP
23
25
30{
31private:
32#if defined(CONTROLLINO_MAXI) || defined(CONTROLLINO_MAXI_AUTOMATION) || defined(CONTROLLINO_MEGA)
38 static void disableRtc();
39
45 static void disableEth();
46#endif
47
48public:
49 Configurator() = delete;
50 ~Configurator() = delete;
51
52 // Delete copy constructor, copy assignment operator, move constructor and move assignment operator
53#if (__cplusplus >= 201703L) && (__GNUC__ >= 7)
54 Configurator(const Configurator &) = delete;
55 Configurator(Configurator &&) = delete;
56 auto operator=(const Configurator &) -> Configurator & = delete;
57 auto operator=(Configurator &&) -> Configurator & = delete;
58#endif // (__cplusplus >= 201703L) && (__GNUC__ >= 7)
59
61 static void configure();
62 static void finalizeSetup(); // Final setup pass executed after configuration registration.
63};
64
65#endif // LSH_CORE_CONFIG_CONFIGURATOR_HPP
Device-configuration facade backed by the generated static profile.
Definition configurator.hpp:30
static void configure()
Generated device configuration hook emitted by the selected static profile.
static void finalizeSetup()
Final steps of configuration, must be called after configuration().
Definition configurator.cpp:31
Internal bridge that imports static profile resources into the library's scope.