Handler for binding runtimes.
More...
#include <kanzi/core.ui/binding/binding_runtime_handle.hpp>
Handler for binding runtimes.
This handler contains a weak pointer m_binding that does not take an ownership of the binding runtime or prevent the destruction of the binding.
- See also
- BindingHostConceptImpl
- Since
- Kanzi 3.9.7
kanzi::BindingRuntimeHandle::BindingRuntimeHandle |
( |
| ) |
|
|
explicitdefault |
Constructor.
- Parameters
-
binding | The created binding runtime. |
Accesses binding runtime functions.
- Returns
- Pointer to binding runtime.
kanzi::BindingRuntimeHandle::operator bool |
( |
| ) |
const |
|
inline |
Returns whether the binding runtime is still valid.
- Returns
- Whether the binding runtime is still valid.
Gets the shared pointer of a runtime binding.
- Returns
- Shared pointer from the weak pointer.
void kanzi::BindingRuntimeHandle::reset |
( |
| ) |
|
|
inline |
Resets the binding runtime.
long kanzi::BindingRuntimeHandle::use_count |
( |
| ) |
const |
|
inline |
- Returns
- Number of shared pointers pointing to binding.
Weak reference to the binding runtime.
The documentation for this class was generated from the following file: