|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
Weak scalar property observation; assignment publishes a value without rebinding the descriptor. More...
#include <ui_value_model.hpp>
Public Member Functions | |
| ModelValue (const ModelValue &other)=default | |
| std::expected< std::shared_ptr< const PropertyChange< T > >, ManagedError > | snapshot () const |
| std::expected< PropertyUpdate< T >, ManagedError > | set (const T &value) const |
| ModelValue | operator= (const T &value) |
| ModelValue | operator= (const ModelValue &source) |
| std::expected< PropertyUpdate< T >, ManagedError > | result () const |
Friends | |
| class | Model< T > |
| struct | detail::ValueModelAccess |
Weak scalar property observation; assignment publishes a value without rebinding the descriptor.
| T | Owning equality-comparable scalar value; instantiated only for the scalar capability. Checked operations never collect errors. Assignment reports an exact failure through the existing scene collector and returns its immutable operation receipt. Postcommit notification rejection remains a successful PropertyUpdate with notification_error; the committed value is not rolled back. |
|
default |
| other | Observation copied without reading or publishing values. |
|
inline |
| source | Source read once before assignment; no lasting binding or descriptor is copied. |
|
inline |
| value | Replacement copied through checked set; errors also reach the existing collector. |
|
inline |
|
inline |
| value | Candidate copied by the existing Property transaction after validation. |
|
inline |