Template Function lsst::base::loadSymbol

Function Documentation

template<typename T>
T *lsst::base::loadSymbol(std::string const &libName, std::string const &symName)

Parameters
  • libName: Library name (NOT including “.so” or “.dylib”)

  • symName: Symbol name

Load a symbol from a dynamic library

The proper filename extension will be added to the library name unless one is specified.

No mangling is performed on the symbol name.