38#ifndef BLOCXX_SHAREDLIBRARY_HPP_
39#define BLOCXX_SHAREDLIBRARY_HPP_
40#include "blocxx/BLOCXX_config.h"
69 template<
class fptype >
72 return this->doGetFunctionPointer( functionName,
reinterpret_cast<void**
>(&retval));
86 void** fp )
const = 0;
SharedLibrary is a base class for platform classes that implement the functionality of loading and qu...
virtual bool doGetFunctionPointer(const String &functionName, void **fp) const =0
Derived classes have to override this function to implement the symbol loading.
bool getFunctionPointer(const String &functionName, fptype &retval)
given a symbol name, getFunctionPointer will store a pointer to the function in retval.
This String class is an abstract data type that represents as NULL terminated string of characters.