Mantid
|
Simple class for opening shared libraries at run-time. More...
#include <DllOpen.h>
Public Member Functions | |
DllOpen ()=delete | |
DllOpen (const DllOpen &)=delete | |
~DllOpen ()=delete | |
Static Public Member Functions | |
static void | closeDll (void *handle) |
Static method for closing the shared library. More... | |
static bool | isValidFilename (const std::string &filename) |
Check if the filename conforms to the expected style for this platform. More... | |
static void * | openDll (const std::string &filepath) |
Static method for opening the shared library. More... | |
Simple class for opening shared libraries at run-time.
Works for Windows and Linux.
|
delete |
|
delete |
|
delete |
|
static |
Static method for closing the shared library.
Definition at line 107 of file DllOpen.cpp.
References UNUSED_ARG.
Referenced by Mantid::Kernel::LibraryWrapper::~LibraryWrapper().
|
static |
Check if the filename conforms to the expected style for this platform.
Does the file have the expected form for this platform.
filename | The file name of the library |
Definition at line 88 of file DllOpen.cpp.
References Mantid::Kernel::LIB_PREFIX.
Referenced by Mantid::Kernel::LibraryManagerImpl::shouldBeLoaded().
|
static |
Static method for opening the shared library.
Definition at line 96 of file DllOpen.cpp.
References Mantid::Kernel::Logger::error(), and Mantid::Kernel::DateAndTimeHelpers::g_log.
Referenced by Mantid::Kernel::LibraryWrapper::openLibrary().