dispatcher Folder
Files Index
| file | helios/engine/runtime/spawn/dispatcher/_module.ixx |
|
Aggregate module for helios::engine::runtime::spawn::dispatcher namespace. More... | |
| file | DespawnCommandDispatcher.ixx |
|
Dispatcher for routing DespawnCommands to the SpawnManager. More... | |
| file | ScheduledSpawnPlanCommandDispatcher.ixx |
|
Dispatcher for routing ScheduledSpawnPlanCommands to the SpawnManager. More... | |
| file | SpawnCommandDispatcher.ixx |
|
Dispatcher for routing SpawnCommands to the SpawnManager. More... | |
Description
helios::engine::runtime::spawn::dispatcher
Command dispatchers for spawn operations.
Overview
This module contains dispatchers that route spawn and despawn commands to the appropriate managers for processing. Dispatchers implement the visitor pattern, allowing the CommandBuffer to route commands without knowing their concrete types.
Key Classes
| Dispatcher | Handles | Purpose |
|---|---|---|
| SpawnCommandDispatcher | SpawnCommand | Routes spawn commands to SpawnManager |
| DespawnCommandDispatcher | DespawnCommand | Routes despawn commands to SpawnManager |
| ScheduledSpawnPlanCommandDispatcher | ScheduledSpawnPlanCommand | Routes scheduled plans to SpawnManager |
Architecture
Dispatchers are registered with the CommandBuffer during game initialization:
Usage
Commands are added to the buffer by systems and automatically routed during flush:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.