porterskyandQwen 3.8 27B a65e84e796 feat(cmat): pass hints to Ex42 observers
Extend the Ex42 observer pattern with Hint objects so each
observer receives the reason for the update instead of
querying the subject:

- Subject::notify() and Observer::update() now take a
  const Hint& argument.
- Add LightHint and WaitHint carrying the traffic light
  state and WAIT button state, defined in Pelican.h.
- Pole dispatches on hint type using dynamic_cast.
- The Pole constructor sets its initial lights directly
  from the Pelican's current state, since no notification
  is sent at startup. Stopgap until the initial update
  is handled properly.

Co-authored-by: Qwen 3.8 27B <qwen3.8_27b-q3_k_xl@lmstudio.local>
2026-10-07 11:31:16 +02:00
2026-10-05 11:27:21 +02:00
2026-10-05 11:58:42 +02:00
2026-10-04 23:02:22 +02:00
2026-10-05 11:27:21 +02:00
2026-10-04 22:48:25 +02:00
2026-10-04 22:48:25 +02:00

cppcourse

Course material for a C++ course: lecture notes, exercises, and runnable code examples in modern C++ (C++23), built and run on Linux.

The repository is in a startup phase; content will be added as the course develops. Coding conventions and agent instructions live in AGENTS.md.

S
Description
No description provided
Readme
6 MiB
Languages
C++ 91.2%
HTML 6.5%
CMake 2%
Makefile 0.3%