core Folder
Folders Index
| folder | buffer |
| folder | data |
| folder | spatial |
Files Index
| file | helios/core/_module.ixx |
|
Aggregate module for helios::core namespace. More... | |
| file | algorithms.ixx |
|
Core algorithms and hash functions for the helios engine. More... | |
| file | types.ixx |
|
Core type definitions and tag types for the helios engine. More... | |
Description
helios::core
Core-level utilities shared across the helios engine.
This module provides foundational infrastructure including double-buffering for thread-safe message passing, spatial transformations, type definitions, hash algorithms, and data structures used by higher-level subsystems.
Modules
algorithms
The helios.core.algorithms module provides core algorithms used throughout the engine.
FNV-1a Hash
A fast, compile-time capable hash function for generating identifiers from strings:
Note: FNV-1a is not a cryptographic hash. Do not use for security purposes.
types
The helios.core.types module provides core type definitions and tag types used throughout the engine.
Tag Types
| Type | Description |
|---|---|
| no_init_t | Tag type to skip default initialization |
| no_init | Convenience constant for uninitialized construction |
Uninitialized Construction
The no_init tag enables performance-critical code to skip default initialization when objects will be immediately overwritten:
Warning: Objects constructed with no_init are in an indeterminate state. Reading from them before assignment is undefined behavior.
Supporting no_init in Custom Types
The helios::util::Guid class demonstrates how to add no_init support:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.