ie_plugin_ptr.hpp
Go to the documentation of this file.
1 // Copyright (C) 2018-2019 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 //
4 
5 /**
6  * @brief A header file contains a wrapper class for handling plugin instantiation and releasing resources
7  * @file ie_plugin_ptr.hpp
8  */
9 #pragma once
10 
11 #include <string>
12 
13 #include "details/ie_so_pointer.hpp"
14 #include "ie_extension.h"
15 #include "ie_plugin.hpp"
16 
17 namespace InferenceEngine {
18 namespace details {
19 
20 IE_SUPPRESS_DEPRECATED_START
21 
22 /**
23  * @deprecated Use InferenceEngine::Core instead.
24  * @brief This class defines the name of the fabric for creating an IInferencePlugin object in DLL
25  */
26 template <>
27 class INFERENCE_ENGINE_DEPRECATED("Use InferenceEngine::Core instead") SOCreatorTrait<IInferencePlugin> {
28 public:
29  /**
30  * @brief A name of the fabric for creating IInferencePlugin object in DLL
31  */
32  static constexpr auto name = "CreatePluginEngine";
33 };
34 
35 } // namespace details
36 
37 /**
38  * @brief A C++ helper to work with objects created by the plugin.
39  * Implements different interfaces.
40  */
41 using InferenceEnginePluginPtr = InferenceEngine::details::SOPointer<IInferencePlugin>;
42 
43 IE_SUPPRESS_DEPRECATED_END
44 
45 } // namespace InferenceEngine
InferenceEngine::details::SOPointer< IInferencePlugin > InferenceEnginePluginPtr
A C++ helper to work with objects created by the plugin. Implements different interfaces.
Definition: ie_plugin_ptr.hpp:41
Inference Engine API.
Definition: ie_argmax_layer.hpp:11
A header file for Main Inference Engine API.
This is a wrapper class for handling plugin instantiation and releasing resources.
A header file that defines a wrapper class for handling extension instantiation and releasing resourc...