Skip to content

[Engine] EngineRuntime 최소 오케스트레이터 구현#90

Merged
learncold merged 2 commits into
mainfrom
feat/issue-12
Apr 7, 2026
Merged

[Engine] EngineRuntime 최소 오케스트레이터 구현#90
learncold merged 2 commits into
mainfrom
feat/issue-12

Conversation

@SilverSupplier
Copy link
Copy Markdown
Collaborator

Summary

  • EngineWorld 확장: WorldQueryWorldCommandsquery() / commands()로 노출, EcsCoreCommandBuffer 참조 보유
  • EngineRuntime 확장: EcsCoreCommandBuffer 소유, addSystem(std::unique_ptr<EngineSystem>) 등록 API 추가
  • initialize(): 등록된 시스템의 configure(world) 순차 호출
  • stepFrame(): EngineStepContext 구성 → 등록된 시스템 update(world, ctx) 순차 실행 → 매 고정 스텝 후 CommandBuffer::flush(core) 적용
  • EngineRuntimeTests 추가: 시스템 update() 호출 횟수 검증, WorldCommands enqueue 후 flush 반영 검증 (2개)

Related Issue

Area

  • Engine
  • Domain
  • Application
  • Docs
  • Build
  • Analysis
  • Chore

Architecture Check

  • I kept the dependency direction application -> domain -> engine.
  • I did not add Qt UI code to src/domain.
  • I did not add domain or application dependencies to src/engine.
  • I used src/ as the include root.

Verification

  • cmake --preset windows-debug-no-app
  • cmake --build --preset build-no-app-debug
  • ctest --preset test-no-app-debug

windows-debug-no-app / build-no-app-debug / test-no-app-debug preset 기준 실행 — configure, build, test(1/1) 모두 통과.

Risks / Follow-up

- EngineWorld에 WorldQuery/WorldCommands 노출 추가
- EngineRuntime에 EcsCore, CommandBuffer, systems_ 소유권 추가
- addSystem, initialize, stepFrame 고정 스텝 루프 및 CommandBuffer flush 구현
- EngineRuntimeTests: 시스템 update 호출 및 CommandBuffer flush 검증 테스트 추가
@learncold learncold merged commit fe5824b into main Apr 7, 2026
2 checks passed
@learncold learncold deleted the feat/issue-12 branch April 7, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Task-Implement EngineRuntime minimal orchestration API

2 participants