Implementation of common functionality of ExclusiveActivityHost and DataDrivenExclusiveActivityHost classes.
More...
|
void | activate (const ActivityHostConcept::ActivityInfo &activity) |
| Requests the ExclusiveActivityHost to activate an Activity node.
|
|
void | activate (const ActivityHostConcept::ActivityInfo &activity, string_view activationPath) |
| Requests the ExclusiveActivityHost to activate an Activity node, and to forward the activation path to activate the children of the Activity node, if the Activity node is already active or activating.
|
|
void | deactivate () |
| Requests the ExclusiveActivityHost to deactivate the currently active Activity node.
|
|
| ExclusiveActivityHostBaseImpl (Domain *domain, string_view name) |
| Constructor.
|
|
vector< string > | getActivatingNames () override |
| ActivityHostConcept::getActivatingNames implementation.
|
|
string | getActiveOrActivatingName () const |
| Gets the currently active or activating Activity node.
|
|
vector< NodeWeakPtr > | getActiveOrAttachedActivating () override |
| ActivityHostConceptImpl::getActiveOrAttachedActivating implementation.
|
|
const vector< ExclusiveActivityHostConcept::ActivityInExclusiveHostInfo > & | getActivitiesInfo () const override |
| ExclusiveActivityHostConcept::getActivitiesInfo implementation.
|
|
optional< ActivityHostConcept::ActivityInfo > | getActivityInfo (string_view name) const override |
| ActivityHostConceptImpl::getActivityInfo implementation.
|
|
vector< NodeWeakPtr > | getAttachedActivityNodes () override |
| ActivityHostConceptImpl::getAttachedActivityNodes implementation.
|
|
const Node * | getNode () const override |
| ExclusiveActivityHostConcept::getNode implementation.
|
|
Node * | getNode () override |
| ExclusiveActivityHostConcept::getNode implementation.
|
|
void | initialize () |
| Initializes this exclusive activity host.
|
|
template<typename Iterator > |
string | nextToActivate (Iterator iterBegin, Iterator iterEnd, string_view current, bool looping) const |
| Calculates which Activity node is going to be activated if the current active Activity node deactivates.
|
|
void | onActivateActivityOverride (string_view activationPath, bool resetHistory) override |
| ActivityHostConcept::onActivateActivityOverride implementation.
|
|
void | onActivityActivated (NodeSharedPtr activity, string_view prefabPath) override |
| ExclusiveActivityHostConcept::onActivityActivated implementation.
|
|
void | onActivityDeactivated (NodeSharedPtr activity) override |
| ExclusiveActivityHostConcept::onActivityDeactivated implementation.
|
|
void | onAttachedOverride () override |
| ActivityElement::onAttachedOverride implementation.
|
|
void | onDetached () override |
| Node::onDetached implementation.
|
|
void | onNodePropertyChanged (AbstractPropertyType propertyType, PropertyNotificationReason reason) override |
| Node::onNodePropertyChanged implementation.
|
|
void | resolveFocusWithPolicy (Node &activityNode) override |
| ActivityHostConcept::resolveFocusWithPolicy implementation.
|
|
virtual | ~ExclusiveActivityHostBaseImpl ()=default |
| Destructor.
|
|
| ActivityHostConceptImpl (Domain *domain, string_view name) |
| Constructor.
|
|
void | clearCurrentActivationTarget () const |
| Clears current activation target.
|
|
void | initialize () |
| Initializes this Activity Host Concept.
|
|
void | registerInParentActivityElement () final |
| ActivityElement::registerInParentActivityElement implementation.
|
|
void | resolveFocusOnActivated (Node &activityNode) |
| Performs the necessary operations to fix the application focus when an Activity has activated in this Activity Host.
|
|
void | unregisterInParentActivityElement () final |
| ActivityElement::unregisterInParentActivityElement implementation.
|
|
virtual | ~ActivityHostConceptImpl ()=default |
| Destructor.
|
|
| ActivityElementImpl (Domain *domain, string_view name) |
| Constructor.
|
|
void | initialize () |
| Initializes the activity element.
|
|
void | onAttached () override |
| Node::onAttached implementation.
|
|
void | onDetached () override |
| Node::onDetached implementation.
|
|
void | onNodePropertyChanged (AbstractPropertyType propertyType, PropertyNotificationReason reason) override |
| Node::onNodePropertyChanged implementation.
|
|
| ~ActivityElementImpl () override=default |
| Destructor.
|
|
optional< ActivityBrowserController::ActivityID > | getActivityID () const |
| Gets the unique ID that is used by the implementation of the Activity Browser.
|
|
string | getPathInParent () |
| Gets the activation path of this activity element relative to its parent.
|
|
void | initialize () |
| Initializes the activity element.
|
|
bool | isRootActivityElement () const |
| Returns whether an ActivityElement is the root Activity Host node of the Screen node.
|
|
void | onForceTrigger (const ActivityBrowserController::ForceTriggerMessageArguments &args) |
| Message handler for ActivityBrowserController::ForceTriggerMessage.
|
|
void | onNodeInfoTreeAvailable (const ActivityBrowserController::NodeInfoTreeAvailableArguments &) |
| Message handler for ActivityBrowserController::NodeInfoTreeAvailableMessage.
|
|
void | registerChildHost (string_view hostPath) |
| Registers a child host in this activity element.
|
|
void | setActivityID (optional< ActivityBrowserController::ActivityID > activityID) |
| Sets the unique ID that is used by the implementation of the Activity Browser.
|
|
void | unregisterChildHost (string_view hostName) |
| Unregisters a child host from this activity element.
|
|
void | updateActivityBrowserProperties () |
| Triggers the Activity Browser to update the properties of the Activity Element.
|
|
virtual void | onNavigateNextMessage (const ExclusiveActivityHostConcept::ImplicitActivityChangeRequestMessageArguments &args)=0 |
| Message handler for ExclusiveActivityHostConcept::NavigateNextMessage.
|
|
virtual void | onNavigatePreviousMessage (const ExclusiveActivityHostConcept::ImplicitActivityChangeRequestMessageArguments &args)=0 |
| Message handler for ExclusiveActivityHostConcept::NavigatePreviousMessage.
|
|
Implementation of common functionality of ExclusiveActivityHost and DataDrivenExclusiveActivityHost classes.
This is a helper class for the Exclusive Activity Host type classes.
- Since
- Kanzi 3.9.0