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