Plasma Engine  2.0
Loading...
Searching...
No Matches
plMenuAction Class Reference
Inheritance diagram for plMenuAction:

Public Member Functions

 plMenuAction (const plActionContext &context, const char *szName, const char *szIconPath)
 
virtual void Execute (const plVariant &value) override
 
- Public Member Functions inherited from plNamedAction
 plNamedAction (const plActionContext &context, const char *szName, const char *szIconPath)
 
const char * GetName () const
 
plStringView GetAdditionalDisplayString ()
 
void SetAdditionalDisplayString (plStringView sString, bool bTriggerUpdate=true)
 
const char * GetIconPath () const
 
void SetIconPath (const char *szIconPath)
 
- Public Member Functions inherited from plAction
 plAction (const plActionContext &context)
 
void TriggerUpdate ()
 
const plActionContextGetContext () const
 
plActionDescriptorHandle GetDescriptorHandle ()
 
- Public Member Functions inherited from plReflectedClass
virtual const plRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const plRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T >
PL_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.
 

Additional Inherited Members

- Static Public Member Functions inherited from plNoBase
static const plRTTIGetStaticRTTI ()
 
- Public Attributes inherited from plAction
plEvent< plAction * > m_StatusUpdateEvent
 Fire when the state of the action changes (enabled, value etc...)
 
- Protected Attributes inherited from plNamedAction
plString m_sName
 
plString m_sAdditionalDisplayString
 
plString m_sIconPath
 
- Protected Attributes inherited from plAction
plActionContext m_Context
 

Member Function Documentation

◆ Execute()

virtual void plMenuAction::Execute ( const plVariant & value)
inlineoverridevirtual

Implements plAction.


The documentation for this class was generated from the following file: