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 "ie_common.h"
#include "ie_so_loader.h"
#include "details/ie_exception.hpp"
#include "details/ie_no_release.hpp"
#include "details/ie_irelease.hpp"

Go to the source code of this file.

Functions

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

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 std::string &  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
Parameters
nameA std::string name of the shared library file
Returns
shared_pointer A wrapper for the given type from a specific shared module