Skip to content

EntropyEngine::Core::HandleAccess

Helper allowing owners to stamp/clear identity without friending each derived type. More…

#include <EntropyObject.h>

Name
voidset(EntropyObject & o, void * owner, uint32_t index, uint32_t generation)
voidclear(EntropyObject & o)
struct EntropyEngine::Core::HandleAccess;

Helper allowing owners to stamp/clear identity without friending each derived type.

Usage: HandleAccess::set(obj, owner, index, generation) when allocating; and HandleAccess::clear(obj) before releasing/bumping generation.

static inline void set(
EntropyObject & o,
void * owner,
uint32_t index,
uint32_t generation
)
static inline void clear(
EntropyObject & o
)

Updated on 2026-01-26 at 17:14:35 -0500