EntropyCanvas::AssetOpState< void >
EntropyCanvas::AssetOpState< void >
Section titled “EntropyCanvas::AssetOpState< void >”Void specialization for operations with no result data. More…
#include <AssetOperationHandle.h>
Inherits from EntropyEngine::Core::EntropyObject, EntropyEngine::Core::EntropyObject
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| [~AssetOpState](/api/EntropyCanvas/AssetOpState< void >/#function-~assetopstate)() override =default | |
| void | [fail](/api/EntropyCanvas/AssetOpState< void >/#function-fail)(AssetOpError code, std::string msg) |
| void | [complete](/api/EntropyCanvas/AssetOpState< void >/#function-complete)(AssetOpStatus final) |
| virtual const char * | [className](/api/EntropyCanvas/AssetOpState< void >/#function-classname)() const override Runtime class name for diagnostics and reflection. |
| [AssetOpState](/api/EntropyCanvas/AssetOpState< void >/#function-assetopstate)() =default |
Public Attributes
Section titled “Public Attributes”| Name | |
|---|---|
| std::atomic< uint64_t > | [totalBytes](/api/EntropyCanvas/AssetOpState< void >/#variable-totalbytes) |
| std::atomic< AssetOpStatus > | [status](/api/EntropyCanvas/AssetOpState< void >/#variable-status) |
| std::optional< void > | [result](/api/EntropyCanvas/AssetOpState< void >/#variable-result) |
| uint64_t | [requestId](/api/EntropyCanvas/AssetOpState< void >/#variable-requestid) |
| std::atomic< bool > | [isComplete](/api/EntropyCanvas/AssetOpState< void >/#variable-iscomplete) |
| AssetOpErrorInfo | [error](/api/EntropyCanvas/AssetOpState< void >/#variable-error) |
| std::mutex | [completionMutex](/api/EntropyCanvas/AssetOpState< void >/#variable-completionmutex) |
| std::condition_variable | [completionCV](/api/EntropyCanvas/AssetOpState< void >/#variable-completioncv) |
| std::atomic< uint64_t > | [bytesTransferred](/api/EntropyCanvas/AssetOpState< void >/#variable-bytestransferred) |
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 |
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 |
Detailed Description
Section titled “Detailed Description”class EntropyCanvas::AssetOpState< void >;Void specialization for operations with no result data.
Used for advertise, withdraw, and provideKey operations.
Public Functions Documentation
Section titled “Public Functions Documentation”function ~AssetOpState
Section titled “function ~AssetOpState”~AssetOpState() override =defaultfunction fail
Section titled “function fail”inline void fail( AssetOpError code, std::string msg)function complete
Section titled “function complete”inline void complete( AssetOpStatus final)function className
Section titled “function className”inline virtual const char * className() const overrideRuntime class name for diagnostics and reflection.
Reimplements: EntropyEngine::Core::EntropyObject::className
function AssetOpState
Section titled “function AssetOpState”AssetOpState() =defaultPublic Attributes Documentation
Section titled “Public Attributes Documentation”variable totalBytes
Section titled “variable totalBytes”std::atomic< uint64_t > totalBytes;variable status
Section titled “variable status”std::atomic< AssetOpStatus > status {AssetOpStatus::Pending};variable result
Section titled “variable result”std::optional< void > result;variable requestId
Section titled “variable requestId”uint64_t requestId = 0;variable isComplete
Section titled “variable isComplete”std::atomic< bool > isComplete {false};variable error
Section titled “variable error”AssetOpErrorInfo error;variable completionMutex
Section titled “variable completionMutex”std::mutex completionMutex;variable completionCV
Section titled “variable completionCV”std::condition_variable completionCV;variable bytesTransferred
Section titled “variable bytesTransferred”std::atomic< uint64_t > bytesTransferred;Updated on 2026-01-26 at 17:14:35 -0500