/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/ |
H A D | intf_attachment.h | 31 META_REGISTER_INTERFACE(IAttachment, "1f661207-4478-4fbb-ac1b-8ee73365d2d8") 33 * @brief The IAttachment interface defines a common interface for classes which can be attached 37 * the IAttachment interface. 39 class IAttachment : public CORE_NS::IInterface { class 40 META_INTERFACE(CORE_NS::IInterface, IAttachment) 74 META_INTERFACE_TYPE(META_NS::IAttachment); variable
|
H A D | intf_attach.h | 32 class IAttachment;
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/attachment/ |
H A D | attachment.h | 27 * which implements the IAttachment interface. 29 * Instead of directly implementing the IAttachment interface methods, AttachmentFwd defines 31 * methods of IAttachment are called. 33 * AttachmentFwd handles attachment target and IAttachment::AttachedTo automatically. 44 /** AttachmentFwd calls this when IAttachment::Attaching is called by the framework. */ 46 /** AttachmentFwd calls this when IAttachment::Detaching is called by the framework. */ 48 /** Implementation of IAttachment::DataContext */ 49 META_IMPLEMENT_INTERFACE_READONLY_PROPERTY(IAttachment, IObject::WeakPtr, DataContext); 50 /** Implementation of IAttachment::AttachedTo */ 51 META_IMPLEMENT_INTERFACE_READONLY_PROPERTY(IAttachment, IAttac [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/src/ |
H A D | attachment_container.cpp | 110 if (const auto att = interface_cast<IAttachment>(attachment)) { in Attach() 138 if (const auto att = interface_cast<IAttachment>(attachment)) { in Detach() 161 if (auto attachment = interface_pointer_cast<IAttachment>(info.object)) { in AddingToContainer() 178 if (auto attachment = interface_pointer_cast<IAttachment>(info.object)) { in RemovedFromContainer() 194 if (auto att = interface_cast<IAttachment>(object)) { in RemoveAllAttachments() 209 if (const auto attachment = interface_pointer_cast<IAttachment>(object)) { in AlreadyAttached()
|
H A D | object_hierarchy_observer.h | 77 ClassId::ObjectHierarchyObserver, IObjectHierarchyObserver, IAttachment> { 79 IObjectHierarchyObserver, IAttachment>; 94 protected: // IAttachment 98 META_IMPLEMENT_INTERFACE_READONLY_PROPERTY(IAttachment, IObject::WeakPtr, DataContext); 99 META_IMPLEMENT_INTERFACE_READONLY_PROPERTY(IAttachment, IAttach::WeakPtr, AttachedTo, {});
|
H A D | object.cpp | 154 // No attachments, but the user has requested IAttachment so we need to create the container in FindAllContainers() 155 if (uids.empty() || std::find(uids.begin(), uids.end(), IAttachment::UID) != uids.end()) { in FindAllContainers()
|
H A D | object_hierarchy_observer.cpp | 231 i->Attach(GetSelf<IAttachment>()); in SetTarget()
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/ |
H A D | connector.h | 46 return connector->Connect(source, event, func) && attach->Attach(interface_pointer_cast<IAttachment>(connector)); in Connect() 70 return attach->Detach(interface_pointer_cast<IAttachment>(v)); in Disconnect()
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/internal/ |
H A D | animation_modifier_api.h | 31 META_API_OBJECT_CONVERTIBLE(META_NS::IAttachment)
|
H A D | animation_api.h | 41 META_API_OBJECT_CONVERTIBLE(META_NS::IAttachment) 94 if (auto attachment = interface_pointer_cast<IAttachment>(modifier)) { in Modifier()
|
H A D | object_api.h | 539 FinalClassType& Attach(const META_NS::IAttachment::Ptr& attachment, const META_NS::IObject::Ptr& dataContext = {}) in Attach() 544 FinalClassType& Detach(const META_NS::IAttachment::Ptr& attachment) in Detach()
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | anim_impl.cpp | 34 META_NS::IParallelAnimation, META_NS::IAttachment, META_NS::ITimedAnimation, META_NS::IStartableAnimation> { 36 META_NS::IParallelAnimation, META_NS::IAttachment, META_NS::ITimedAnimation, META_NS::IStartableAnimation>; 56 // from IAttachment IAnimationWithModifiableDuration 57 META_IMPLEMENT_INTERFACE_READONLY_PROPERTY(META_NS::IAttachment, META_NS::IObject::WeakPtr, DataContext) 58 META_IMPLEMENT_INTERFACE_READONLY_PROPERTY(META_NS::IAttachment, META_NS::IAttach::WeakPtr, AttachedTo)
|
H A D | ecs_animation.h | 187 SCENE_NS::IEcsProxyObject, META_NS::IAttachment> {
|
H A D | node_impl.cpp | 723 if (auto typed = interface_cast<META_NS::IAttachment>(attachment)) { in CompleteInitialization()
|
/foundation/graphic/graphic_3d/lume/metaobject/src/animation/ |
H A D | animation.h | 37 IAttachment, IContainable, IMutableContainable, IAnimationInternal, Interfaces...> { 40 using Super = Internal::ObjectFwd<FinalClass, ClassInfo, BaseAnimationInterface, INotifyOnChange, IAttachment, 115 protected: // IAttachment 116 META_IMPLEMENT_INTERFACE_READONLY_PROPERTY(IAttachment, IObject::WeakPtr, DataContext) 117 META_IMPLEMENT_INTERFACE_READONLY_PROPERTY(IAttachment, IAttach::WeakPtr, AttachedTo)
|
/foundation/graphic/graphic_3d/lume/metaobject/test/src/ |
H A D | test_utils.h | 215 inline bool IsEqual(IAttachment::Ptr a, IAttachment::Ptr b) in IsEqual()
|
/foundation/graphic/graphic_3d/lume/metaobject/test/src/base/ |
H A D | CaptureTest.cpp | 253 a->Attach(GetObjectRegistry().Create<IAttachment>(ClassId::TestAttachment)); in HWTEST_F()
|
/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/ |
H A D | importer.cpp | 241 cont.Detach(attachments->FindByName<IAttachment>(att->GetName())); in ImportIAttach() 243 if (auto attachment = interface_pointer_cast<IAttachment>(att)) { in ImportIAttach()
|
/foundation/graphic/graphic_3d/lume/metaobject/test/src/interface/ |
H A D | IntfContainerTest.cpp | 1034 container_->FindAll({ "", TraversalType::DEPTH_FIRST_PRE_ORDER, { META_NS::IAttachment::UID }, false }); in HWTEST_F() 1036 { "", TraversalType::DEPTH_FIRST_PRE_ORDER, { ITestType::UID, META_NS::IAttachment::UID }, true }); in HWTEST_F() 1161 container_->FindAny({ "", TraversalType::DEPTH_FIRST_PRE_ORDER, { META_NS::IAttachment::UID }, false }); in HWTEST_F() 1163 { "", TraversalType::DEPTH_FIRST_PRE_ORDER, { ITestType::UID, META_NS::IAttachment::UID }, true }); in HWTEST_F()
|