Inherits AZ::AttributeFunction< R(Args...)>.
|
typedef R(C::* | FunctionPtr) (Args...) const |
|
typedef R(* | FunctionPtr) (Args...) |
|
using | ContextDeleter = void(*)(void *contextData) |
|
|
| AZ_RTTI ((AttributeMemberFunction, "{4E21155A-0FB0-4F11-999A-B946B5954A0A}", R(C::*)(Args...) const), AttributeFunction< R(Args...)>) |
|
| AZ_CLASS_ALLOCATOR (AttributeMemberFunction< R(C::*)(Args...) const >, SystemAllocator) |
|
| AttributeMemberFunction (FunctionPtr f) |
|
R | Invoke (void *instance, const Args &... args) override |
|
AZ::Uuid | GetInstanceType () const override |
|
AZ::Dom::Value | GetAsDomValue (void *instance) override |
|
FunctionPtr | GetMemberFunctionPtr () const |
|
| AZ_RTTI ((AttributeFunction, "{EE535A42-940C-42DE-848D-9C6CE57D8A62}", R(Args...)), Attribute) |
|
| AZ_CLASS_ALLOCATOR (AttributeFunction< R(Args...)>, SystemAllocator) |
|
| AttributeFunction (FunctionPtr f) |
|
virtual R | Invoke (void *instance, const Args &... args) |
|
virtual AZ::Uuid | GetInstanceType () const |
|
virtual bool | IsInvokable () const |
| Returns true if this attribute is an invokable function or method.
|
|
virtual bool | CanDomInvoke (const AZ::Dom::Value &arguments) const |
|
virtual AZ::Dom::Value | DomInvoke (void *instance, const AZ::Dom::Value &arguments) |
|
| AZ_TYPE_INFO_WITH_NAME_DECL (Attribute) |
|
| AZ_RTTI_NO_TYPE_INFO_DECL () |
|
void | SetContextData (void *contextData, ContextDeleter destroyer) |
|
void * | GetContextData () const |
|
virtual bool | IsInvokable () const |
| Returns true if this attribute is an invokable function or method.
|
|
virtual AttributeUniquePtr | GetVoidInstanceAttributeInvocable () |
|
virtual bool | CanDomInvoke (const AZ::Dom::Value &arguments) const |
|
virtual AZ::Dom::Value | DomInvoke (void *instance, const AZ::Dom::Value &arguments) |
|
virtual AZ::Dom::Value | GetAsDomValue (void *instance) |
|
|
static const char * | GetTypeName () |
|
static AZ::Name | GetTypeField () |
|
static AZ::Name | GetInstanceField () |
|
static AZ::Name | GetAttributeField () |
|
FunctionPtr | m_function |
|
bool | m_describesChildren = false |
|
bool | m_childClassOwned = false |
|
static const AZ::Name | s_typeField |
|
static const AZ::Name | s_instanceField |
|
static const AZ::Name | s_attributeField |
|
◆ GetAsDomValue()
template<class R , class C , class... Args>
Gets a marshalled Dom::Value representation of this attribute bound to a given instance. By default this is just abbreviated to a marshalled version of the data stored in the attribute, but for invokable attributes, override this method to serializes a pointer to the instance and this attribute
Reimplemented from AZ::Attribute.
◆ GetInstanceType()
template<class R , class C , class... Args>
◆ Invoke()
template<class R , class C , class... Args>
The documentation for this class was generated from the following file:
- Code/Framework/AzCore/AzCore/RTTI/ReflectContext.h