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 |
The type of the unique ID that the ActivityBrowserController assigns to each Activity node. | |
Public Member Functions | |
virtual optional< ActivityID > | getActivityID (string_view path)=0 |
Returns the ID of an Activity node. | |
virtual void | registerRoot (NodeSharedPtr rootNode)=0 |
Registers an ActivityElement node as the root node in the Activity Browser. | |
virtual void | unregisterRoot (NodeSharedPtr rootNode)=0 |
Unregisters a registered ActivityElement node in the Activity Browser. | |
virtual void | updatePrefabPathProperty (ActivityID activityID, Node &sourceNode)=0 |
Updates the ActivityConcept::PrefabPathProperty of an Activity node in the Activity Browser. | |
virtual void | updateProperties (ActivityID activityID, Node &sourceNode)=0 |
Updates the properties of an Activity node in the Activity Browser. | |
virtual void | updateTreeDescriptionToCurrentActivityInfoRoot ()=0 |
Updates the information tree of the Activity Browser. | |
~ActivityBrowserController () override=default | |
Destructor. | |
Public Member Functions inherited from kanzi::PatchingNotificationHandler | |
virtual void | onPatchingFinished ()=0 |
The domain calls this function when patching ends. | |
virtual void | onPatchingStarted ()=0 |
The domain calls this function when patching starts. | |
void | setKzbFile (KzbFile *kzbFile) |
Sets the kzb patch file to apply. | |
virtual | ~PatchingNotificationHandler ()=default |
Destructor. | |
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. | |
static MessageType< NodeInfoTreeAvailableArguments > | NodeInfoTreeAvailableMessage |
The message that the ActivityBrowserController sends to an Activity node to connect to the editing data. | |
Additional Inherited Members | |
Protected Attributes inherited from kanzi::PatchingNotificationHandler | |
KzbFile * | m_kzbFile |
The kzb patch file to apply. | |
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.
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.
rootNode | The topmost ActivityElement node in the node hierarchy. |
|
pure virtual |
Unregisters a registered ActivityElement node in the Activity Browser.
rootNode | 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.