1 // Copyright (C) 2018-2019 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
6 * @brief A header file for ICore interface
13 #include "ie_plugin_ptr.hpp"
14 #include "cpp_interfaces/ie_itask_executor.hpp"
16 namespace InferenceEngine {
21 * @brief Minimal ICore interface to allow plugin to get information from Core Inference Engine class.
26 * @brief Returns global to Inference Engine class task executor
27 * @return Reference to task executor
29 virtual std::shared_ptr<ITaskExecutor> GetTaskExecutor() const = 0;
32 * @brief Returns reference to plugin by a device name
33 * @param deviceName - a name of device
34 * @return Reference to plugin
36 virtual InferenceEnginePluginPtr GetPluginByName(const std::string & deviceName) const = 0;
39 * @brief Default virtual destructor
41 virtual ~ICore() = default;
44 } // namespace InferenceEngine