Helper class that manages the lifetime of the runtime binding owned by a Node or a RenderPass, by removing the owned binding on the destruction of that Node or the RenderPass.
More...
#include <kanzi/ui/node/concept/activity/binding_token.hpp>
Helper class that manages the lifetime of the runtime binding owned by a Node or a RenderPass, by removing the owned binding on the destruction of that Node or the RenderPass.
- Since
- Kanzi 3.9.0
Constructor.
- Parameters
-
host | The Node or the RenderPass that owns the runtime binding. |
binding | The runtime binding handler that this function removes on destruction of the Node or the RenderPass, that owns the runtime binding. |
- Since
- Kanzi 3.9.7 changed AbstractBindingRuntimeSharedPtr to BindingRuntimeHandle.
kanzi::BindingToken::BindingToken |
( |
| ) |
|
|
explicitdefault |
kanzi::BindingToken::~BindingToken |
( |
| ) |
|
|
inline |
Sets the runtime binding.
- Parameters
-
host | The Node or the RenderPass that owns the runtime binding. |
binding | The runtime binding that this function removes on destruction of the Node or the RenderPass, that owns the runtime binding. |
- Since
- Kanzi 3.9.7 changed AbstractBindingRuntimeSharedPtr to BindingRuntimeHandle.
void kanzi::BindingToken::removeBinding |
( |
| ) |
|
|
inline |
Removes the stored runtime binding.
The documentation for this class was generated from the following file: