Skip to content

EntropyEngine::Core::EntropyApplication

Inherits from EntropyEngine::Core::EntropyObject

Name
voidterminate(int code)
EntropyApplication &shared()
voidsetDelegate(EntropyAppDelegate * del)
EntropyServiceRegistry &services()
intrun()
voidnotifyPosixSignalFromHandler(int signum)
boolisRunning() const
voidhandlePosixSignal(int signum)
intexitCode() const
voidconfigure(const EntropyApplicationConfig & cfg)
virtual const char *className() const override
Runtime class name for diagnostics and reflection.

Protected Classes inherited from EntropyEngine::Core::EntropyObject

Name
structHandleCore
Optional handle identity stamped by an owner/registry.

Public Functions inherited from EntropyEngine::Core::EntropyObject

Name
virtual~EntropyObject() =default
virtual const TypeSystem::TypeInfo *typeInfo() const
Optional richer type information; may be null.
booltryRetain() const
Attempts to retain only if the object is still alive.
virtual std::stringtoString() const
Human-readable short string (class@ptr by default).
voidretain() const
Increments the reference count.
voidrelease() const
Decrements the reference count and deletes when it reaches zero.
uint32_trefCount() const
Current reference count (approximate under contention).
EntropyObject &operator=(const EntropyObject & ) =delete
EntropyObject &operator=(EntropyObject && ) =delete
boolhasHandle() const
template <class OwnerT >
OwnerT *
handleOwnerAs() const
Returns the stamped owner pointer cast to the requested type.
const void *handleOwner() const
uint32_thandleIndex() const
uint64_thandleId() const
uint32_thandleGeneration() const
WeakControlBlock *getWeakControlBlock() const
Lazily retrieves or creates the weak control block.
virtual std::stringdescription() const
Long-form description; defaults to toString().
virtual std::stringdebugString() const
Debug-oriented string including refcount and handle when present.
virtual uint64_tclassHash() const
Stable type hash for cross-language identification.
EntropyObject() =default
EntropyObject(EntropyObject && ) =delete
EntropyObject(const EntropyObject & ) =delete

Protected Functions inherited from EntropyEngine::Core::EntropyObject

Name
void_setHandleIdentity(void * owner, uint32_t index, uint32_t generation)
void_clearHandleIdentity()

Protected Attributes inherited from EntropyEngine::Core::EntropyObject

Name
std::atomic< WeakControlBlock * >_weakBlock
Lazily allocated control block for weak refs.
std::atomic< uint32_t >_refCount
Thread-safe retain/release counter.
struct EntropyEngine::Core::EntropyObject::HandleCore_handle

Friends inherited from EntropyEngine::Core::EntropyObject

Name
structHandleAccess
void terminate(
int code
)
static EntropyApplication & shared()
void setDelegate(
EntropyAppDelegate * del
)
inline EntropyServiceRegistry & services()
int run()
void notifyPosixSignalFromHandler(
int signum
)
inline bool isRunning() const
void handlePosixSignal(
int signum
)
inline int exitCode() const
void configure(
const EntropyApplicationConfig & cfg
)
inline virtual const char * className() const override

Runtime class name for diagnostics and reflection.

Reimplements: EntropyEngine::Core::EntropyObject::className


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