ActivityBrowserController is an interface class for implementing runtime data exchange between the Kanzi Studio Preview and the ActivityBrowser Kanzi Studio plugin. More...
#include <kanzi/ui/node/concept/activity/activity_browser_controller.hpp>
Classes | |
class | ForceTriggerMessageArguments |
Message arguments for the ForceTriggerMessage. More... | |
class | NodeInfoTreeAvailableArguments |
Message arguments for the NodeInfoTreeAvailableMessage. More... | |
Public Types | |
using | ActivityID = uint32_t |
The type of the unique ID that the ActivityBrowserController assigns to each Activity node. More... | |
Public Member Functions | |
virtual optional< ActivityID > | getActivityID (string_view path)=0 |
Returns the ID of an Activity node. More... | |
virtual void | registerRoot (NodeSharedPtr rootElement)=0 |
Registers an ActivityElement node as the root node in the Activity Browser. More... | |
virtual void | unregisterRoot (NodeSharedPtr rootElement)=0 |
Unregisters a registered ActivityElement node in the Activity Browser. More... | |
virtual void | updatePrefabPathProperty (ActivityID activityID, Node &sourceNode)=0 |
Updates the ActivityConcept::PrefabPathProperty of an Activity node in the Activity Browser. More... | |
virtual void | updateProperties (ActivityID activityID, Node &sourceNode)=0 |
Updates the properties of an Activity node in the Activity Browser. More... | |
virtual void | updateTreeDescriptionToCurrentActivityInfoRoot ()=0 |
Updates the information tree of the Activity Browser. More... | |
~ActivityBrowserController () override=default | |
Destructor. More... | |
Public Member Functions inherited from kanzi::PatchingNotificationHandler | |
virtual void | onPatchingFinished ()=0 |
The domain calls this function when patching ends. More... | |
virtual void | onPatchingStarted ()=0 |
The domain calls this function when patching starts. More... | |
virtual | ~PatchingNotificationHandler () |
Destructor. More... | |
Static Public Member Functions | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Static Public Attributes | |
static MessageType< ForceTriggerMessageArguments > | ForceTriggerMessage |
The message that the ActivityBrowserController sends to an Activity node to execute a trigger. More... | |
static MessageType< NodeInfoTreeAvailableArguments > | NodeInfoTreeAvailableMessage |
The message that the ActivityBrowserController sends to an Activity node to connect to the editing data. More... | |
ActivityBrowserController is an interface class for implementing runtime data exchange between the Kanzi Studio Preview and the ActivityBrowser Kanzi Studio plugin.
This class provides the methods, messages, and properties that Activity nodes and Activity Host nodes use to communicate with the ActivityBrowser plugin.
using kanzi::ActivityBrowserController::ActivityID = uint32_t |
The type of the unique ID that the ActivityBrowserController assigns to each Activity node.
|
overridedefault |
Destructor.
|
static |
|
pure virtual |
Returns the ID of an Activity node.
path | The path to the Activity node. |
|
pure virtual |
Registers an ActivityElement node as the root node in the Activity Browser.
rootElement | The topmost ActivityElement node in the node hierarchy. |
|
pure virtual |
Unregisters a registered ActivityElement node in the Activity Browser.
rootElement | The topmost ActivityElement node in the node hierarchy that is going to be unregistered. |
|
pure virtual |
Updates the information tree of the Activity Browser.
|
pure virtual |
Updates the properties of an Activity node in the Activity Browser.
activityID | The ID of the Activity node to update. |
sourceNode | The Activity node to update. |
|
pure virtual |
Updates the ActivityConcept::PrefabPathProperty of an Activity node in the Activity Browser.
activityID | The ID of the Activity node to update. |
sourceNode | The Activity node to update. |
|
static |
The message that the ActivityBrowserController sends to an Activity node to execute a trigger.
|
static |
The message that the ActivityBrowserController sends to an Activity node to connect to the editing data.