1 // Copyright (C) 2018-2020 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
6 * @brief A header file contains a wrapper class for handling plugin instantiation and releasing resources
8 * @file ie_plugin_ptr.hpp
14 #include "details/ie_so_pointer.hpp"
15 #include "ie_extension.h"
16 #include "ie_plugin.hpp"
18 namespace InferenceEngine {
21 IE_SUPPRESS_DEPRECATED_START
24 * @deprecated Use InferenceEngine::Core instead.
25 * @brief This class defines the name of the fabric for creating an IInferencePlugin object in DLL
28 class INFERENCE_ENGINE_DEPRECATED("Use InferenceEngine::Core instead") SOCreatorTrait<IInferencePlugin> {
31 * @brief A name of the fabric for creating IInferencePlugin object in DLL
33 static constexpr auto name = "CreatePluginEngine";
36 } // namespace details
39 * @brief A C++ helper to work with objects created by the plugin.
41 * Implements different interfaces.
43 using InferenceEnginePluginPtr = InferenceEngine::details::SOPointer<IInferencePlugin>;
45 IE_SUPPRESS_DEPRECATED_END
47 } // namespace InferenceEngine