Functions
ie_so_pointer.hpp File Reference

This is a wrapper class for handling plugin instantiation and releasing resources. More...

#include <cassert>
#include <memory>
#include <string>
#include <type_traits>
#include "details/ie_exception.hpp"
#include "details/ie_no_release.hpp"
#include "details/ie_irelease.hpp"
#include "details/os/os_filesystem.hpp"
#include "ie_common.h"
#include "ie_so_loader.h"

Go to the source code of this file.

Functions

template<class T >
std::shared_ptr< T > InferenceEngine::make_so_pointer (const file_name_t &name)=delete
 Creates a special shared_pointer wrapper for the given type from a specific shared module. More...
 

Detailed Description

This is a wrapper class for handling plugin instantiation and releasing resources.

Function Documentation

§ make_so_pointer()

template<class T >
std::shared_ptr<T> InferenceEngine::make_so_pointer ( const file_name_t &  name)
inlinedelete

Creates a special shared_pointer wrapper for the given type from a specific shared module.

Template Parameters
TAn type of object SOPointer can hold
Parameters
nameName of the shared library file
Returns
A created object
Deprecated:
Use make_so_pointer with IExtension as template argument type.
Parameters
nameName of the shared library file
Returns
shared_pointer A wrapper for the given type from a specific shared module
Parameters
nameName of the shared library file
Returns
shared_pointer A wrapper for the given type from a specific shared module