/foundation/graphic/graphic_3d/lume/metaobject/src/ |
H A D | register_default_objs.cpp | 74 void RegisterBuiltInObjects(IObjectRegistry& registry) in RegisterBuiltInObjects() argument 76 registry.RegisterObjectType<META_NS::BaseObject>(); in RegisterBuiltInObjects() 78 registry.RegisterObjectType(t.GetFactory()); in RegisterBuiltInObjects() 80 registry.RegisterObjectType(GetManualClockFactory()); in RegisterBuiltInObjects() 81 registry.RegisterObjectType(GetSystemClockFactory()); in RegisterBuiltInObjects() 82 registry.RegisterObjectType(GetPollingTaskQueueFactory()); in RegisterBuiltInObjects() 83 registry.RegisterObjectType(GetThreadedTaskQueueFactory()); in RegisterBuiltInObjects() 84 registry.RegisterObjectType(GetPromiseFactory()); in RegisterBuiltInObjects() 85 registry.RegisterObjectType(GetContentObjectFactory()); in RegisterBuiltInObjects() 86 registry in RegisterBuiltInObjects() 107 UnRegisterBuiltInObjects(IObjectRegistry& registry) UnRegisterBuiltInObjects() argument [all...] |
H A D | register_entities.cpp | 29 void RegisterEntities(IObjectRegistry& registry) in RegisterEntities() argument 31 Internal::RegisterBuiltInObjects(registry); in RegisterEntities() 32 Internal::RegisterBuiltInAnimations(registry); in RegisterEntities() 35 void UnRegisterEntities(IObjectRegistry& registry) in UnRegisterEntities() argument 37 Internal::UnRegisterBuiltInAnimations(registry); in UnRegisterEntities() 38 Internal::UnRegisterBuiltInObjects(registry); in UnRegisterEntities()
|
H A D | meta_object_lib.cpp | 83 void RegisterEntities(IObjectRegistry& registry); 84 void UnRegisterEntities(IObjectRegistry& registry); 85 void RegisterValueSerializers(IObjectRegistry& registry); 86 void UnRegisterValueSerializers(IObjectRegistry& registry); 87 void RegisterAnys(IObjectRegistry& registry); 88 void UnRegisterAnys(IObjectRegistry& registry); 89 void RegisterEngineTypes(IObjectRegistry& registry); 90 void UnRegisterEngineTypes(IObjectRegistry& registry);
|
H A D | register_default_anims.cpp | 87 void RegisterBuiltInAnimations(IObjectRegistry& registry) in RegisterBuiltInAnimations() argument 90 registry.RegisterObjectType(t.GetFactory()); in RegisterBuiltInAnimations() 93 RegisterDefaultInterpolators(registry); in RegisterBuiltInAnimations() 95 void UnRegisterBuiltInAnimations(IObjectRegistry& registry) in UnRegisterBuiltInAnimations() argument 98 registry.UnregisterObjectType(t.GetFactory()); in UnRegisterBuiltInAnimations() 101 UnRegisterDefaultInterpolators(registry); in UnRegisterBuiltInAnimations()
|
H A D | register_anys.cpp | 102 void RegisterAnys(IObjectRegistry& registry) in RegisterAnys() argument 104 auto& pr = registry.GetPropertyRegister(); in RegisterAnys() 109 void UnRegisterAnys(IObjectRegistry& registry) in UnRegisterAnys() argument 111 auto& pr = registry.GetPropertyRegister(); in UnRegisterAnys()
|
H A D | register_engine_access.cpp | 91 void RegisterEngineTypes(IObjectRegistry& registry) in RegisterEngineTypes() argument 93 auto& pr = registry.GetEngineData(); in RegisterEngineTypes() 98 void UnRegisterEngineTypes(IObjectRegistry& registry) in UnRegisterEngineTypes() argument 100 auto& pr = registry.GetEngineData(); in UnRegisterEngineTypes()
|
/foundation/graphic/graphic_3d/lume/metaobject/test/src/api/ |
H A D | DeferredCallbackTest.cpp | 68 auto& registry = META_NS::GetObjectRegistry(); in HWTEST_F() local 71 auto q = registry.Create<IPollingTaskQueue>(ClassId::PollingTaskQueue); in HWTEST_F() 93 auto& registry = META_NS::GetObjectRegistry(); in HWTEST_F() local 96 auto q = registry.Create<IPollingTaskQueue>(ClassId::PollingTaskQueue); in HWTEST_F() 118 auto& registry = META_NS::GetObjectRegistry(); in HWTEST_F() local 120 auto p = META_NS::ConstructProperty<int>(registry, "P", {}); in HWTEST_F() 124 auto q = registry.Create<IPollingTaskQueue>(ClassId::PollingTaskQueue); in HWTEST_F() 149 auto& registry = META_NS::GetObjectRegistry(); in HWTEST_F() local 151 auto p = META_NS::ConstructProperty<int>(registry, "p", {}); in HWTEST_F() 155 auto q = registry in HWTEST_F() 176 auto& registry = META_NS::GetObjectRegistry(); HWTEST_F() local [all...] |
H A D | FunctionTest.cpp | 113 auto& registry = META_NS::GetObjectRegistry(); in HWTEST_F() local 114 auto p = ConstructProperty<int>(registry, "prop", 0); in HWTEST_F() 116 auto object = registry.Create(Meta::ClassId::TestType); in HWTEST_F() 149 auto& registry = META_NS::GetObjectRegistry(); in HWTEST_F() local 151 auto object = registry.Create(Meta::ClassId::TestType); in HWTEST_F() 180 auto& registry = META_NS::GetObjectRegistry(); in HWTEST_F() local 181 auto object = registry.Create(Meta::ClassId::TestType); in HWTEST_F() 208 auto& registry = META_NS::GetObjectRegistry(); in HWTEST_F() local 212 auto object = registry.Create(Meta::ClassId::TestType); in HWTEST_F() 242 auto& registry in HWTEST_F() local [all...] |
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/src/ |
H A D | node_registry.cpp | 26 static NodeRegistry registry; in GetSingleton() local 27 return registry; in GetSingleton() 32 auto& registry = NodeRegistry::GetSingleton(); in Registrar() local 33 if (registry.m_nodeRegs.find(type) != registry.m_nodeRegs.end()) { in Registrar() 36 registry.m_nodeRegs[type] = nodeFunc; in Registrar()
|
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/src/ |
H A D | node_registry.cpp | 26 static NodeRegistry registry; in GetSingleton() local 27 return registry; in GetSingleton() 32 auto& registry = NodeRegistry::GetSingleton(); in Registrar() local 33 if (registry.m_nodeRegs.find(type) != registry.m_nodeRegs.end()) { in Registrar() 36 registry.m_nodeRegs[type] = nodeFunc; in Registrar()
|
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | ops_registry.cpp | 23 OpsRegistry& registry = OpsRegistry::GetSingleton(); in Registrar() local 24 if (registry.m_opsRegedit.find(opsType) != registry.m_opsRegedit.end()) { in Registrar() 27 registry.m_opsRegedit[opsType] = createFunc; in Registrar()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/ |
H A D | plugin_registry.cpp | 44 IInterface* CreateFileMonitor(CORE_NS::IClassFactory& registry, CORE_NS::PluginToken token); 45 IInterface* GetFileApiFactory(CORE_NS::IClassRegister& registry, CORE_NS::PluginToken token); 206 vector<InterfaceTypeInfo> PluginRegistry::RegisterGlobalInterfaces(PluginRegistry& registry) in RegisterGlobalInterfaces() argument 209 InterfaceTypeInfo { ®istry, UID_LOGGER, GetName<ILogger>().data(), nullptr, in RegisterGlobalInterfaces() 210 [](IClassRegister& /* registry */, PluginToken token) -> IInterface* { in RegisterGlobalInterfaces() 213 InterfaceTypeInfo { ®istry, UID_FRUSTUM_UTIL, GetName<IFrustumUtil>().data(), nullptr, in RegisterGlobalInterfaces() 214 [](IClassRegister& /* registry */, PluginToken token) -> IInterface* { in RegisterGlobalInterfaces() 217 InterfaceTypeInfo { ®istry, UID_ENGINE_FACTORY, GetName<IEngineFactory>().data(), nullptr, in RegisterGlobalInterfaces() 218 [](IClassRegister& /* registry */, PluginToken token) -> IInterface* { in RegisterGlobalInterfaces() 221 InterfaceTypeInfo { ®istry, UID_SYSTEM_GRAPH_LOADE in RegisterGlobalInterfaces() 614 static PluginRegistry registry; GetPluginRegister() local 623 auto& registry = static_cast<PluginRegistry&>(GetPluginRegister()); CreatePluginRegistry() local [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/test/src/ |
H A D | testing_objects.cpp | 531 auto& registry = META_NS::GetObjectRegistry(); in RegisterTestTypes() local 532 registry.RegisterObjectType(EmbeddedTestType::GetFactory()); in RegisterTestTypes() 533 registry.RegisterObjectType(TestContainer::GetFactory()); in RegisterTestTypes() 534 registry.RegisterObjectType(TestFlatContainer::GetFactory()); in RegisterTestTypes() 535 registry.RegisterObjectType(TestType::GetFactory()); in RegisterTestTypes() 536 registry.RegisterObjectType(MyTestTypeInterpolator::GetFactory()); in RegisterTestTypes() 537 registry.RegisterObjectType(TestAttachment::GetFactory()); in RegisterTestTypes() 538 registry.RegisterObjectType(TestStartable::GetFactory()); in RegisterTestTypes() 539 registry.RegisterObjectType(TestString::GetFactory()); in RegisterTestTypes() 540 registry in RegisterTestTypes() 558 auto& registry = META_NS::GetObjectRegistry(); UnregisterTestTypes() local [all...] |
/foundation/resourceschedule/background_task_mgr/frameworks/common/include/ |
H A D | ipc_util.h | 61 auto registry = ServiceRegistry::GetInstance(); in GetSystemService() local 62 return (registry != nullptr) ? registry->GetService(Str8ToStr16(name)) : nullptr; in GetSystemService()
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | render_configuration_impl.cpp | 89 auto& registry = META_NS::GetObjectRegistry(); in RegisterRenderConfigurationImpl() local 90 registry.RegisterObjectType<RenderConfigurationImpl>(); in RegisterRenderConfigurationImpl() 95 auto& registry = META_NS::GetObjectRegistry(); in UnregisterRenderConfigurationImpl() local 96 registry.UnregisterObjectType<RenderConfigurationImpl>(); in UnregisterRenderConfigurationImpl()
|
H A D | postprocess_effect_impl.cpp | 541 auto& registry = META_NS::GetObjectRegistry(); in RegisterPostprocessEffectImpl() local 542 registry.RegisterObjectType<BloomImpl>(); in RegisterPostprocessEffectImpl() 543 registry.RegisterObjectType<BlurImpl>(); in RegisterPostprocessEffectImpl() 544 registry.RegisterObjectType<ColorConversionImpl>(); in RegisterPostprocessEffectImpl() 545 registry.RegisterObjectType<ColorFringeImpl>(); in RegisterPostprocessEffectImpl() 546 registry.RegisterObjectType<DepthOfFieldImpl>(); in RegisterPostprocessEffectImpl() 547 registry.RegisterObjectType<DitherImpl>(); in RegisterPostprocessEffectImpl() 548 registry.RegisterObjectType<FxaaImpl>(); in RegisterPostprocessEffectImpl() 549 registry.RegisterObjectType<MotionBlurImpl>(); in RegisterPostprocessEffectImpl() 550 registry in RegisterPostprocessEffectImpl() 557 auto& registry = META_NS::GetObjectRegistry(); UnregisterPostprocessEffectImpl() local [all...] |
H A D | scene_nodes.cpp | 46 auto& registry = META_NS::GetObjectRegistry(); in RegisterNodes() local 72 auto& registry = META_NS::GetObjectRegistry(); in UnregisterNodes() local
|
/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/plugin/ |
H A D | intf_class_register.h | 57 /** Get class instance from specified class registry */ 59 auto GetInstance(IClassRegister& registry, const BASE_NS::Uid& uid) in GetInstance() argument 61 IInterface* instance = static_cast<T*>(registry.GetInstance(uid)); in GetInstance() 68 /** Get class instance from specified class registry */ 70 auto GetInstance(const IClassRegister& registry, const BASE_NS::Uid& uid) in GetInstance() argument 72 return GetInstance<T>(const_cast<IClassRegister&>(registry), uid); in GetInstance() 75 /** Get interface from global registry */
|
/foundation/graphic/graphic_3d/lume/metaobject/src/animation/ |
H A D | interpolator.h | 24 void RegisterDefaultInterpolators(IObjectRegistry& registry); 25 void UnRegisterDefaultInterpolators(IObjectRegistry& registry);
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/plugin/ |
H A D | static_plugin.cpp | 59 auto& registry = *engine.GetInterface<IClassRegister>(); in CreatePlugin() local 61 registry.RegisterInterfaceType(token->interfaceInfo_); in CreatePlugin() 90 auto& registry = *state->engine_.GetInterface<IClassRegister>(); in DestroyPlugin() local 91 registry.UnregisterInterfaceType(state->interfaceInfo_); in DestroyPlugin()
|
/foundation/graphic/graphic_3d/lume/LumeFont/src/plugin/ |
H A D | plugin.cpp | 60 auto& registry = *context.GetInterface<CORE_NS::IClassRegister>(); in CreatePlugin() local 61 registry.RegisterInterfaceType(state->interfaceInfo_); in CreatePlugin() 68 auto& registry = *state->context_.GetInterface<CORE_NS::IClassRegister>(); in DestroyPlugin() local 69 registry.UnregisterInterfaceType(state->interfaceInfo_); in DestroyPlugin()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/ohos/ |
H A D | platform_ohos.cpp | 53 void PlatformOHOS::RegisterPluginLocations(IPluginRegister& registry) in RegisterPluginLocations() argument 56 registry.RegisterPluginPath(fileproto + GetPlatformData().coreRootPath); in RegisterPluginLocations() 58 registry.RegisterPluginPath(fileproto + GetPlatformData().appPluginPath); in RegisterPluginLocations()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/mac/ |
H A D | platform_mac.cpp | 82 void PlatformMac::RegisterPluginLocations(IPluginRegister& registry) in RegisterPluginLocations() argument 101 registry.RegisterPluginPath(pluginDirectory); in RegisterPluginLocations() 103 registry.RegisterPluginPath(fileproto + GetPlatformData().appPluginPath); in RegisterPluginLocations()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/linux/ |
H A D | platform_linux.cpp | 82 void PlatformLinux::RegisterPluginLocations(IPluginRegister& registry) in RegisterPluginLocations() argument 85 registry.RegisterPluginPath(fileproto + GetPlatformData().coreRootPath + "plugins/"); in RegisterPluginLocations() 87 registry.RegisterPluginPath(fileproto + GetPlatformData().appPluginPath); in RegisterPluginLocations()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/windows/ |
H A D | platform_windows.cpp | 102 void PlatformWindows::RegisterPluginLocations(IPluginRegister& registry) in RegisterPluginLocations() argument 105 registry.RegisterPluginPath(fileproto + GetPlatformData().coreRootPath + "plugins/"); in RegisterPluginLocations() 107 registry.RegisterPluginPath(fileproto + GetPlatformData().appPluginPath); in RegisterPluginLocations()
|