Home
last modified time | relevance | path

Searched refs:IEntityCollection (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dasset_manager.h38 IEntityCollection& ec, BASE_NS::string_view src, BASE_NS::string_view contextUri) override; in SCENE_BEGIN_NAMESPACE()
40 …bool LoadAsset(IEntityCollection& ec, BASE_NS::string_view uri, BASE_NS::string_view contextUri) o… in SCENE_BEGIN_NAMESPACE()
43 …const IEntityCollection& ec, BASE_NS::string_view uri, BASE_NS::string_view contextUri) const over… in SCENE_BEGIN_NAMESPACE()
45IEntityCollection* LoadAssetToCache(CORE_NS::IEcs& ecs, BASE_NS::string_view cacheUri, BASE_NS::st… in SCENE_BEGIN_NAMESPACE()
49 IEntityCollection* CreateCachedCollection( in SCENE_BEGIN_NAMESPACE()
51IEntityCollection* GetCachedCollection(BASE_NS::string_view uri, BASE_NS::string_view contextUri) … in SCENE_BEGIN_NAMESPACE()
55 void RefreshAsset(IEntityCollection& ec, bool active) override; in SCENE_BEGIN_NAMESPACE()
57 IEntityCollection* InstantiateCollection( in SCENE_BEGIN_NAMESPACE()
58 IEntityCollection& ec, BASE_NS::string_view uri, BASE_NS::string_view contextUri) override; in SCENE_BEGIN_NAMESPACE()
65 IEntityCollection* GetExternalCollection( in SCENE_BEGIN_NAMESPACE()
[all …]
H A Decs_serializer.h43 …bool WriteEntityCollection(const IEntityCollection& ec, CORE_NS::json::standalone_value& jsonOut) … in SCENE_BEGIN_NAMESPACE()
46 …bool WriteComponent(const IEntityCollection& ec, CORE_NS::Entity entity, const CORE_NS::IComponent… in SCENE_BEGIN_NAMESPACE()
48 …bool WriteProperty(const IEntityCollection& ec, const CORE_NS::Property& property, uintptr_t offse… in SCENE_BEGIN_NAMESPACE()
55IEntityCollection& ec, const CORE_NS::json::value& jsonIn, BASE_NS::string_view contextUri) const … in SCENE_BEGIN_NAMESPACE()
56 …bool ReadComponents(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, bool setId) const o… in SCENE_BEGIN_NAMESPACE()
57 …bool ReadComponent(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, CORE_NS::Entity enti… in SCENE_BEGIN_NAMESPACE()
59 …bool ReadProperty(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, const CORE_NS::Proper… in SCENE_BEGIN_NAMESPACE()
66 …const IEntityCollection& ec, const CORE_NS::Property&, uintptr_t, CORE_NS::json::standalone_value&… in SCENE_BEGIN_NAMESPACE()
68 … const IEntityCollection& ec, const CORE_NS::json::value&, const CORE_NS::Property&, uintptr_t)>; in SCENE_BEGIN_NAMESPACE()
76 … bool ToJson(const IEntityCollection& ec, const CORE_NS::Property& property, uintptr_t offset, in SCENE_BEGIN_NAMESPACE()
[all …]
H A Dentity_collection.h26 class EntityCollection : public IEntityCollection, private IEntityCollection::IListener { in SCENE_BEGIN_NAMESPACE()
32 void AddListener(IEntityCollection::IListener& listener) override; in SCENE_BEGIN_NAMESPACE()
33 void RemoveListener(IEntityCollection::IListener& listener) override; in SCENE_BEGIN_NAMESPACE()
39 IEntityCollection::Ptr CreateNewEntityCollection( in SCENE_BEGIN_NAMESPACE()
74 IEntityCollection* GetSubCollection(size_t index) override; in SCENE_BEGIN_NAMESPACE()
75 const IEntityCollection* GetSubCollection(size_t index) const override; in SCENE_BEGIN_NAMESPACE()
78 IEntityCollection& AddSubCollection( in SCENE_BEGIN_NAMESPACE()
80IEntityCollection& AddSubCollectionClone(IEntityCollection& collection, BASE_NS::string_view uri) … in SCENE_BEGIN_NAMESPACE()
104 void CopyContents(IEntityCollection& srcCollection) override; in SCENE_BEGIN_NAMESPACE()
134 void ModifiedChanged(IEntityCollection& entityCollection, bool modified) override; in SCENE_BEGIN_NAMESPACE()
[all …]
H A Dasset_manager.cpp70 IAssetLoader::Ptr AssetManager::CreateAssetLoader(IEntityCollection& ec, string_view src, string_vi… in CreateAssetLoader()
75 bool AssetManager::LoadAsset(IEntityCollection& ec, string_view uri, string_view contextUri) in LoadAsset()
101 bool AssetManager::SaveJsonEntityCollection(const IEntityCollection& ec, string_view uri, string_vi… in SaveJsonEntityCollection()
118 IEntityCollection* AssetManager::LoadAssetToCache( in LoadAssetToCache()
159 IEntityCollection* AssetManager::CreateCachedCollection( in CreateCachedCollection()
172 IEntityCollection* AssetManager::GetCachedCollection(string_view uri, string_view contextUri) const in GetCachedCollection()
201 void AssetManager::RefreshAsset(IEntityCollection& ec, bool active) in RefreshAsset()
217 IEntityCollection* AssetManager::InstantiateCollection(IEntityCollection& ec, string_view uri, stri… in InstantiateCollection()
241 IEntityCollection* AssetManager::GetExternalCollection(IEcs& ecs, string_view uri, string_view cont… in GetExternalCollection()
H A Dentity_collection.cpp37 void EntityCollection::AddListener(IEntityCollection::IListener& listener) in AddListener()
43 void EntityCollection::RemoveListener(IEntityCollection::IListener& listener) in RemoveListener()
304 IEntityCollection* EntityCollection::GetSubCollection(size_t index) in GetSubCollection()
312 const IEntityCollection* EntityCollection::GetSubCollection(size_t index) const in GetSubCollection()
359 IEntityCollection& EntityCollection::AddSubCollectionClone(IEntityCollection& collection, string_vi… in AddSubCollectionClone()
574 void EntityCollection::CopyContents(IEntityCollection& srcCollection) in CopyContents()
616 void CloneEntitiesFromCollection(IEntityCollection& srcCollection, IEntityCollection& dstCollection, in CloneEntitiesFromCollection()
617 IEntityCollection& srcSerializationCollection, IEntityCollection& dstSerializationCollection, in CloneEntitiesFromCollection()
678 IEntityCollection& srcCollection, array_view<const EntityReference> entities) in CopyContentsWithSerialization()
692 vector<EntityReference> EntityCollection::CopyContentsWithSerialization(IEntityCollection& srcColle… in CopyContentsWithSerialization()
[all …]
H A Decs_serializer.cpp226 const IEntityCollection& ec, const json::value& jsonIn, RenderHandleReference& handleRefOut) in RenderHandleReferenceFromJson()
262 bool RenderHandleReferenceToJson(IRenderContext& renderContext, const IEntityCollection& ec, in RenderHandleReferenceToJson()
280 bool EntityFromJson(const IEntityCollection& ec, const json::value& jsonIn, Entity& entityOut) in EntityFromJson()
308 const IEntityCollection* collection { nullptr }; in EntityFromJson()
355 bool EntityToJson(const IEntityCollection& ec, const Entity& entityIn, json::standalone_value& json… in EntityToJson()
417 const IEntityCollection& ec, const json::value& jsonIn, EntityReference& entityOut) in EntityReferenceFromJson()
481 [](const IEntityCollection& /*ec*/, const Property& property, uintptr_t offset, in SetDefaultSerializers()
502 [](const IEntityCollection& ec, const Property& /*property*/, uintptr_t offset, in SetDefaultSerializers()
512 [this](const IEntityCollection& ec, const Property& /*property*/, uintptr_t offset, in SetDefaultSerializers()
525 [this](const IEntityCollection& ec, const Property& /*property*/, uintptr_t offset, in SetDefaultSerializers()
[all …]
H A Dasset_loader.cpp62 void AddNodeToCollectionRecursive(IEntityCollection& ec, ISceneNode& node, string_view path) in AddNodeToCollectionRecursive()
82 IEntityCollection& ec, string_view src, string_view contextUri) in AssetLoader()
93 IEntityCollection& GetEntityCollection() const override in GetEntityCollection()
711 IEntityCollection& ec_;
731 … IGraphicsContext& graphicsContext, IEntityCollection& ec, string_view src, string_view contextUri) in CreateAssetLoader()
H A Dasset_migration.h24 void MigrateAnimation(IEntityCollection& collection);
H A Dasset_migration.cpp83 void MigrateAnimation(IEntityCollection& collection) in MigrateAnimation()
H A Dasset_loader.h32 CORE3D_NS::IGraphicsContext& graphicsContext, IEntityCollection& ec, BASE_NS::string_view src,
H A Dscene_holder.h183 SCENE_NS::IEntityCollection* GetEntityCollection() in GetEntityCollection()
550 SCENE_NS::IEntityCollection::Ptr scene_ {};
H A Dscene_holder.cpp802 … scene_ = SCENE_NS::IEntityCollection::Ptr { new SCENE_NS::EntityCollection(*ecs_, "scene", {}) }; in ResetScene()
876 SCENE_NS::IEntityCollection& collection, BASE_NS::string_view backupCollection, in GetEntityId()
901 void ExtractQueryResults(CORE_NS::ComponentQuery& query, SCENE_NS::IEntityCollection& collection, in ExtractQueryResults()
H A Dscene_impl.cpp949 SCENE_NS::IEntityCollection* GetEntityCollection() override in GetEntityCollection()
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/interface/
H A Dintf_entity_collection.h29 class IEntityCollection { in SCENE_BEGIN_NAMESPACE()
33 void operator()(IEntityCollection* ptr) const in SCENE_BEGIN_NAMESPACE()
38 using Ptr = BASE_NS::unique_ptr<IEntityCollection, Deleter>; in SCENE_BEGIN_NAMESPACE()
51 virtual IEntityCollection::Ptr CreateNewEntityCollection( in SCENE_BEGIN_NAMESPACE()
86 virtual IEntityCollection* GetSubCollection(size_t index) = 0; in SCENE_BEGIN_NAMESPACE()
90 virtual IEntityCollection& AddSubCollection( in SCENE_BEGIN_NAMESPACE()
92 …virtual IEntityCollection& AddSubCollectionClone(IEntityCollection& collection, BASE_NS::string_vi… in SCENE_BEGIN_NAMESPACE()
117 virtual void CopyContents(IEntityCollection& srcCollection) = 0; in SCENE_BEGIN_NAMESPACE()
120 IEntityCollection& srcCollection) = 0; in SCENE_BEGIN_NAMESPACE()
140 IEntityCollection() = default; in SCENE_BEGIN_NAMESPACE()
[all …]
H A Dintf_ecs_serializer.h51 virtual IEntityCollection* GetExternalCollection( in SCENE_BEGIN_NAMESPACE()
60 …virtual bool ToJson(const IEntityCollection& ec, const CORE_NS::Property& property, uintptr_t offs… in SCENE_BEGIN_NAMESPACE()
62 virtual bool FromJson(const IEntityCollection& ec, const CORE_NS::json::value& jsonIn, in SCENE_BEGIN_NAMESPACE()
74 …virtual bool WriteEntityCollection(const IEntityCollection& ec, CORE_NS::json::standalone_value& j… in SCENE_BEGIN_NAMESPACE()
76 …const IEntityCollection& ec, CORE_NS::Entity entity, CORE_NS::json::standalone_value& jsonOut) con… in SCENE_BEGIN_NAMESPACE()
77 virtual bool WriteComponent(const IEntityCollection& ec, CORE_NS::Entity entity, in SCENE_BEGIN_NAMESPACE()
80 …virtual bool WriteProperty(const IEntityCollection& ec, const CORE_NS::Property& property, uintptr… in SCENE_BEGIN_NAMESPACE()
87IEntityCollection& ec, const CORE_NS::json::value& jsonIn, BASE_NS::string_view contextUri) const … in SCENE_BEGIN_NAMESPACE()
88 …virtual bool ReadComponents(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, bool setId)… in SCENE_BEGIN_NAMESPACE()
89 …virtual bool ReadComponent(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, CORE_NS::Ent… in SCENE_BEGIN_NAMESPACE()
[all …]
H A Dintf_asset_manager.h51 IEntityCollection& ec, BASE_NS::string_view src, BASE_NS::string_view contextUri) = 0; in SCENE_BEGIN_NAMESPACE()
53 …virtual bool LoadAsset(IEntityCollection& ec, BASE_NS::string_view uri, BASE_NS::string_view conte… in SCENE_BEGIN_NAMESPACE()
56 … const IEntityCollection& ec, BASE_NS::string_view uri, BASE_NS::string_view contextUri) const = 0; in SCENE_BEGIN_NAMESPACE()
58 virtual IEntityCollection* LoadAssetToCache(CORE_NS::IEcs& ecs, BASE_NS::string_view cacheUri, in SCENE_BEGIN_NAMESPACE()
62 virtual IEntityCollection* CreateCachedCollection( in SCENE_BEGIN_NAMESPACE()
64 …virtual IEntityCollection* GetCachedCollection(BASE_NS::string_view uri, BASE_NS::string_view cont… in SCENE_BEGIN_NAMESPACE()
68 virtual void RefreshAsset(IEntityCollection& ec, bool active) = 0; in SCENE_BEGIN_NAMESPACE()
70 virtual IEntityCollection* InstantiateCollection( in SCENE_BEGIN_NAMESPACE()
71 IEntityCollection& ec, BASE_NS::string_view uri, BASE_NS::string_view contextUri) = 0; in SCENE_BEGIN_NAMESPACE()
H A Dintf_asset_loader.h48 virtual IEntityCollection& GetEntityCollection() const = 0; in SCENE_BEGIN_NAMESPACE()
H A Dintf_ecs_scene.h131 virtual IEntityCollection* GetEntityCollection() = 0;