JeVois
1.20
JeVois Smart Embedded Machine Vision Toolkit
|
Share this page: |
|
|
|
 |
 |
|
Go to the documentation of this file.
77 DynamicLoader(std::string
const & filename,
bool closeOnDestroy);
80 std::string
const &
sopath()
const;
113 template <
class Signature>
114 std::function<Signature>
load(std::string
const & functionName);
117 bool itsCloseOnDestroy;
118 void * itsLibraryHandle;
119 std::string itsFilename;
125 #include <jevois/Core/details/DynamicLoaderImpl.H>
~DynamicLoader()
Destructor, may close the object on destroy (see constructor arguments)
DynamicLoader(std::string const &filename, bool closeOnDestroy)
Open the shared object located at filename, throws if fail.
const std::string & sopath() const
Retrieve the path to the .so file of this loader, useful to avoid closing and re-loading the same ....
Class to open shared object (.so) files and load functions contained in them.
std::function< Signature > load(std::string const &functionName)
Load the symbol named functionName.
void close()
Close the shared object file.