#include <kanzi/core.ui/node/content_reference.hpp>
|
bool | m_attached |
| Current resource reference state. Note that attach() is only called once. More...
|
|
template<typename TResourceType >
template<typename TResourceType >
template<typename TResourceType >
template<typename TResourceType >
template<typename TResourceType >
template<typename TResourceType >
template<typename TResourceType >
Sets the resource-ID of the content reference.
If the current reference is attached, acquires the resource.
template<typename TResourceType >
Gets the resource ID the content reference is tracking.
- Returns
- Resource ID being tracked.
template<typename TResourceType >
Attaches the content reference.
Acquires the resource referenced by the resource ID.
Note: The attach() is only called once.
Implements kanzi::AbstractResourceReference.
template<typename TResourceType >
This method is called when the resource referenced by the existing resource-ID is changed.
Acquires the new resource and executes the callback only if the the new resource is not the same as before.
Note: This method is only called on attached resource references.
Implements kanzi::AbstractResourceReference.
template<typename TResourceType >
template<typename TResourceType >
template<typename TResourceType >
Clone reference to be an internal copy.
Default implementation clones nothing, and returns an empty shared pointer.
template<typename TResourceType >
Access user resource.
- Returns
- User resource shared pointer.
template<typename TResourceType >
template<typename TResourceType >
Set user resource.
- Parameters
-
userResource | New user resource. |
template<typename TResourceType >
template<typename TResourceType >
template<typename TResourceType >
template<typename TResourceType >
template<typename TResourceType >
template<typename TResourceType >
template<typename TResourceType >
template<typename TResourceType >
template<typename TResourceType >
template<typename TResourceType >
The documentation for this class was generated from the following file: