/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/attachment/ |
H A D | attachment.h | 45 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 D | intf_attachment.h | 34 * 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 D | intf_attach.h | 30 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 D | intf_attachment_container.h | 28 * 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 D | animation_modifier.h | 33 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 D | animation_controller.h | 38 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 D | animation_controller.cpp | 30 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 D | animation_state.cpp | 322 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 D | animation.h | 85 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 D | CaptureTest.cpp | 229 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 D | connector.h | 29 * @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 D | connector.h | 28 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 D | connector.cpp | 21 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 D | object_hierarchy_observer.h | 95 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 D | attachment_container.h | 61 bool Initialize(const META_NS::IAttach::Ptr& owner) override; 75 META_NS::IAttach::WeakPtr owner_;
|
H A D | object_hierarchy_observer.cpp | 72 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 D | object.h | 43 class Object : public MetaObjectFwd<Object, META_NS::ClassId::Object, IAttach, IContainerQuery> { 50 // IAttach
|
H A D | register_anys.cpp | 79 IAttach::WeakPtr,
|
H A D | object.cpp | 50 // IAttach 96 attachments_->Initialize(GetSelf<META_NS::IAttach>()); in ValidateAttachmentContainer()
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | resource_container.cpp | 51 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 D | anim_impl.cpp | 58 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 D | ecs_animation.h | 207 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 D | object.h | 464 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 D | testing_objects.cpp | 43 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 D | test_utils.h | 210 inline bool IsEqual(IAttach::Ptr a, IAttach::Ptr b) in IsEqual()
|