Module utilities

Source
Expand description

This container module features all functionality that could not be assigned to any other container module.

Modules§

acknowledge_signal_handler
Trait incl. implementation for acknowledging to signal handler
channel_content
Defines enums and structs for inter-thread communication via channels.
check_mutex_access_duration
Trait incl. implementation for checking maximum permissible access duration
check_quit_increment_counter_ping_database 🔒
Macro to handle common end-of-loop tasks for Balling and Feed
common
Provides common, shared functions and constants used across multiple modules.
config
Handles the loading and parsing of the main application configuration from a TOML file.
config_error
Defines error types related to reading and parsing the configuration file.
config_file_definition_error
Defines error types for structural or semantic issues within the configuration file.
database_ping_trait
A trait for components that need to periodically ping a Pingable resource.
iir_filter
Implements a simple Infinite Impulse Response (IIR) filter for smoothing sensor data.
logger
Contains setup and configuration for the application-wide logging framework.
logger_config
Configuration of Logger
perform_schedule_check 🔒
Macro for performing schedule check
proc_ext_req
Defines a trait for processing external requests, such as commands from the signal handler.
publish_pid
Manages the creation of a PID file to make the process ID available to external scripts.
publish_pid_config
Configuration of PublishPid
sawtooth_profile
Implements a sawtooth wave generator for creating low-frequency PWM-like signals.
signal_handler
Manages system signals (e.g., SIGINT, SIGTERM) to ensure graceful application shutdown.
signal_handler_channels
Container for channels used by signal handler
update_thermal_set_values 🔒
Macro for updating set values for heating and ventilation
version_information
Provides access to the application’s version information from the build environment.
wait_for_termination
Trait for multiple threads which have to wait for termination signal