This is a class to load a suitable plugin. More...
#include <ie_plugin_dispatcher.hpp>
Public Member Functions | |
| PluginDispatcher (const std::vector< file_name_t > &pp={file_name_t()}) | |
| A constructor. More... | |
| virtual InferencePlugin | getPluginByName (const file_name_t &name) const |
| Loads a plugin from plugin directories. More... | |
| InferencePlugin | getPluginByDevice (const std::string &deviceName) const |
| Loads a plugin from directories that is suitable for the device string. More... | |
| InferenceEnginePluginPtr | getSuitablePlugin (TargetDevice device) const |
| Loads a plugin from directories that is suitable for the device. More... | |
Protected Member Functions | |
| 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.
|
explicit |
A constructor.
| pp | Vector of paths to plugin directories |
| InferencePlugin InferenceEngine::PluginDispatcher::getPluginByDevice | ( | const std::string & | deviceName | ) | const |
Loads a plugin from directories that is suitable for the device string.
|
virtual |
Loads a plugin from plugin directories.
| name | Plugin name |
| InferenceEnginePluginPtr InferenceEngine::PluginDispatcher::getSuitablePlugin | ( | TargetDevice | device | ) | const |
Loads a plugin from directories that is suitable for the device.
|
protected |
Creates path to the plugin.
| path | Path to the plugin |
| input | Plugin name |