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
◆ BindingToken() [1/2]
Constructor.
- 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. |
◆ BindingToken() [2/2]
kanzi::BindingToken::BindingToken |
( |
| ) |
|
|
explicitdefault |
◆ ~BindingToken()
kanzi::BindingToken::~BindingToken |
( |
| ) |
|
|
inline |
◆ setHostAndBinding()
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. |
◆ removeBinding()
void kanzi::BindingToken::removeBinding |
( |
| ) |
|
|
inline |
Removes the stored runtime binding.
The documentation for this class was generated from the following file: