This is a class to load a suitable plugin.
More...
#include <ie_plugin_dispatcher.hpp>
|
file_name_t | make_plugin_name (const file_name_t &path, const file_name_t &input) const |
| Creates path to the plugin. More...
|
|
This is a class to load a suitable plugin.
- Deprecated:
- Use InferenceEngine::Core instead. Will be removed in 2021.1
§ PluginDispatcher()
InferenceEngine::PluginDispatcher::PluginDispatcher |
( |
const std::vector< file_name_t > & |
pp = {file_name_t()} | ) |
|
|
explicit |
A constructor.
- Parameters
-
pp | Vector of paths to plugin directories |
§ getPluginByDevice()
InferencePlugin InferenceEngine::PluginDispatcher::getPluginByDevice |
( |
const std::string & |
deviceName | ) |
const |
Loads a plugin from directories that is suitable for the device string.
- Deprecated:
- Use InferenceEngine::Core to work with devices by name
- Parameters
-
deviceName | A string value representing target device |
- Returns
- A pointer to the plugin
§ getPluginByName()
virtual InferencePlugin InferenceEngine::PluginDispatcher::getPluginByName |
( |
const file_name_t & |
name | ) |
const |
|
virtual |
Loads a plugin from plugin directories.
- Parameters
-
- Returns
- A pointer to the loaded plugin
§ make_plugin_name()
file_name_t InferenceEngine::PluginDispatcher::make_plugin_name |
( |
const file_name_t & |
path, |
|
|
const file_name_t & |
input |
|
) |
| const |
|
protected |
Creates path to the plugin.
- Parameters
-
path | Path to the plugin |
input | Plugin name |
- Returns
- The path to the plugin
The documentation for this class was generated from the following file: