EntropyCanvas::ExternalTransformRegistry
EntropyCanvas::ExternalTransformRegistry
Section titled “EntropyCanvas::ExternalTransformRegistry”Registry mapping entity IDs to their external transform sources. More…
#include <ExternalTransformSource.h>
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| ~ExternalTransformRegistry() =default | |
| void | unregisterSource(uint64_t entityId) Unregister an external source for an entity. |
| void | registerSource(uint64_t entityId, IExternalTransformSource * source) Register an external source for an entity. |
| ExternalTransformRegistry & | operator=(const ExternalTransformRegistry & ) =delete |
| bool | hasSource(uint64_t entityId) const Check if an entity has an external source registered. |
| IExternalTransformSource * | getSource(uint64_t entityId) const Get the external source for an entity. |
| void | clear() Clear all registered sources. |
| ExternalTransformRegistry() =default | |
| ExternalTransformRegistry(const ExternalTransformRegistry & ) =delete |
Detailed Description
Section titled “Detailed Description”class EntropyCanvas::ExternalTransformRegistry;Registry mapping entity IDs to their external transform sources.
Thread-safe for concurrent read access. Write operations should only happen from the main thread during setup/teardown.
Public Functions Documentation
Section titled “Public Functions Documentation”function ~ExternalTransformRegistry
Section titled “function ~ExternalTransformRegistry”~ExternalTransformRegistry() =defaultfunction unregisterSource
Section titled “function unregisterSource”void unregisterSource( uint64_t entityId)Unregister an external source for an entity.
Parameters:
- entityId The entity ID to unregister
function registerSource
Section titled “function registerSource”void registerSource( uint64_t entityId, IExternalTransformSource * source)Register an external source for an entity.
Parameters:
- entityId The entity ID
- source Pointer to the external source (must outlive registration)
The registry does NOT take ownership - caller must manage lifetime.
function operator=
Section titled “function operator=”ExternalTransformRegistry & operator=( const ExternalTransformRegistry &) =deletefunction hasSource
Section titled “function hasSource”bool hasSource( uint64_t entityId) constCheck if an entity has an external source registered.
function getSource
Section titled “function getSource”IExternalTransformSource * getSource( uint64_t entityId) constGet the external source for an entity.
Parameters:
- entityId The entity to query
Return: Pointer to the source, or nullptr if entity uses ECS authority
function clear
Section titled “function clear”void clear()Clear all registered sources.
function ExternalTransformRegistry
Section titled “function ExternalTransformRegistry”ExternalTransformRegistry() =defaultfunction ExternalTransformRegistry
Section titled “function ExternalTransformRegistry”ExternalTransformRegistry( const ExternalTransformRegistry &) =deleteUpdated on 2026-01-26 at 17:14:35 -0500