EntropyEngine::Core::EntropyApplication
EntropyEngine::Core::EntropyApplication
Section titled “EntropyEngine::Core::EntropyApplication”Inherits from EntropyEngine::Core::EntropyObject
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| void | terminate(int code) |
| EntropyApplication & | shared() |
| void | setDelegate(EntropyAppDelegate * del) |
| EntropyServiceRegistry & | services() |
| int | run() |
| void | notifyPosixSignalFromHandler(int signum) |
| bool | isRunning() const |
| void | handlePosixSignal(int signum) |
| int | exitCode() const |
| void | configure(const EntropyApplicationConfig & cfg) |
| virtual const char * | className() const override Runtime class name for diagnostics and reflection. |
Additional inherited members
Section titled “Additional inherited members”Protected Classes inherited from EntropyEngine::Core::EntropyObject
| Name | |
|---|---|
| struct | HandleCore 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. |
| bool | tryRetain() const Attempts to retain only if the object is still alive. |
| virtual std::string | toString() const Human-readable short string (class@ptr by default). |
| void | retain() const Increments the reference count. |
| void | release() const Decrements the reference count and deletes when it reaches zero. |
| uint32_t | refCount() const Current reference count (approximate under contention). |
| EntropyObject & | operator=(const EntropyObject & ) =delete |
| EntropyObject & | operator=(EntropyObject && ) =delete |
| bool | hasHandle() const |
| template <class OwnerT > OwnerT * | handleOwnerAs() const Returns the stamped owner pointer cast to the requested type. |
| const void * | handleOwner() const |
| uint32_t | handleIndex() const |
| uint64_t | handleId() const |
| uint32_t | handleGeneration() const |
| WeakControlBlock * | getWeakControlBlock() const Lazily retrieves or creates the weak control block. |
| virtual std::string | description() const Long-form description; defaults to toString(). |
| virtual std::string | debugString() const Debug-oriented string including refcount and handle when present. |
| virtual uint64_t | classHash() 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 | |
|---|---|
| struct | HandleAccess |
Public Functions Documentation
Section titled “Public Functions Documentation”function terminate
Section titled “function terminate”void terminate( int code)function shared
Section titled “function shared”static EntropyApplication & shared()function setDelegate
Section titled “function setDelegate”void setDelegate( EntropyAppDelegate * del)function services
Section titled “function services”inline EntropyServiceRegistry & services()function run
Section titled “function run”int run()function notifyPosixSignalFromHandler
Section titled “function notifyPosixSignalFromHandler”void notifyPosixSignalFromHandler( int signum)function isRunning
Section titled “function isRunning”inline bool isRunning() constfunction handlePosixSignal
Section titled “function handlePosixSignal”void handlePosixSignal( int signum)function exitCode
Section titled “function exitCode”inline int exitCode() constfunction configure
Section titled “function configure”void configure( const EntropyApplicationConfig & cfg)function className
Section titled “function className”inline virtual const char * className() const overrideRuntime class name for diagnostics and reflection.
Reimplements: EntropyEngine::Core::EntropyObject::className
Updated on 2026-01-26 at 17:14:35 -0500