.. include:: 2025-11-17 (3 Exc G1,G2): Project Stuff ======================================= Tasks ----- `Task list `__ Grading ``````` * DingsbumsSPS: state machine Random Code Review ------------------ * https://github.com/jfasch/FH-STECE2023/blob/main/src/door/small_file_handling.cpp file descriptor leak * https://github.com/jfasch/FH-STECE2023/blob/main/src/door/output-switch-gpio-sysfs.cpp * ``ifstream`` too bloated for existence check. ``open()``? ``access()``? ``stat()``? (Same with ``InputSwitchGPIOSysfs``) * Optimize ``OutputSwitchGPIOSysfs::set_state()`` Today ----- * Test programs aren't unit tests * Knepferldrucker: cleanup libgpiod * motor led tests todo * motor-stepper auskommentiert * plan: tests/ motor led tests umnieten auf nicht-unit-test. cmdline switch --type={led,stepper} (oder so) * input-output-switch-gpio-sysfs-tests.cpp -> kein unit test Tomorrow -------- * Present ``AnalogSensor`` hierarchy * State machine * ``const`` members, and initializer lists * Exceptions and file descriptor leaks