21#ifndef LSHCORE_CONFIG_CONFIGURATOR_HPP
22#define LSHCORE_CONFIG_CONFIGURATOR_HPP
40 static void addActuator(
Actuator *actuator);
41 static void addClickable(
Clickable *clickable);
42 static void addIndicator(
Indicator *indicator);
44 static auto getIndex(
const Actuator &actuator) -> uint8_t;
45 static auto getIndex(
const Clickable &clickable) -> uint8_t;
46 static auto getIndex(
const Indicator &indicator) -> uint8_t;
48#if defined(CONTROLLINO_MAXI) || defined(CONTROLLINO_MAXI_AUTOMATION) || defined(CONTROLLINO_MEGA)
49 static void disableRtc();
50 static void disableEth();
58#if (__cplusplus >= 201703L) && (__GNUC__ >= 7)
Represents an actuator (relay) attached to a digital pin.
Definition actuator.hpp:33
A class that represents a clickable object, like a button, and its associated logic.
Definition clickable.hpp:37
"static class" used to configure the device.
Definition configurator.hpp:37
static void configure()
The main user-defined device configuration function.
static void finalizeSetup()
Final steps of configuration, must be called after configuration().
Definition configurator.cpp:98
Represents a state indicator for one or more attached actuators, indicators are normally connected to...
Definition indicator.hpp:35
Internal bridge that imports user-defined macros into the library's scope.