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>
Class to open shared object (.so) files and load functions contained in them.
~DynamicLoader()
Destructor, may close the object on destroy (see constructor arguments)
void close()
Close the shared object file.
std::string const & sopath() const
Retrieve the path to the .so file of this loader, useful to avoid closing and re-loading the same ....
std::function< Signature > load(std::string const &functionName)
Load the symbol named functionName.
DynamicLoader(std::string const &filename, bool closeOnDestroy)
Open the shared object located at filename, throws if fail.
Main namespace for all JeVois classes and functions.