ParallelActivityHostConcept implementation class. More...
#include <kanzi/ui/node/concept/activity/parallel_activity_host_impl.hpp>
Public Types | |
| using | NodeTypeSharedPtr |
Public Types inherited from kanzi::ActivityHostConcept | |
| enum class | ActivationStatus { PreparingForActivation , ParallelAnimation , ExclusiveAnimation } |
| Specifies possible stages for internal tracking of activation of an Activity. More... | |
| using | ActivityInfoContainer |
| enum class | DeactivationStatus { ExclusiveAnimation , ParallelAnimation , WaitingForRelease } |
| Specifies possible stages for internal tracking of deactivation of an Activity. More... | |
Public Types inherited from kanzi::ParallelActivityHostConcept | |
| using | ParallelActivityHostContent |
| Container for the content information for a ParallelActivityHost. | |
| enum class | ParallelActivityHostFocusingPolicy { WhenHostHasFocus , AlwaysFocus , NeverFocus } |
| Specifies the focusing policy that Kanzi applies to an activating Activity in a Parallel Activity Host. More... | |
Static Public Member Functions | |
| static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Static Public Member Functions inherited from kanzi::ActivityElement | |
| static string | getFirstElement (string_view activationSequence) |
| Gets the first element of the activation sequence. | |
| static string | getRestToForward (string_view activationSequence) |
| Gets the remainder of the activation sequence. | |
| template<typename Type > | |
| static bool | isActivityElement (const Type &object) |
| Returns whether an object is an ActivityElement. | |
| static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Static Public Member Functions inherited from kanzi::ActivityHostConcept | |
| template<typename Type > | |
| static bool | isActivityHost (const Type &object) |
| Determines if an object is an ActivityHost. | |
| static bool | isActivityHostMetaclass (const Metaclass *metaclass) |
| Checks whether the given Metaclass is an ActivityHostConcept metaclass or contains it as a mixin metaclass. | |
| static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Static Public Member Functions inherited from kanzi::ParallelActivityHostConcept | |
| static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
| Returns the PropertyType editor information for a Parallel Activity Host Concept. | |
Friends | |
| class | ActivityHostConceptImpl< TBaseClass, TDerivedClass > |
Additional Inherited Members | |
Static Public Attributes inherited from kanzi::ActivityElement | |
| static PropertyType< bool > | AttachedProperty |
| static PropertyType< bool > | PreserveHistoryProperty |
| Enables the preservation of Activity property values when that Activity becomes inactive. | |
Static Public Attributes inherited from kanzi::ActivityHostConcept | |
| static MessageType< ActivationMessageArguments > | ActivateActivityMessage |
| You can send ActivateActivity to the Activity Host to activate an Activity. | |
| static MessageType< ActivationMessageArguments > | DeactivateActivityMessage |
| You can send DeactivateActivity to the Activity Host to deactivate an Activity. | |
| static MessageType< ActivityPrefabMessageArguments > | ActivityPrefabAttachedMessage |
| An Activity Host sends this message when it attaches the prefab of the Activity that is activated. | |
| static MessageType< ActivityPrefabMessageArguments > | ActivityPrefabDetachedMessage |
| An Activity Host sends this message when it attaches the prefab of the Activity that is activated. | |
| static MessageType< RegisterActivityElementInternalMessageArguments > | RegisterHostInternalMessage |
| Internal message sent by an Activity Host to its parent Activity or Activity Host to register the Activity Host in the parent. | |
| static MessageType< UnregisterActivityElementInternalMessageArguments > | UnregisterHostInternalMessage |
| Internal message sent by an Activity Host to its parent Activity or Activity Host to unregister the Activity Host from the parent. | |
Static Public Attributes inherited from kanzi::ParallelActivityHostConcept | |
| static PropertyType< bool > | BringActivatedToFrontProperty |
| Sets whether to show the activated Activity in front within its Parallel Activity Host. | |
| static PropertyType< bool > | ActivationStackProperty |
| Sets whether a Parallel Activity Host keeps a child Activity node active to satisfy the request from both ActivateActivityMessage activation and ApplyActivationAction mechanism. | |
| static PropertyType< string > | ParallelActivityHostContentProperty |
| Describes the content of a Parallel Activity Host node. | |
| static PropertyType< ParallelActivityHostFocusingPolicy > | FocusOnActivationProperty |
| Sets the focusing policy that Kanzi uses to decide whether it tries to set focus to an activating Activity in a Parallel Activity Host. | |
Protected Attributes inherited from kanzi::ActivityHostConceptImpl< TBaseClass, TDerivedClass > | |
| string | m_activationTarget |
| The name of the Activity that is the candidate to be the activation target. | |
| bool | m_deserializing |
| Indicates that this Activity Host is performing property deserialization. | |
| bool | m_hostHadFocus |
| Indicates that the Activity Host had focus before it started to activate new activation target Activity. | |
ParallelActivityHostConcept implementation class.
This is a helper class for parallel activity hosts.
| using kanzi::ParallelActivityHostImpl< TBaseClass, TDerivedClass >::NodeTypeSharedPtr |
|
explicitprotected |
Constructor.
| domain | The domain the new node belongs to. |
| name | The name of the node. |
|
static |
|
overridevirtual |
ActivityElement::deserialize implementation.
Deserializes the currently active child Activity nodes.
Reimplemented from kanzi::ActivityHostConceptImpl< TBaseClass, TDerivedClass >.
| void kanzi::ParallelActivityHostImpl< TBaseClass, TDerivedClass >::onFinishedParallelActivatingAnimationInternal | ( | const ActivityConcept::StatusChangedInternalMessageArguments & | args | ) |
Message handler for FinishedParallelActivatingAnimationInternal message.
| args | Message arguments. |
| void kanzi::ParallelActivityHostImpl< TBaseClass, TDerivedClass >::onFinishedParallelDeactivatingAnimationInternal | ( | const ActivityConcept::StatusChangedInternalMessageArguments & | args | ) |
Message handler for FinishedParallelDeactivatingAnimationInternal message.
| args | Message arguments. |
| void kanzi::ParallelActivityHostImpl< TBaseClass, TDerivedClass >::onFinishedExclusiveDeactivatingAnimationInternal | ( | const ActivityConcept::StatusChangedInternalMessageArguments & | args | ) |
Message handler for FinishedExclusiveDeactivatingAnimationInternal message.
| args | Message arguments. |
|
overridevirtual |
ActivityHostConcept::setActivationModifier implementation.
Implements kanzi::ActivityHostConcept.
| void kanzi::ParallelActivityHostImpl< TBaseClass, TDerivedClass >::activate | ( | const ActivityHostConcept::ActivityInfo & | activityInfo, |
| string_view | restOfActivationPath ) |
Activates a child Activity node.
| activityInfo | The Activity information of the node to activate. |
| restOfActivationPath | The path of the activation sequence to forward to the activated Activity node, once the given Activity node is activated. |
| void kanzi::ParallelActivityHostImpl< TBaseClass, TDerivedClass >::deactivate | ( | string_view | name | ) |
Deactivates a child Activity node.
| name | The name of the Activity node to deactivate. |
|
protected |
getActivityInfo implementation for ActivityHostConceptImpl CRTP.
|
protected |
getActiveOrAttachedActivating implementation for ActivityHostConceptImpl CRTP.
|
protected |
getAttachedActivityNodes implementation for ActivityHostConceptImpl CRTP.
|
protected |
Initializes this parallel activity host.
|
overrideprotected |
Node::onAttached implementation.
|
overrideprotected |
Node::onDetached implementation.
|
overrideprotectedvirtual |
ActivityHostConcept::getActivatingNames implementation.
Implements kanzi::ActivityHostConcept.
|
overrideprotectedvirtual |
ActivityHostConceptImpl::resolveFocusWithPolicy implementation.
Implements kanzi::ActivityHostConcept.
|
overrideprotectedvirtual |
ActivityHostConcept::onActivateActivityOverride implementation.
resetHistory, removed the "final" keyword, and moved to protected. Implements kanzi::ActivityHostConcept.
|
overrideprotected |
Node::onNodePropertyChanged implementation.
|
overrideprotectedvirtual |
ActivityHostConcept::notifyParentHiddenStateChanged implementation.
Implements kanzi::ActivityHostConcept.
|
friend |