Home
last modified time | relevance | path

Searched refs:IAttach (Results 1 - 25 of 34) sorted by relevance

12

/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/attachment/
H A Dattachment.h45 virtual bool AttachTo(const META_NS::IAttach::Ptr& target, const META_NS::IObject::Ptr& dataContext) = 0;
47 virtual bool DetachFrom(const META_NS::IAttach::Ptr& target) = 0;
51 META_IMPLEMENT_INTERFACE_READONLY_PROPERTY(IAttachment, IAttach::WeakPtr, AttachedTo, {});
56 bool Attaching(const META_NS::IAttach::Ptr& target, const META_NS::IObject::Ptr& dataContext) final
67 bool Detaching(const META_NS::IAttach::Ptr& target) final
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/
H A Dintf_attachment.h34 * to objects that implement the IAttach interface.
49 META_READONLY_PROPERTY(IAttach::WeakPtr, AttachedTo);
60 virtual bool Attaching(const IAttach::Ptr& target, const IObject::Ptr& dataContext) = 0;
69 virtual bool Detaching(const IAttach::Ptr& target) = 0;
H A Dintf_attach.h30 META_REGISTER_INTERFACE(IAttach, "2cc0d7b9-ccec-474e-acdd-d06fb5aeb714")
35 * @brief The IAttach interface defines a common interface for classes to which attachments can be attached.
37 class IAttach : public CORE_NS::IInterface { class
38 META_INTERFACE(CORE_NS::IInterface, IAttach)
132 META_INTERFACE_TYPE(META_NS::IAttach); variable
H A Dintf_attachment_container.h28 * by implementing classes that want to implement the IAttach interface.
30 * The IAttachmentContainer defines an interface which is compatible with IAttach interface,
31 * so that a class implementing IAttach can mostly forward the IAttach interface calls
43 * @param owner The owner object which wants to implement IAttach. The container does not
46 virtual bool Initialize(const META_NS::IAttach::Ptr& owner) = 0;
48 * @brief See IAttach::Attach()
60 * @brief See IAttach::Attach()
84 * @brief See IAttach::Detach()
93 * @brief See IAttach
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/src/animation/
H A Danimation_modifier.h33 bool AttachTo(const META_NS::IAttach::Ptr& target, const META_NS::IObject::Ptr& dataContext) override
37 bool DetachFrom(const META_NS::IAttach::Ptr& target) override
H A Danimation_controller.h38 bool AttachTo(const META_NS::IAttach::Ptr& target, const META_NS::IObject::Ptr& dataContext) override;
39 bool DetachFrom(const META_NS::IAttach::Ptr& target) override;
H A Danimation_controller.cpp30 bool AnimationController::AttachTo(const META_NS::IAttach::Ptr& target, const META_NS::IObject::Ptr& dataContext) in AttachTo()
35 bool AnimationController::DetachFrom(const META_NS::IAttach::Ptr& target) in DetachFrom()
H A Danimation_state.cpp322 if (const auto attach = interface_pointer_cast<IAttach>(params_.owner)) { in GetModifiers()
380 if (auto attach = interface_pointer_cast<IAttach>(params_.owner)) { in Attach()
401 if (auto attach = interface_pointer_cast<IAttach>(params_.owner)) { in Detach()
H A Danimation.h85 protected: // IAttach
117 META_IMPLEMENT_INTERFACE_READONLY_PROPERTY(IAttachment, IAttach::WeakPtr, AttachedTo)
118 bool Attaching(const IAttach::Ptr& target, const IObject::Ptr& dataContext) override
124 bool Detaching(const IAttach::Ptr& target) override
/foundation/graphic/graphic_3d/lume/metaobject/test/src/base/
H A DCaptureTest.cpp229 bool AttachTo(const META_NS::IAttach::Ptr& target, const IObject::Ptr& dataContext) override
233 bool DetachFrom(const META_NS::IAttach::Ptr& target) override
252 if (auto a = interface_cast<IAttach>(p)) { in HWTEST_F()
260 EXPECT_EQ(interface_cast<IAttach>(obj)->GetAttachments().size(), 1); in HWTEST_F()
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/
H A Dconnector.h29 * @param dest Destination object which implements the specified meta function, must implement IAttach interface.
36 auto attach = interface_cast<IAttach>(dest); in Connect()
38 CORE_LOG_E("Object does not implement IAttach"); in Connect()
53 * @param dest Destination object which implements the specified meta function, must implement IAttach interface.
60 auto attach = interface_cast<IAttach>(dest); in Disconnect()
62 CORE_LOG_E("Object does not implement IAttach"); in Disconnect()
/foundation/graphic/graphic_3d/lume/metaobject/src/
H A Dconnector.h28 bool AttachTo(const META_NS::IAttach::Ptr& target, const META_NS::IObject::Ptr& dataContext) override;
29 bool DetachFrom(const META_NS::IAttach::Ptr& target) override;
H A Dconnector.cpp21 bool Connector::AttachTo(const META_NS::IAttach::Ptr& target, const META_NS::IObject::Ptr& dataContext) in AttachTo()
46 bool Connector::DetachFrom(const META_NS::IAttach::Ptr& target) in DetachFrom()
H A Dobject_hierarchy_observer.h95 bool Attaching(const META_NS::IAttach::Ptr& target, const META_NS::IObject::Ptr& dataContext) override;
96 bool Detaching(const META_NS::IAttach::Ptr& target) override;
99 META_IMPLEMENT_INTERFACE_READONLY_PROPERTY(IAttachment, IAttach::WeakPtr, AttachedTo, {});
H A Dattachment_container.h61 bool Initialize(const META_NS::IAttach::Ptr& owner) override;
75 META_NS::IAttach::WeakPtr owner_;
H A Dobject_hierarchy_observer.cpp72 if (const auto attach = interface_cast<IAttach>(object)) { in SubscribeAttachment()
230 if (auto i = interface_cast<IAttach>(root)) { in SetTarget()
426 bool ObjectHierarchyObserver::Attaching(const META_NS::IAttach::Ptr& target, const META_NS::IObject::Ptr& dataContext) in Attaching()
436 bool ObjectHierarchyObserver::Detaching(const META_NS::IAttach::Ptr& target) in Detaching()
H A Dobject.h43 class Object : public MetaObjectFwd<Object, META_NS::ClassId::Object, IAttach, IContainerQuery> {
50 // IAttach
H A Dregister_anys.cpp79 IAttach::WeakPtr,
H A Dobject.cpp50 // IAttach
96 attachments_->Initialize(GetSelf<META_NS::IAttach>()); in ValidateAttachmentContainer()
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dresource_container.cpp51 bool AttachTo(const META_NS::IAttach::Ptr& target, const IObject::Ptr& dataContext) override
56 bool DetachFrom(const META_NS::IAttach::Ptr& target) override
H A Danim_impl.cpp58 META_IMPLEMENT_INTERFACE_READONLY_PROPERTY(META_NS::IAttachment, META_NS::IAttach::WeakPtr, AttachedTo)
67 // IAttach
82 bool Attaching(const IAttach::Ptr& target, const IObject::Ptr& dataContext) override
96 bool Detaching(const IAttach::Ptr& target) override
H A Decs_animation.h207 META_IMPLEMENT_READONLY_PROPERTY(META_NS::IAttach::WeakPtr, AttachedTo)
293 bool Attaching(const IAttach::Ptr& target, const IObject::Ptr& dataContext) override
307 bool Detaching(const IAttach::Ptr& target) override
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/
H A Dobject.h464 class ObjectFwd : public MetaObjectFwd<FinalClass, ClassInfo, SuperClassInfo, IAttach, IContainerQuery, Interfaces...> {
465 using Super = MetaObjectFwd<FinalClass, ClassInfo, SuperClassInfo, IAttach, IContainerQuery, Interfaces...>;
476 protected: // IAttach
479 return META_EXT_CALL_BASE(IAttach, Attach(attachment, dataContext));
484 return META_EXT_CALL_BASE(IAttach, Detach(attachment));
488 return META_EXT_CALL_BASE(IAttach, GetAttachments(uids, strict));
492 return META_EXT_CALL_BASE(IAttach, HasAttachments());
496 return META_EXT_CALL_BASE(IAttach, GetAttachmentContainer(initializeAlways));
/foundation/graphic/graphic_3d/lume/metaobject/test/src/
H A Dtesting_objects.cpp43 bool AttachTo(const META_NS::IAttach::Ptr& target, const META_NS::IObject::Ptr& dataContext) override
48 bool DetachFrom(const META_NS::IAttach::Ptr& target) override
80 bool AttachTo(const META_NS::IAttach::Ptr& target, const META_NS::IObject::Ptr& dataContext) override
89 bool DetachFrom(const META_NS::IAttach::Ptr& target) override
H A Dtest_utils.h210 inline bool IsEqual(IAttach::Ptr a, IAttach::Ptr b) in IsEqual()

Completed in 9 milliseconds

12