Home
last modified time | relevance | path

Searched refs:IFunction (Results 1 - 24 of 24) sorted by relevance

/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/
H A Dintf_function.h31 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 Dintf_metadata.h56 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 Dstatic_object_metadata.h67 using FCtor = IFunction::Ptr(void*);
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/
H A Dfunction.h32 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 Dmeta_object.h66 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 Dmetadata.cpp51 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 Dmetadata.h45 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 Dmeta_object.cpp134 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 Dregister_anys.cpp80 IFunction::Ptr,
81 IFunction::ConstPtr,
82 IFunction::WeakPtr
H A Dfunctions.h28 public: // IFunction
43 IFunction::ConstWeakPtr func_;
48 public: // IFunction
/foundation/graphic/graphic_3d/lume/metaobject/src/property/
H A Dbind.h42 bool SetTarget(const IFunction::ConstPtr& func, bool getDeps, const IProperty* owner) override;
43 IFunction::ConstPtr GetTarget() const override;
63 IFunction::ConstPtr func_;
H A Dbind.cpp56 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 Dintf_bind.h35 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 DFunctionTest.cpp255 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 Dbinding.h38 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 Dobject.h347 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 Devent_impl.h37 if (auto f = interface_pointer_cast<IFunction>(c)) { in IsCompatibleInterface()
45 if (const auto f = interface_pointer_cast<IFunction>(p)) { in Call()
H A Dimplementation_macros.h250 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 Danimation.h142 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 Dtrack_animation.h46 META_IMPLEMENT_INTERFACE_ARRAY_PROPERTY(ITrackAnimation, IFunction::Ptr, KeyframeHandlers)
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/detail/
H A Dproperty.h113 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 Dintf_animation.h280 META_ARRAY_PROPERTY(IFunction::Ptr, KeyframeHandlers)
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/internal/
H A Dobject_api.h596 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 Decs_animation.h53 META_IMPLEMENT_INTERFACE_ARRAY_PROPERTY(ITrackAnimation, META_NS::IFunction::Ptr, KeyframeHandlers)

Completed in 12 milliseconds