24 #ifndef __DYNAMIC_LIBRARY_LOADER_H__ 
   25 #define __DYNAMIC_LIBRARY_LOADER_H__ 
   27 #include <Safir/Utilities/Internal/UtilsExportDefs.h> 
   28 #include <boost/shared_ptr.hpp> 
   29 #include <boost/function.hpp> 
   62         void Load(
const std::string& libraryName,
 
   63                   const bool unloadOnDestruction,
 
   64                   const bool global = 
false);
 
   96             return reinterpret_cast<T*
>(GetFunctionInternal(functionName));
 
   99         void * GetFunctionInternal(
const std::string& functionName);
 
  102 #pragma warning (push) 
  103 #pragma warning (disable: 4251) 
  107         boost::shared_ptr<Impl> m_impl;
 
  110 #pragma warning (pop) 
  113         bool m_unloadOnDestruction;
 
T * GetFunction(const std::string &functionName)
Find a function in the library. 
Definition: DynamicLibraryLoader.h:94
This class provides a simple wrapper around dynamic loading functionality of the operating system...
Definition: DynamicLibraryLoader.h:41