22 #ifndef ROBOTTESTINGFRAMEWORK_SHAREDLIBRARY_H
23 #define ROBOTTESTINGFRAMEWORK_SHAREDLIBRARY_H
64 bool open(
const char* filename);
Low-level wrapper for loading shared libraries (DLLs) and accessing symbols within it.
std::string error()
Returns a human-readable string describing the most recent error that occurred from a call to one of ...
SharedLibrary(const char *filename)
Load the named shared library / DLL.
bool isValid() const
Check if the shared library is valid.
void * getSymbol(const char *symbolName)
Look up a symbol in the shared library.
virtual ~SharedLibrary()
Destructor.
SharedLibrary()
Initialize, without opening a shared library yet.
SharedLibrary & operator=(const SharedLibrary &)
bool open(const char *filename)
Load the named shared library / DLL.
SharedLibrary(const SharedLibrary &)
bool close()
Shared library no longer needed, unload if not in use elsewhere.