/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/ |
H A D | intf_function.h | 31 META_REGISTER_INTERFACE(IFunction, "a25fc0e3-4d2c-4005-bd5b-13ed647114ca") 36 class IFunction : public ICallable { class 37 META_INTERFACE(ICallable, IFunction) 65 * @brief IFunction for which the target object and function-name can be set manually. 67 class ISettableFunction : public IFunction { 68 META_INTERFACE(IFunction, ISettableFunction, "4437e8d2-e41f-48a0-8880-b2636c926b21") 77 * @brief IFunction which returns the value of given property. 79 class IPropertyFunction : public IFunction { 80 META_INTERFACE(IFunction, IPropertyFunction, "2f5491bf-881e-449e-8aab-78b137dee0d3") 90 META_INTERFACE_TYPE(META_NS::IFunction) [all...] |
H A D | intf_metadata.h | 56 virtual BASE_NS::vector<IFunction::Ptr> GetAllFunctions() = 0; 57 virtual BASE_NS::vector<IFunction::ConstPtr> GetAllFunctions() const = 0; 76 virtual IFunction::Ptr GetFunctionByName(BASE_NS::string_view name) = 0; 77 virtual IFunction::ConstPtr GetFunctionByName(BASE_NS::string_view name) const = 0; 95 virtual void AddFunction(const IFunction::Ptr&) = 0; 99 virtual void RemoveFunction(const IFunction::Ptr&) = 0;
|
H A D | static_object_metadata.h | 67 using FCtor = IFunction::Ptr(void*);
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/ |
H A D | function.h | 32 class DefaultFunction : public IntroduceInterfaces<IFunction, ICloneable> { 86 IFunction::Ptr CreateFunction(BASE_NS::string_view name, Obj* obj, MemFun func, Internal::FContext* context) in CreateFunction() 95 return IFunction::Ptr( in CreateFunction() 103 IFunction::Ptr CreateBindFunction(Func func) in CreateBindFunction() 112 return IFunction::Ptr(new DefaultFunction<IObject, decltype(l)>("Bind", nullptr, BASE_NS::move(l), ccontext)); in CreateBindFunction() 119 IFunction::Ptr CreateBindFunctionSafe(Func func, Args&&... args) in CreateBindFunctionSafe() 127 inline IFunction::Ptr CreateFunction(const IObject::Ptr& obj, BASE_NS::string_view name) in CreateFunction() 173 CallResult<Ret> CallMetaFunctionImpl(const IFunction::Ptr& func, IndexSequence<Index...>, Args&&... args) in CallMetaFunctionImpl() 213 CallResult<Ret> CallMetaFunction(const IFunction::Ptr& func, Args&&... args) in CallMetaFunction() 224 static bool Call(const IFunction [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/src/ |
H A D | meta_object.h | 66 void AddFunction(const IFunction::Ptr&) override; 67 void RemoveFunction(const IFunction::Ptr&) override; 80 BASE_NS::vector<IFunction::Ptr> GetAllFunctions() override; 81 BASE_NS::vector<IFunction::ConstPtr> GetAllFunctions() const override; 87 IFunction::Ptr GetFunctionByName(BASE_NS::string_view name) override; 88 IFunction::ConstPtr GetFunctionByName(BASE_NS::string_view name) const override;
|
H A D | metadata.cpp | 51 AddFunction(interface_pointer_cast<IFunction>(i->GetClone())); in Metadata() 113 void Metadata::AddFunction(const IFunction::Ptr& p) in AddFunction() 118 void Metadata::RemoveFunction(const IFunction::Ptr& p) in RemoveFunction() 175 BASE_NS::vector<IFunction::Ptr> Metadata::GetAllFunctions() in GetAllFunctions() 180 BASE_NS::vector<IFunction::ConstPtr> Metadata::GetAllFunctions() const in GetAllFunctions() 182 return GetAllImpl<BASE_NS::vector<IFunction::ConstPtr>>(functionMetadata_); in GetAllFunctions() 214 IFunction::Ptr Metadata::GetFunctionByName(BASE_NS::string_view name) in GetFunctionByName() 216 return GetByName<IFunction::Ptr>(functionMetadata_, name); in GetFunctionByName() 218 IFunction::ConstPtr Metadata::GetFunctionByName(BASE_NS::string_view name) const in GetFunctionByName() 220 return GetByName<IFunction in GetFunctionByName() [all...] |
H A D | metadata.h | 45 void AddFunction(const IFunction::Ptr&) override; 46 void RemoveFunction(const IFunction::Ptr&) override; 60 BASE_NS::vector<IFunction::Ptr> GetAllFunctions() override; 61 BASE_NS::vector<IFunction::ConstPtr> GetAllFunctions() const override; 67 IFunction::Ptr GetFunctionByName(BASE_NS::string_view name) override; 68 IFunction::ConstPtr GetFunctionByName(BASE_NS::string_view name) const override; 75 BASE_NS::vector<IFunction::Ptr> functionMetadata_;
|
H A D | meta_object.cpp | 134 void MetaObject::AddFunction(const IFunction::Ptr& p) in AddFunction() 138 void MetaObject::RemoveFunction(const IFunction::Ptr& p) in RemoveFunction() 177 BASE_NS::vector<IFunction::Ptr> MetaObject::GetAllFunctions() in GetAllFunctions() 181 BASE_NS::vector<IFunction::ConstPtr> MetaObject::GetAllFunctions() const in GetAllFunctions() 201 IFunction::Ptr MetaObject::GetFunctionByName(BASE_NS::string_view name) in GetFunctionByName() 205 IFunction::ConstPtr MetaObject::GetFunctionByName(BASE_NS::string_view name) const in GetFunctionByName()
|
H A D | register_anys.cpp | 80 IFunction::Ptr, 81 IFunction::ConstPtr, 82 IFunction::WeakPtr
|
H A D | functions.h | 28 public: // IFunction 43 IFunction::ConstWeakPtr func_; 48 public: // IFunction
|
/foundation/graphic/graphic_3d/lume/metaobject/src/property/ |
H A D | bind.h | 42 bool SetTarget(const IFunction::ConstPtr& func, bool getDeps, const IProperty* owner) override; 43 IFunction::ConstPtr GetTarget() const override; 63 IFunction::ConstPtr func_;
|
H A D | bind.cpp | 56 auto f = GetObjectRegistry().Create<IFunction>(META_NS::ClassId::PropertyFunction); in SetTarget() 65 bool Bind::SetTarget(const IFunction::ConstPtr& func, bool getDeps, const IProperty* owner) in SetTarget() 73 IFunction::ConstPtr Bind::GetTarget() const in GetTarget()
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/property/ |
H A D | intf_bind.h | 35 virtual bool SetTarget(const IFunction::ConstPtr& func, bool getDeps, const IProperty* owner) = 0; 36 virtual IFunction::ConstPtr GetTarget() const = 0;
|
/foundation/graphic/graphic_3d/lume/metaobject/test/src/api/ |
H A D | FunctionTest.cpp | 255 auto p = ConstructArrayProperty<IFunction::Ptr>("functions"); in HWTEST_F() 256 p->AddValue(interface_pointer_cast<IFunction>(func)); in HWTEST_F() 257 p->AddValue(interface_pointer_cast<IFunction>(func2)); in HWTEST_F() 271 auto p = ArrayProperty<IFunction::Ptr>(metad->GetPropertyByName("functions")); in HWTEST_F()
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/property/ |
H A D | binding.h | 38 explicit Binding(const IFunction::ConstPtr& binding) noexcept : binding_(binding) {} in binding_() 63 IFunction::ConstPtr binding_;
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/ |
H A D | object.h | 347 void AddFunction(const IFunction::Ptr& p) override 351 void RemoveFunction(const IFunction::Ptr& p) override 379 BASE_NS::vector<IFunction::Ptr> GetAllFunctions() override 383 BASE_NS::vector<IFunction::ConstPtr> GetAllFunctions() const override 405 IFunction::ConstPtr GetFunctionByName(BASE_NS::string_view name) const override 409 IFunction::Ptr GetFunctionByName(BASE_NS::string_view name) override
|
H A D | event_impl.h | 37 if (auto f = interface_pointer_cast<IFunction>(c)) { in IsCompatibleInterface() 45 if (const auto f = interface_pointer_cast<IFunction>(p)) { in Call()
|
H A D | implementation_macros.h | 250 mutable ::META_NS::IFunction::Ptr metaFunc##func##_ = this->RegisterStaticFunctionMetadata( \ 258 return ::META_NS::IFunction::Ptr(::META_NS::CreateFunction( \
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/animation/ |
H A D | animation.h | 142 META_NS::ArrayProperty<IFunction::Ptr> KeyframeHandlers() in KeyframeHandlers() 146 auto& KeyframeHandlers(BASE_NS::array_view<IFunction::Ptr> handlers) in KeyframeHandlers()
|
/foundation/graphic/graphic_3d/lume/metaobject/src/animation/ |
H A D | track_animation.h | 46 META_IMPLEMENT_INTERFACE_ARRAY_PROPERTY(ITrackAnimation, IFunction::Ptr, KeyframeHandlers)
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/detail/ |
H A D | property.h | 113 IFunction::ConstPtr GetBind() const in GetBind() 177 bool SetBind(const IFunction::ConstPtr& func, const BASE_NS::array_view<const INotifyOnChange::ConstPtr>& deps = {}) in SetBind()
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/animation/ |
H A D | intf_animation.h | 280 META_ARRAY_PROPERTY(IFunction::Ptr, KeyframeHandlers)
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/internal/ |
H A D | object_api.h | 596 inline FinalClassType& PropertyName(const META_NS::IFunction::ConstPtr& function) \ 636 inline FinalClassType& PropertyName(const META_NS::IFunction::ConstPtr& function) \
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | ecs_animation.h | 53 META_IMPLEMENT_INTERFACE_ARRAY_PROPERTY(ITrackAnimation, META_NS::IFunction::Ptr, KeyframeHandlers)
|