app/backend_factory.h¶
choose the IBoardBackend for a GameSession.
The GUI and CLI both need to decide, at startup, whether to drive real hardware (HardwareBackend over the gantry + hall sensors) or run off-Pi in simulation (SimBackend). That decision is capability + environment driven and is deliberately kept here — Qt-free and unit-testable — rather than inside the Qt SessionBridge. See docs/gui-docs/PLAN.md §3.3 (Phase 5).
-
namespace kirin
-
struct BackendSelection¶
- #include <backend_factory.h>
-
struct BackendSelection¶