Files
openvino/cmake/developer_package/plugins/plugins.hpp.in
Ilya Churaev a205c675db Fix leftovers after removing plugins.xml (#16487)
* Fixed comments

* Rename ie_plugins to ov_plugins

* Remove dependency from tests
2023-03-23 04:32:36 +00:00

39 lines
788 B
C++

// Copyright (C) 2018-2023 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <map>
#include <string>
#ifdef OPENVINO_STATIC_LIBRARY
#include "cpp_interfaces/interface/ie_iplugin_internal.hpp"
@OV_PLUGINS_DECLARATIONS@
struct Value {
InferenceEngine::CreatePluginEngineFunc * m_create_plugin_func;
InferenceEngine::CreateExtensionFunc * m_create_extension_func;
std::map<std::string, std::string> m_default_config;
};
#else
struct Value {
std::string m_plugin_path;
std::map<std::string, std::string> m_default_config;
};
#endif
using Key = std::string;
using PluginsStaticRegistry = std::map<Key, Value>;
inline const std::map<Key, Value> getCompiledPluginsRegistry() {
@OV_PLUGINS_MAP_DEFINITION@
return plugins_hpp;
}