XII Release 0.1.0
Loading...
Searching...
No Matches
xiiNamedAction Class Reference

Copyright (c) Theophilus Eriata. All Rights Reserved. More...

#include <BaseActions.h>

Inheritance diagram for xiiNamedAction:
[legend]

Public Member Functions

 xiiNamedAction (const xiiActionContext &context, xiiStringView sName, xiiStringView sIconPath)
xiiStringView GetName () const
xiiStringView GetAdditionalDisplayString ()
void SetAdditionalDisplayString (xiiStringView sString, bool bTriggerUpdate=true)
xiiStringView GetIconPath () const
void SetIconPath (xiiStringView sIconPath)
Public Member Functions inherited from xiiAction
 xiiAction (const xiiActionContext &context)
virtual void Execute (const xiiVariant &value)=0
void TriggerUpdate ()
const xiiActionContext & GetContext () const
xiiActionDescriptorHandle GetDescriptorHandle ()
Public Member Functions inherited from xiiReflectedClass
virtual const xiiRTTI * GetDynamicRTTI () const
bool IsInstanceOf (const xiiRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
template<typename T>
XII_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.

Protected Attributes

xiiString m_sName
xiiString m_sAdditionalDisplayString
xiiString m_sIconPath
Protected Attributes inherited from xiiAction
xiiActionContext m_Context

Additional Inherited Members

Static Public Member Functions inherited from xiiNoBase
static const xiiRTTI * GetStaticRTTI ()
Public Attributes inherited from xiiAction
xiiEvent< xiiAction * > m_StatusUpdateEvent
 Fire when the state of the action changes (enabled, value etc...).

Detailed Description

Copyright (c) Theophilus Eriata. All Rights Reserved.


The documentation for this class was generated from the following file:
  • /home/runner/work/XII/XII/Source/Tools/Libs/GuiFoundation/Action/BaseActions.h