Go to the documentation of this file. 1 #ifndef CPPUNIT_PLUGIN_DYNAMICLIBRARYMANAGER_H
2 #define CPPUNIT_PLUGIN_DYNAMICLIBRARYMANAGER_H
7 #if !defined(CPPUNIT_NO_TESTPLUGIN)
119 #endif // !defined(CPPUNIT_NO_TESTPLUGIN)
121 #endif // CPPUNIT_PLUGIN_DYNAMICLIBRARYMANAGER_H
Symbol findSymbol(const std::string &symbol)
Returns a pointer on the specified symbol exported by the library.
Definition: DynamicLibraryManager.cpp:24
~DynamicLibraryManager()
Releases the loaded library..
Definition: DynamicLibraryManager.cpp:17
void loadLibrary(const std::string &libraryName)
Definition: DynamicLibraryManager.cpp:44
LibraryHandle doLoadLibrary(const std::string &libraryName)
void * Symbol
Definition: DynamicLibraryManager.h:37
DynamicLibraryManager(const std::string &libraryFileName)
Loads the specified library.
Definition: DynamicLibraryManager.cpp:9
void operator=(const DynamicLibraryManager ©)
Prevents the use of the copy operator.
Symbol doFindSymbol(const std::string &symbol)
LibraryHandle m_libraryHandle
Definition: DynamicLibraryManager.h:112
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:105
#define CPPUNIT_NS_END
Definition: Portability.h:106
Manages dynamic libraries.
Definition: DynamicLibraryManager.h:34
void releaseLibrary()
Definition: DynamicLibraryManager.cpp:64
std::string getLastErrorDetail() const
void * LibraryHandle
Definition: DynamicLibraryManager.h:38
std::string m_libraryName
Definition: DynamicLibraryManager.h:113