Implementation class for ActivityConcept. More...
#include <kanzi/ui/node/concept/activity/activity_concept_impl.hpp>
Static Protected Member Functions | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Additional Inherited Members | |
Public Types inherited from kanzi::ActivityConcept | |
enum class | Status { Active , Inactive , Activating , Deactivating } |
Defines possible states of an Activity. More... | |
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::ActivityConcept | |
template<typename Type > | |
static bool | isActivity (const Type &object) |
Returns whether an object is an Activity. | |
static bool | isActivityMetaclass (const Metaclass *metaclass) |
Checks whether the given Metaclass is an ActivityConcept metaclass or contains it as a mixin metaclass. | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
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::ActivityConcept | |
static NodeWeakPtr | s_activationTargetActivity |
The Activity that is the activation target. | |
static PropertyType< Status > | StatusProperty |
Specifies the status of this Activity. | |
static PropertyType< float > | DummyStateManagerProperty |
Lack of a queuing mechanism for incoming messages from an Activity Host can cause Kanzi to enter a recursive call in the setProperty(). | |
static PropertyType< bool > | ActivatedByActivationModifierProperty |
Specifies whether the activation of an Activity is requested by modifier bindings callbacks of an ApplyAction of a DataTrigger. | |
static PropertyType< bool > | SaveLastFocusedNodeProperty |
Indicates whether to serialize the last focused child node of a focus scope Activity and restore the focus on deserialization. | |
static MessageType< StatusChangedMessageArguments > | StatusChangedMessage |
Subscribe to this message to receive notifications when the ActivityConcept::Status of this Activity changes. | |
static MessageType< ActivityMessageArguments > | ActivityActivatingMessage |
Subscribe to this message to receive notifications when this Activity is in the activating state. | |
static MessageType< ActivityMessageArguments > | ActivityActivatedMessage |
Subscribe to this message to receive notifications when this Activity is activated. | |
static MessageType< ActivityMessageArguments > | ActivityDeactivatingMessage |
Subscribe to this message to receive notifications when this Activity is in the deactivating state. | |
static MessageType< ActivityMessageArguments > | ActivityDeactivatedMessage |
Subscribe to this message to receive notifications when this Activity is deactivated. | |
static MessageType< StartActivationInternalMessageArguments > | StartActivationInternalMessage |
Internal message sent by an Activity Host to the Activity to initialize the resources of the Activity. | |
static MessageType< ActivityInternalMessageArguments > | StartDeactivationInternalMessage |
Internal message sent by an Activity Host to the Activity to deactivate the Activity. | |
static MessageType< StatusChangedInternalMessageArguments > | ReadyForActivationAnimationInternalMessage |
Internal message sent by the Activity to its parent Activity Host when the Activity has finished initializing its resources. | |
static MessageType< ActivityInternalMessageArguments > | StartParallelActivatingAnimationInternalMessage |
Internal message sent by an Activity Host to the Activity to start the parallel activation animation of the Activity. | |
static MessageType< StatusChangedInternalMessageArguments > | FinishedParallelActivatingAnimationInternalMessage |
Internal message sent by the Activity to its parent Activity Host when the Activity has finished the parallel activation animation of the Activity. | |
static MessageType< ActivityInternalMessageArguments > | StartExclusiveActivatingAnimationInternalMessage |
Internal message sent by an Activity Host to the Activity to start the exclusive activation animation of the Activity. | |
static MessageType< ActivityInternalMessageArguments > | StartExclusiveDeactivatingAnimationInternalMessage |
Internal message sent by an Activity Host to the Activity to start the exclusive deactivation animation of the Activity. | |
static MessageType< StatusChangedInternalMessageArguments > | FinishedExclusiveDeactivatingAnimationInternalMessage |
Internal message sent by the Activity to its parent Activity Host when the Activity has finished the exclusive deactivation animation of the Activity. | |
static MessageType< ActivityInternalMessageArguments > | StartParallelDeactivatingAnimationInternalMessage |
Internal message sent by an Activity Host to the Activity to start the parallel deactivation animation of the Activity. | |
static MessageType< StatusChangedInternalMessageArguments > | FinishedParallelDeactivatingAnimationInternalMessage |
Internal message sent by the Activity to its parent Activity Host when the Activity has finished the parallel deactivation animation of the Activity. | |
Protected Attributes inherited from kanzi::ActivityConcept | |
vector< string > | m_pendingActivationsBeforeFocus |
The paths of the activating Activities that this Activity is waiting to be activated. | |
Implementation class for ActivityConcept.
|
explicitprotected |
Constructor.
domain | The domain the new node belongs to. |
name | The name of the node. |
|
overrideprotecteddefault |
Destructor.
|
overridevirtual |
Gets the underlying Node object.
Implements kanzi::ActivityElement.
|
overridevirtual |
Gets the underlying Node object.
Implements kanzi::ActivityElement.
|
overridevirtual |
ActivityElement::serialize implementation.
Reimplemented from kanzi::ActivityElement.
|
finalvirtual |
ActivityConcept::restoreLastFocusedNode implementation.
Implements kanzi::ActivityConcept.
|
finalvirtual |
ActivityConcept::setLastFocusedNodePath implementation.
Implements kanzi::ActivityConcept.
|
finalvirtual |
ActivityConcept::tryRestoreLastFocusedPathCompletely implementation.
Implements kanzi::ActivityConcept.
|
overridevirtual |
ActivityConcept::getParentActivity implementation.
Implements kanzi::ActivityConcept.
|
override |
Overrides Node::updateFocusScopeInfo().
|
overridevirtual |
Implements ActivityConcept::collectActivatingDescendantActivities.
Implements kanzi::ActivityConcept.
|
overridevirtual |
Implements ActivityConcept::notifyPendingActivationBeforeFocusFinished.
Implements kanzi::ActivityConcept.
void kanzi::ActivityConceptImpl< TBaseClass, TDerivedClass >::notifyReadyForFocus | ( | ) |
|
overridevirtual |
Overrides ActivityConcept::enableFocusRecovery().
Implements kanzi::ActivityConcept.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Overrides ActivityConcept::isAutoClosingBecauseFocusMove().
Implements kanzi::ActivityConcept.
|
staticprotected |
|
protected |
Initializes this activity.
|
finalprotectedvirtual |
ActivityElement::registerInParentActivityElement implementation.
Implements kanzi::ActivityElement.
|
finalprotectedvirtual |
ActivityElement::registerInParentActivityElement implementation.
Implements kanzi::ActivityElement.
|
overrideprotected |
Node::onDetached implementation.
|
overrideprotected |
Node::onAttached implementation.
|
protected |
Message handler for InputOutsideOverlayMessage message.
Only Auto-Closing Overlay Activities should handle the InputOutsideOverlayMessage with this handler.
args | Message arguments. |