Patrick Schurig 5f49e4ca3c [3b-wip] EnergyArbitrator + RuleBasedScheduler + EvAdapter (dispatch amont, ETM_ARBITRATOR désactivé)
- EnergyArbitrator : public SmartChargingManager — raison documentée dans AGENTS.md §DÉCISIONS DE DESIGN
- SmartChargingManager : protected slots + virtual update() + 3 accesseurs inline [ETM]
- RuleBasedScheduler::getPlan() wraps planSurplusCharging/planSpotMarketCharging, annote chaque action d'un reason français
- EvAdapter : ILoadAdapter concret pour evcharger — applyAction() implémenté, NON appelé en 3b (dispatch via adjustEvChargers() amont, iso-fonctionnel)
- ETM_ARBITRATOR : commenté dans .pro — ne s'active qu'après preuve iso-fonctionnelle (3b-iv)
- Doxygen \brief + invariants + contrats sur toutes les classes/méthodes publiques etm/ (DoD §5)
- plan.h : timeSlots (pas slots, mot-clé Qt) ; commentaire JSON sérialisation "slots" OPTIMIZER_PROTOCOL §6
- .clangd : flags de repli Qt/nymea pour clangd via symlink ~/Schreibtisch/
- compile_commands.json gitignore (chemins absolus locaux)
- Build : 0 erreurs, 0 warnings — libnymea_energypluginnymea.so 914 KB

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-07 23:16:49 +02:00

21 lines
779 B
Plaintext

# Flags de repli pour les headers ouverts hors contexte compile_commands.json
# (notamment quand le repo est ouvert via le symlink ~/Schreibtisch/ alors que
# compile_commands.json contient les chemins réels ~/projects/).
# Ces flags s'appliquent en fallback ; les entrées compile_commands.json ont priorité.
CompileFlags:
Add:
- -std=c++17
- -Ienergyplugin
- -I/usr/include/nymea
- -I/usr/include/nymea-energy
- -I/usr/include/x86_64-linux-gnu/qt6
- -I/usr/include/x86_64-linux-gnu/qt6/QtCore
- -I/usr/include/x86_64-linux-gnu/qt6/QtGui
- -I/usr/include/x86_64-linux-gnu/qt6/QtNetwork
- -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++
- -DQT_CORE_LIB
- -DQT_NETWORK_LIB
- -DQT_GUI_LIB
- -DQT_PLUGIN
- -D_REENTRANT