Home
last modified time | relevance | path

Searched refs:IProperty (Results 1 - 25 of 82) sorted by relevance

1234

/foundation/graphic/graphic_3d/lume/metaobject/src/
H A Dproxy_object.h47 IProperty::Ptr GetPropertyByName(BASE_NS::string_view name) override;
48 IProperty::ConstPtr GetPropertyByName(BASE_NS::string_view name) const override;
49 void RemoveProperty(const IProperty::Ptr&) override;
51 BASE_NS::vector<IProperty::Ptr> GetAllProperties() override;
52 BASE_NS::vector<IProperty::ConstPtr> GetAllProperties() const override;
59 BASE_NS::vector<IProperty::ConstPtr> GetOverrides() const override;
60 IProperty::ConstPtr GetOverride(BASE_NS::string_view name) const override;
61 IProperty::Ptr SetPropertyTarget(const IProperty::Ptr& property) override;
62 IProperty
[all...]
H A Dobject_context.cpp55 BASE_NS::vector<IProperty::ConstPtr> ObjectContext::GetOverrides() const in GetOverrides()
60 IProperty::ConstPtr ObjectContext::GetOverride(BASE_NS::string_view name) const in GetOverride()
65 IProperty::Ptr ObjectContext::SetPropertyTarget(const IProperty::Ptr& property) in SetPropertyTarget()
70 IProperty::ConstPtr ObjectContext::GetProxyProperty(BASE_NS::string_view name) const in GetProxyProperty()
75 IProperty::Ptr ObjectContext::GetPropertyByName(BASE_NS::string_view name) in GetPropertyByName()
80 IProperty::ConstPtr ObjectContext::GetPropertyByName(BASE_NS::string_view name) const in GetPropertyByName()
85 BASE_NS::vector<IProperty::Ptr> ObjectContext::GetAllProperties() in GetAllProperties()
90 BASE_NS::vector<IProperty::ConstPtr> ObjectContext::GetAllProperties() const in GetAllProperties()
H A Dobject_context.h45 BASE_NS::vector<IProperty::ConstPtr> GetOverrides() const override;
46 IProperty::ConstPtr GetOverride(BASE_NS::string_view name) const override;
47 IProperty::Ptr SetPropertyTarget(const IProperty::Ptr& property) override;
48 IProperty::ConstPtr GetProxyProperty(BASE_NS::string_view name) const override;
51 IProperty::Ptr GetPropertyByName(BASE_NS::string_view name) override;
52 IProperty::ConstPtr GetPropertyByName(BASE_NS::string_view name) const override;
54 BASE_NS::vector<IProperty::Ptr> GetAllProperties() override;
55 BASE_NS::vector<IProperty::ConstPtr> GetAllProperties() const override;
H A Dproxy_object.cpp73 static bool SerializeEmbeddedProxy(IProperty::Ptr p) in SerializeEmbeddedProxy()
86 if (auto p = interface_pointer_cast<IProperty>(info.object)) { in OnPropertyAdded()
104 if (auto p = interface_cast<IProperty>(info.object)) { in OnPropertyRemoved()
113 void ProxyObject::OnPropertyChanged(const IProperty::Ptr& p) in OnPropertyChanged()
210 BASE_NS::vector<IProperty::ConstPtr> ProxyObject::GetOverrides() const in GetOverrides()
212 BASE_NS::vector<IProperty::ConstPtr> res; in GetOverrides()
221 IProperty::ConstPtr ProxyObject::GetOverride(BASE_NS::string_view name) const in GetOverride()
227 IProperty::ConstPtr ProxyObject::GetProxyProperty(BASE_NS::string_view name) const in GetProxyProperty()
233 IProperty::Ptr ProxyObject::SetPropertyTarget(const IProperty
[all...]
H A Dmeta_object.h57 IProperty::Ptr PropertyObjectContext() override;
58 IProperty::ConstPtr PropertyObjectContext() const override;
69 void AddProperty(const IProperty::Ptr&) override;
70 void RemoveProperty(const IProperty::Ptr&) override;
75 void SetProperties(const BASE_NS::vector<IProperty::Ptr>& vec) override;
78 BASE_NS::vector<IProperty::Ptr> GetAllProperties() override;
79 BASE_NS::vector<IProperty::ConstPtr> GetAllProperties() const override;
85 IProperty::Ptr GetPropertyByName(BASE_NS::string_view name) override;
86 IProperty::ConstPtr GetPropertyByName(BASE_NS::string_view name) const override;
H A Dmetadata.cpp66 void Metadata::AddProperty(const IProperty::Ptr& p) in AddProperty()
71 if (interface_pointer_cast<IProperty>(other) == p) { in AddProperty()
82 void Metadata::RemoveProperty(const IProperty::Ptr& p) in RemoveProperty()
131 void Metadata::SetProperties(const BASE_NS::vector<IProperty::Ptr>& vec) in SetProperties()
142 auto vec = cont->GetAll<IProperty>(); in Merge()
166 BASE_NS::vector<IProperty::Ptr> Metadata::GetAllProperties() in GetAllProperties()
168 return properties_->GetAll<IProperty>(); in GetAllProperties()
170 BASE_NS::vector<IProperty::ConstPtr> Metadata::GetAllProperties() const in GetAllProperties()
172 return GetAllImpl<BASE_NS::vector<IProperty::ConstPtr>>(properties_->GetAll<IProperty>()); in GetAllProperties()
[all...]
H A Dmeta_object.cpp71 IProperty::Ptr MetaObject::PropertyObjectContext() in PropertyObjectContext()
86 IProperty::ConstPtr MetaObject::PropertyObjectContext() const in PropertyObjectContext()
142 void MetaObject::AddProperty(const IProperty::Ptr& p) in AddProperty()
149 void MetaObject::RemoveProperty(const IProperty::Ptr& p) in RemoveProperty()
161 void MetaObject::SetProperties(const BASE_NS::vector<IProperty::Ptr>& vec) in SetProperties()
169 BASE_NS::vector<IProperty::Ptr> MetaObject::GetAllProperties() in GetAllProperties()
173 BASE_NS::vector<IProperty::ConstPtr> MetaObject::GetAllProperties() const in GetAllProperties()
193 IProperty::Ptr MetaObject::GetPropertyByName(BASE_NS::string_view name) in GetPropertyByName()
197 IProperty::ConstPtr MetaObject::GetPropertyByName(BASE_NS::string_view name) const in GetPropertyByName()
H A Dmetadata.h48 void AddProperty(const IProperty::Ptr&) override;
49 void RemoveProperty(const IProperty::Ptr&) override;
54 void SetProperties(const BASE_NS::vector<IProperty::Ptr>&) override;
58 BASE_NS::vector<IProperty::Ptr> GetAllProperties() override;
59 BASE_NS::vector<IProperty::ConstPtr> GetAllProperties() const override;
65 IProperty::Ptr GetPropertyByName(BASE_NS::string_view name) override;
66 IProperty::ConstPtr GetPropertyByName(BASE_NS::string_view name) const override;
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A DPropertyHandlerArrayHolder.h29 META_NS::IProperty::WeakPtr target;
30 META_NS::IProperty::WeakPtr source;
40 void EraseHandler(META_NS::IProperty::Ptr target, META_NS::IProperty::Ptr source) in EraseHandler()
46 META_NS::PropertyChangedEventHandler& NewHandler(META_NS::IProperty::Ptr target, META_NS::IProperty::Ptr source) in NewHandler()
52 void MarkRelated(META_NS::IProperty::ConstPtr first, META_NS::IProperty::ConstPtr second) in MarkRelated()
100 META_NS::IProperty::Ptr GetTarget(META_NS::IProperty
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/
H A Dutil.h50 inline BASE_NS::shared_ptr<CORE_NS::IInterface> GetPointer(const IProperty::ConstPtr& p) in GetPointer()
57 inline BASE_NS::shared_ptr<Interface> GetPointer(const IProperty::ConstPtr& p) in GetPointer()
62 inline IProperty::Ptr DuplicatePropertyType(IObjectRegistry& obr, IProperty::ConstPtr p, BASE_NS::string_view name = {}) in DuplicatePropertyType()
64 IProperty::Ptr dup;
85 Type GetValue(const IProperty::ConstPtr& p, NonDeduced_t<BASE_NS::remove_const_t<Type>> defaultValue = {}) noexcept
90 Type GetValue(const IProperty::ConstWeakPtr& p, NonDeduced_t<BASE_NS::remove_const_t<Type>> defaultValue = {}) noexcept
96 Type GetValue(const IProperty::Ptr& p, NonDeduced_t<BASE_NS::remove_const_t<Type>> defaultValue = {}) noexcept
102 Type GetValue(const IProperty::WeakPtr& p, NonDeduced_t<BASE_NS::remove_const_t<Type>> defaultValue = {}) noexcept
113 bool SetValue(IProperty
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/src/engine/
H A Dengine_input_property_manager.cpp35 static IProperty::Ptr ConstructFromValue(const IEngineValue::Ptr& value) in ConstructFromValue()
37 IProperty::Ptr property; in ConstructFromValue()
49 IProperty::Ptr EngineInputPropertyManager::ConstructProperty(BASE_NS::string_view name) in ConstructProperty()
57 IProperty::Ptr property = ConstructFromValue(value); in ConstructProperty()
63 IProperty::Ptr EngineInputPropertyManager::TieProperty(const IProperty::Ptr& p, BASE_NS::string valueName) in TieProperty()
83 BASE_NS::vector<IProperty::Ptr> EngineInputPropertyManager::GetAllProperties() const in GetAllProperties()
85 BASE_NS::vector<IProperty::Ptr> ret; in GetAllProperties()
H A Dengine_input_property_manager.h33 IProperty::Ptr ConstructProperty(BASE_NS::string_view name) override;
34 IProperty::Ptr TieProperty(const IProperty::Ptr&, BASE_NS::string valueName) override;
35 BASE_NS::vector<IProperty::Ptr> GetAllProperties() const override;
44 IProperty::Ptr property;
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/
H A Dintf_proxy_object.h62 virtual BASE_NS::vector<IProperty::ConstPtr> GetOverrides() const = 0;
66 virtual IProperty::ConstPtr GetOverride(BASE_NS::string_view) const = 0;
70 virtual IProperty::Ptr SetPropertyTarget(const IProperty::Ptr& property) = 0;
74 virtual IProperty::ConstPtr GetProxyProperty(BASE_NS::string_view) const = 0;
H A Dinterface_macros.h48 virtual BASE_NS::shared_ptr<const META_NS::IProperty> Property##name() const = 0; \
57 virtual BASE_NS::shared_ptr<META_NS::IProperty> Property##name() = 0; \
77 virtual BASE_NS::shared_ptr<const META_NS::IProperty> Property##name() const = 0; \
86 virtual BASE_NS::shared_ptr<META_NS::IProperty> Property##name() = 0; \
H A Dintf_metadata.h51 virtual BASE_NS::vector<IProperty::Ptr> GetAllProperties() = 0;
52 virtual BASE_NS::vector<IProperty::ConstPtr> GetAllProperties() const = 0;
69 virtual IProperty::Ptr GetPropertyByName(BASE_NS::string_view name) = 0;
70 virtual IProperty::ConstPtr GetPropertyByName(BASE_NS::string_view name) const = 0;
104 virtual void AddProperty(const IProperty::Ptr&) = 0;
108 virtual void RemoveProperty(const IProperty::Ptr&) = 0;
122 virtual void SetProperties(const BASE_NS::vector<IProperty::Ptr>&) = 0;
/foundation/graphic/graphic_3d/lume/metaobject/src/property/
H A Ddependencies.h33 ReturnError AddDependency(const IProperty::ConstPtr& prop);
34 ReturnError GetImmediateDependencies(BASE_NS::vector<IProperty::ConstPtr>& deps) const;
35 bool HasDependency(const IProperty*) const;
44 IProperty::ConstPtr property;
H A Ddependencies.cpp43 ReturnError Dependencies::AddDependency(const IProperty::ConstPtr& prop) in AddDependency()
56 ReturnError Dependencies::GetImmediateDependencies(BASE_NS::vector<IProperty::ConstPtr>& deps) const in GetImmediateDependencies()
59 BASE_NS::vector<IProperty::ConstPtr> immediate; in GetImmediateDependencies()
70 bool Dependencies::HasDependency(const IProperty* p) const in HasDependency()
H A Dbind.h41 bool SetTarget(const IProperty::ConstPtr& prop, bool getDeps, const IProperty* owner) override;
42 bool SetTarget(const IFunction::ConstPtr& func, bool getDeps, const IProperty* owner) override;
56 bool CreateContext(bool eval, const IProperty* owner);
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/engine/
H A Dintf_engine_input_property_manager.h31 virtual IProperty::Ptr ConstructProperty(BASE_NS::string_view name) = 0;
32 virtual IProperty::Ptr TieProperty(const IProperty::Ptr&, BASE_NS::string valueName) = 0;
33 virtual BASE_NS::vector<IProperty::Ptr> GetAllProperties() const = 0;
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/property/
H A Dintf_property.h30 META_REGISTER_INTERFACE(IProperty, "772086d4-b7eb-437e-b71b-83353caaffaf")
32 // Notice that IProperty does not guarantee thread safety, one should use one of the wrapper
35 class IProperty : public INotifyOnChange { class
36 META_INTERFACE(INotifyOnChange, IProperty)
60 META_INTERFACE_TYPE(META_NS::IProperty)
H A Dproperty.h28 using PropertyInterfaceType = BASE_NS::conditional_t<BASE_NS::is_const_v<Type>, const IProperty, IProperty>;
76 operator IProperty::ConstPtr() const in operator IProperty::ConstPtr()
81 operator IProperty::Ptr() in operator IProperty::Ptr()
86 operator IProperty::ConstWeakPtr() const in operator IProperty::ConstWeakPtr()
91 operator IProperty::WeakPtr() in operator IProperty::WeakPtr()
H A Darray_property.h28 using PropertyInterfaceType = BASE_NS::conditional_t<BASE_NS::is_const_v<Type>, const IProperty, IProperty>;
72 operator IProperty::ConstPtr() const in operator IProperty::ConstPtr()
77 operator IProperty::Ptr() in operator IProperty::Ptr()
82 operator IProperty::ConstWeakPtr() const in operator IProperty::ConstWeakPtr()
87 operator IProperty::WeakPtr() in operator IProperty::WeakPtr()
H A Dintf_bind.h34 virtual bool SetTarget(const IProperty::ConstPtr& prop, bool getDeps, const IProperty* owner) = 0;
35 virtual bool SetTarget(const IFunction::ConstPtr& func, bool getDeps, const IProperty* owner) = 0;
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/property/
H A Dproperty_event_handler.h38 bool Subscribe(const IProperty::ConstPtr& property, const CallableTypePtr& onInvoked) in Subscribe()
44 bool Subscribe(const IProperty::ConstPtr& property, const CallableTypePtr& onInvoked, const ITaskQueue::Ptr& queue) in Subscribe()
49 bool Subscribe(const IProperty::ConstPtr& property, const CallableTypePtr& onInvoked, const BASE_NS::Uid& queueId) in Subscribe()
55 bool Subscribe(const IProperty::ConstPtr& property, Func func, const ITaskQueue::Ptr& queue = nullptr) in Subscribe()
61 bool Subscribe(const IProperty::ConstPtr& property, Func func, const BASE_NS::Uid& queueId) in Subscribe()
76 * @brief EventHandler for handling IProperty::OnChanged event.
78 class PropertyChangedEventHandler final : public PropertyEventHandler<IOnChanged, &IProperty::EventOnChanged> {
81 PropertyChangedEventHandler(const IProperty::ConstPtr& property, const IOnChanged::InterfaceTypePtr& onInvoked) in PropertyChangedEventHandler()
H A Ddefault_value_bind.h32 explicit DefaultValueBind(const IProperty::Ptr& property) : property_(property) {} in DefaultValueBind()
65 bool Bind(const IProperty::ConstPtr& source) in Bind()
99 void SetProperty(const IProperty::Ptr& property) in SetProperty()
104 IProperty::Ptr GetProperty() const in GetProperty()
120 IProperty::WeakPtr property_;
121 IProperty::ConstWeakPtr source_;

Completed in 13 milliseconds

1234