Skip to main content

DestroySessionSystem Class

System that marks the active session as destroyed. More...

Declaration​

class helios::engine::platform::lifecycle::systems::DestroySessionSystem { ... }

Public Member Typedefs Index​

usingEngineRoleTag = helios::engine::runtime::world::tags::TypedSystemRole

Engine role marker used by runtime system registries. More...

Public Member Functions Index​

voidupdate (helios::engine::runtime::world::UpdateContext &updateContext) noexcept

Destroys the active session in the current update context. More...

Description​

System that marks the active session as destroyed.

This system is typically executed during shutdown handling to stop further world processing in subsequent frames.

Definition at line 24 of file DestroySessionSystem.ixx.

Public Member Typedefs​

EngineRoleTag​

using helios::engine::platform::lifecycle::systems::DestroySessionSystem::EngineRoleTag = helios::engine::runtime::world::tags::TypedSystemRole

Engine role marker used by runtime system registries.

Definition at line 31 of file DestroySessionSystem.ixx.

Public Member Functions​

update()​

void helios::engine::platform::lifecycle::systems::DestroySessionSystem::update (helios::engine::runtime::world::UpdateContext & updateContext)
inline noexcept

Destroys the active session in the current update context.

Parameters
updateContext

Frame-local update context.

Definition at line 38 of file DestroySessionSystem.ixx.

39 updateContext.session().destroy();
40 }

Reference helios::registerComponents.


The documentation for this class was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.