Inherited by AZ::Internal::BehaviorEBusEvent, and AZ::Internal::BehaviorMethodImpl.
|
| BehaviorMethod (BehaviorContext *context) |
|
template<class... Args> |
bool | Invoke (Args &&... args) const |
|
bool | Invoke () const |
|
template<class R , class... Args> |
bool | InvokeResult (R &r, Args &&... args) const |
|
template<class R > |
bool | InvokeResult (R &r) const |
|
void | SetDeprecatedName (AZStd::string name) |
|
const AZStd::string & | GetDeprecatedName () const |
|
virtual bool | Call (AZStd::span< BehaviorArgument > arguments, BehaviorArgument *result=nullptr) const =0 |
|
bool | Call (BehaviorArgument *arguments, unsigned int numArguments, BehaviorArgument *result=nullptr) const |
|
virtual ResultOutcome | IsCallable (AZStd::span< BehaviorArgument > arguments, BehaviorArgument *result=nullptr) const =0 |
|
virtual bool | HasResult () const =0 |
|
virtual bool | IsMember () const =0 |
| Returns true if the method is a class member method. If true the first argument should always be the "this"/ClassType pointer.
|
|
virtual bool | HasBusId () const =0 |
| Returns true if the method is an ebus method with a bus id argument.
|
|
virtual const BehaviorParameter * | GetBusIdArgument () const =0 |
| Returns the BehaviorParameter corresponding to the the ebus BusId argument if the ebus method is addressed by Id.
|
|
virtual void | OverrideParameterTraits (size_t index, AZ::u32 addTraits, AZ::u32 removeTraits)=0 |
|
virtual size_t | GetNumArguments () const =0 |
|
virtual size_t | GetMinNumberOfArguments () const =0 |
| Return the minimum number of arguments needed (considering default arguments)
|
|
virtual const BehaviorParameter * | GetArgument (size_t index) const =0 |
|
virtual const AZStd::string * | GetArgumentName (size_t index) const =0 |
|
virtual void | SetArgumentName (size_t index, AZStd::string name)=0 |
|
virtual const AZStd::string * | GetArgumentToolTip (size_t index) const =0 |
|
virtual void | SetArgumentToolTip (size_t index, AZStd::string name)=0 |
|
virtual void | SetDefaultValue (size_t index, BehaviorDefaultValuePtr defaultValue)=0 |
|
virtual BehaviorDefaultValuePtr | GetDefaultValue (size_t index) const =0 |
|
virtual const BehaviorParameter * | GetResult () const =0 |
|
void | ProcessAuxiliaryMethods (BehaviorContext *context, BehaviorMethod &method) |
|
bool | AddOverload (BehaviorMethod *method) |
|
bool | IsAnOverload (BehaviorMethod *candidate) const |
|
Public Member Functions inherited from AZ::OnDemandReflectionOwner |
| OnDemandReflectionOwner (const OnDemandReflectionOwner &)=delete |
|
OnDemandReflectionOwner & | operator= (const OnDemandReflectionOwner &)=delete |
|
| OnDemandReflectionOwner (OnDemandReflectionOwner &&)=delete |
|
OnDemandReflectionOwner & | operator= (OnDemandReflectionOwner &&)=delete |
|
void | AddReflectFunction (AZ::Uuid typeId, StaticReflectionFunctionPtr reflectFunction) |
| Register an OnDemandReflection function.
|
|
Use behavior method to get type information and invoke reflected methods.