26 #ifndef __TERRALIB_COMMON_INTERNAL_LIBRARY_H
27 #define __TERRALIB_COMMON_INTERNAL_LIBRARY_H
37 #include <boost/noncopyable.hpp>
38 #include <boost/shared_ptr.hpp>
74 Library(
const std::string& fileName,
bool delayLoad =
false)
throw(
Exception);
108 bool isLoaded()
const throw();
117 const std::string& getFileName()
const throw();
130 void* getAddress(
const std::string& symbol)
const throw(
Exception);
139 static std::string getNativeName(
const std::string& name)
throw();
150 static void addSearchDir(
const std::string& d)
throw(
Exception);
159 static void resetSearchPath()
throw(
Exception);
175 static std::string getSearchPath()
throw(
Exception);
189 #endif // __TERRALIB_COMMON_INTERNAL_LIBRARY_H
boost::shared_ptr< Library > LibraryPtr
A class for handling shared libraries (DLLs, SO, DyLibs).
Configuration flags for the TerraLib Common Runtime module.
Impl * m_pImpl
A pointer to the real implementation.
#define TECOMMONEXPORT
You can use this macro in order to export/import classes and functions from this module.
This class is designed to declare objects to be thrown as exceptions by TerraLib. ...
This class is designed to declare objects to be thrown as exceptions by TerraLib. ...