ScheduledSpawnPlanCommandDispatcher Class
Dispatcher that routes ScheduledSpawnPlanCommands to the appropriate handler. More...
Declaration
Base class
| class | TypedWorldCommandDispatcher<T> |
|
Type-safe dispatcher template for handling specific WorldCommand types. More... | |
Public Constructors Index
| ScheduledSpawnPlanCommandDispatcher ()=default | |
|
Default constructor. More... | |
Protected Member Functions Index
| void | dispatchTyped (helios::engine::runtime::world::GameWorld &gameWorld, const helios::engine::runtime::spawn::commands::ScheduledSpawnPlanCommand &command) noexcept override |
|
Dispatches a ScheduledSpawnPlanCommand to the registered handler. More... | |
Description
Dispatcher that routes ScheduledSpawnPlanCommands to the appropriate handler.
ScheduledSpawnPlanCommandDispatcher is a typed command dispatcher that handles ScheduledSpawnPlanCommand instances. When a command is dispatched, it submits the command directly to the pool's registered SpawnCommandHandler.
This dispatcher bridges the SpawnScheduler output (ScheduledSpawnPlan) with the SpawnManager's command processing pipeline.
- See Also
ScheduledSpawnPlanCommand
- See Also
SpawnScheduler
- See Also
Definition at line 31 of file ScheduledSpawnPlanCommandDispatcher.ixx.
Public Constructors
ScheduledSpawnPlanCommandDispatcher()
| default |
Default constructor.
Definition at line 62 of file ScheduledSpawnPlanCommandDispatcher.ixx.
Protected Member Functions
dispatchTyped()
| inline noexcept protected virtual |
Dispatches a ScheduledSpawnPlanCommand to the registered handler.
Looks up the SpawnCommandHandler for the command's profile ID and submits the command directly for deferred processing.
- Parameters
-
gameWorld The game world containing the pool.
command The ScheduledSpawnPlanCommand to dispatch.
Definition at line 45 of file ScheduledSpawnPlanCommandDispatcher.ixx.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.