1 #ifndef __DYNLIBLOADERGNU_HXX__
2 #define __DYNLIBLOADERGNU_HXX__
13 void *_handleOnLoadedLib;
15 static const char _extForDynLib[];
17 DynLibLoaderGNU(const std::string& libNameWithoutExtension);
19 bool isLibFileFindable() const;
20 std::string getLibNameWithoutExt() const;
21 int appendDirInSearchPath(const std::string& dirName);
22 int removeDirInSearchPath(const std::string& dirName);
23 void *getHandleOnSymbolWithName(const std::string& symbName, bool stopOnError=true);
24 static const char *getExtensionForDynLib();
30 void loadLib() { load(); }//! load lib without regarding that _libName is reachable
31 void *resolveSymb(const std::string& symbName, bool stopOnError);