Home
last modified time | relevance | path

Searched refs:PluginRegistInfo (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/base/include/
H A Dplugin_factory.h27 struct DllExport PluginRegistInfo { struct
28 PluginRegistInfo(std::function<std::shared_ptr<Plugin>()> getPluginObject, in PluginRegistInfo() function
40 static void RegisterPlugin(const std::string& name, std::shared_ptr<PluginRegistInfo> func); argument
43 static std::shared_ptr<PluginRegistInfo> GetGlobalPluginInfo(const std::string& name);
46 static std::shared_ptr<std::unordered_map<std::string, std::shared_ptr<PluginRegistInfo>>>
52 PluginRegister(const std::string& name, std::shared_ptr<PluginRegistInfo> fp) in PluginRegister()
70 std::make_shared<PluginRegistInfo>(Register##ClassName::GetObject, \
/ohos5.0/base/hiviewdfx/hiview/base/
H A Dplugin_factory.cpp21 std::shared_ptr<std::unordered_map<std::string, std::shared_ptr<PluginRegistInfo>>> PluginFactory::… in GetGlobalPluginRegistryMap()
23 …static std::shared_ptr<std::unordered_map<std::string, std::shared_ptr<PluginRegistInfo>>> pluginM… in GetGlobalPluginRegistryMap()
25 …pluginMap = std::make_shared<std::unordered_map<std::string, std::shared_ptr<PluginRegistInfo>>>(); in GetGlobalPluginRegistryMap()
30 std::shared_ptr<PluginRegistInfo> PluginFactory::GetGlobalPluginInfo(const std::string& name) in GetGlobalPluginInfo()
49 void PluginFactory::RegisterPlugin(const std::string& name, std::shared_ptr<PluginRegistInfo> func) in RegisterPlugin()
58 pluginMap->insert(std::pair<std::string, std::shared_ptr<PluginRegistInfo>>(name, func)); in RegisterPlugin()
H A Dlibhiviewbase.map52 …har>, std::__h::allocator<char>> const&, std::__h::shared_ptr<OHOS::HiviewDFX::PluginRegistInfo>)";
/ohos5.0/base/hiviewdfx/hiview/base/test/unittest/common/
H A Dplugin_factory_test.cpp57 std::make_shared<PluginRegistInfo>(RegisterPluginExample2::GetObject, false, false));
/ohos5.0/base/hiviewdfx/hiview/core/
H A Dhiview_platform.cpp413 …std::shared_ptr<PluginRegistInfo> registInfo = PluginFactory::GetGlobalPluginInfo(pluginInfo.name); in CreatePlugin()
523 …std::shared_ptr<PluginRegistInfo> registInfo = PluginFactory::GetGlobalPluginInfo(pluginInfo.name); in InitPlugin()
903 …std::shared_ptr<PluginRegistInfo> registInfo = PluginFactory::GetGlobalPluginInfo(proxyPtr->GetNam… in InstancePluginByProxy()