// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /** * @brief A header file contains a wrapper class for handling plugin instantiation and releasing resources * * @file ie_plugin_ptr.hpp */ #pragma once #include #include "details/ie_so_pointer.hpp" #include "ie_extension.h" #include "ie_plugin.hpp" namespace InferenceEngine { namespace details { IE_SUPPRESS_DEPRECATED_START /** * @deprecated Use InferenceEngine::Core instead. This API will be removed in 2021.1 release. * @brief This class defines the name of the fabric for creating an IInferencePlugin object in DLL */ template <> class INFERENCE_ENGINE_DEPRECATED("Use InferenceEngine::Core instead") SOCreatorTrait { public: /** * @brief A name of the fabric for creating IInferencePlugin object in DLL */ static constexpr auto name = "CreatePluginEngine"; }; } // namespace details /** * @brief A C++ helper to work with objects created by the plugin. * * Implements different interfaces. */ using InferenceEnginePluginPtr = InferenceEngine::details::SOPointer; IE_SUPPRESS_DEPRECATED_END } // namespace InferenceEngine