EntropyEngine::Core
EntropyEngine::Core
Section titled “EntropyEngine::Core”Namespaces
Section titled “Namespaces”| Name |
|---|
| EntropyEngine::Core::TypeSystem |
| EntropyEngine::Core::Logging |
| EntropyEngine::Core::IO |
| EntropyEngine::Core::Graph |
| EntropyEngine::Core::Debug |
| EntropyEngine::Core::Concurrency |
Classes
Section titled “Classes”| Name | |
|---|---|
| struct | EntropyEngine::Core::retain_t |
| struct | EntropyEngine::Core::adopt_t |
| class | EntropyEngine::Core::WeakRef Non-owning weak reference to an EntropyObject with generation validation. |
| struct | EntropyEngine::Core::WeakControlBlock Control block for handling safe weak references to EntropyObjects. |
| class | EntropyEngine::Core::TimerService Service for managing timers with WorkGraph backing. |
| class | EntropyEngine::Core::Timer A scheduled task that executes after a delay, optionally repeating. |
| class | EntropyEngine::Core::SlotPool Slot-based pool with generation-based handle validation. |
| struct | EntropyEngine::Core::SlotGeneration Generation counter component for slot-based pools. |
| struct | EntropyEngine::Core::RefPtrHash |
| struct | EntropyEngine::Core::RefPtrEq |
| class | EntropyEngine::Core::RefObject |
| struct | EntropyEngine::Core::HandleSlotOps Operations for stamping, validating, and releasing handles in slot-based pools. |
| struct | EntropyEngine::Core::HandleAccess Helper allowing owners to stamp/clear identity without friending each derived type. |
| class | EntropyEngine::Core::EventBus Type-safe publish-subscribe event system for decoupled communication. |
| class | EntropyEngine::Core::EntropyServiceRegistry Registry and lifecycle orchestrator for EntropyService instances. |
| class | EntropyEngine::Core::EntropyService Base interface for pluggable services within Entropy. |
| struct | EntropyEngine::Core::EntropyObjectMemoryHooks Memory profiling callbacks for EntropyObject lifecycle tracking. |
| class | EntropyEngine::Core::EntropyObject Ref-counted base with optional handle stamping and basic introspection. |
| struct | EntropyEngine::Core::EntropyDeleter |
| struct | EntropyEngine::Core::EntropyApplicationConfig |
| class | EntropyEngine::Core::EntropyApplication |
| class | EntropyEngine::Core::EntropyAppDelegate |
| Name | |
|---|---|
| enum class | ServiceState { Unloaded, Stopped, Started, Registered, Loaded} Lifecycle states for an EntropyService instance. |
Functions
Section titled “Functions”| Name | |
|---|---|
| template <typename T > std::shared_ptr< T > | wrapInSharedPtr(T * ptr) |
| template <typename T > std::shared_ptr< T > | toSharedPtr(const RefObject< T > & ref) |
| std::optional< std::string > | safeGetEnv(const char * name) |
| template <class To ,class From > RefObject< To > | ref_static_cast(const RefObject< From > & r) |
| template <class To ,class From > RefObject< To > | ref_dynamic_cast(const RefObject< From > & r) |
| template <typename T ,typename… Args> RefObject< T > | makeRef(Args &&… args) |
| template <typename T > RefObject< T > | fromSharedPtr(const std::shared_ptr< T > & sp) Converts a shared_ptr to a RefObject. |
Attributes
Section titled “Attributes”| Name | |
|---|---|
| retain_t | retain |
| adopt_t | adopt |
| uint32_t | INVALID_SLOT_INDEX Sentinel value for invalid slot indices. |
Types Documentation
Section titled “Types Documentation”enum ServiceState
Section titled “enum ServiceState”| Enumerator | Value | Description |
|---|---|---|
| Unloaded | ||
| Stopped | ||
| Started | ||
| Registered | ||
| Loaded |
Lifecycle states for an EntropyService instance.
Functions Documentation
Section titled “Functions Documentation”function wrapInSharedPtr
Section titled “function wrapInSharedPtr”template <typename T >std::shared_ptr< T > wrapInSharedPtr( T * ptr)function toSharedPtr
Section titled “function toSharedPtr”template <typename T >std::shared_ptr< T > toSharedPtr( const RefObject< T > & ref)function safeGetEnv
Section titled “function safeGetEnv”inline std::optional< std::string > safeGetEnv( const char * name)function ref_static_cast
Section titled “function ref_static_cast”template <class To ,class From >RefObject< To > ref_static_cast( const RefObject< From > & r)function ref_dynamic_cast
Section titled “function ref_dynamic_cast”template <class To ,class From >RefObject< To > ref_dynamic_cast( const RefObject< From > & r)function makeRef
Section titled “function makeRef”template <typename T ,typename... Args>RefObject< T > makeRef( Args &&... args)function fromSharedPtr
Section titled “function fromSharedPtr”template <typename T >RefObject< T > fromSharedPtr( const std::shared_ptr< T > & sp)Converts a shared_ptr to a RefObject.
Parameters:
- sp Shared pointer to convert
Return: RefObject wrapping the same pointer with an additional retain
Creates a RefObject from a shared_ptr, retaining the object. Useful for bridging code that uses shared_ptr to the RefObject model.
Attributes Documentation
Section titled “Attributes Documentation”variable retain
Section titled “variable retain”retain_t retain {};variable adopt
Section titled “variable adopt”adopt_t adopt {};variable INVALID_SLOT_INDEX
Section titled “variable INVALID_SLOT_INDEX”uint32_t INVALID_SLOT_INDEX = ~0u;Sentinel value for invalid slot indices.
Use this constant across all pools for consistency.
Updated on 2026-01-26 at 17:14:35 -0500