Home
last modified time | relevance | path

Searched refs:IAttachment (Results 1 - 19 of 19) sorted by relevance

/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/
H A Dintf_attachment.h31 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 Dintf_attach.h32 class IAttachment;
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/attachment/
H A Dattachment.h27 * 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 Dattachment_container.cpp110 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 Dobject_hierarchy_observer.h77 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 Dobject.cpp154 // 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 Dobject_hierarchy_observer.cpp231 i->Attach(GetSelf<IAttachment>()); in SetTarget()
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/
H A Dconnector.h46 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 Danimation_modifier_api.h31 META_API_OBJECT_CONVERTIBLE(META_NS::IAttachment)
H A Danimation_api.h41 META_API_OBJECT_CONVERTIBLE(META_NS::IAttachment)
94 if (auto attachment = interface_pointer_cast<IAttachment>(modifier)) { in Modifier()
H A Dobject_api.h539 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 Danim_impl.cpp34 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 Decs_animation.h187 SCENE_NS::IEcsProxyObject, META_NS::IAttachment> {
H A Dnode_impl.cpp723 if (auto typed = interface_cast<META_NS::IAttachment>(attachment)) { in CompleteInitialization()
/foundation/graphic/graphic_3d/lume/metaobject/src/animation/
H A Danimation.h37 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 Dtest_utils.h215 inline bool IsEqual(IAttachment::Ptr a, IAttachment::Ptr b) in IsEqual()
/foundation/graphic/graphic_3d/lume/metaobject/test/src/base/
H A DCaptureTest.cpp253 a->Attach(GetObjectRegistry().Create<IAttachment>(ClassId::TestAttachment)); in HWTEST_F()
/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/
H A Dimporter.cpp241 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 DIntfContainerTest.cpp1034 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()

Completed in 20 milliseconds