#include <BasicDynLib.h>
Public Methods | |
virtual | ~BasicDynLib () |
bool | isValid () const |
Returns state of loaded library. More... | |
virtual bool | loadLibrary (const char* filepath) = 0 |
Loads dynamic library into system. More... | |
virtual void* | getFunction (const char* func) = 0 |
Returns a function pointer to the function requested. More... | |
std::list< std::string > | enumDirectory ( std::string path ) |
enumerates a list of all files given a directory and expression in the form of <directory>/[[*][.]]*. More... | |
const std::string& | getFilePath () |
The file path for the library. More... | |
Protected Methods | |
BasicDynLib () | |
Protected Attributes | |
bool | valid_lib |
std::string | file_path |
Added SOMELib functionality will be put into classes which use BasicDynLib. Do not derive from BasicDynLib, unless you are providing a new type of dynamic library loading within BasicDynLib.cpp If you want to use BasicDynLib outside of the SOMELib functionality use newDynLib
Definition at line 39 of file BasicDynLib.h.
|
Definition at line 35 of file BasicDynLib.cpp. |
|
Definition at line 41 of file BasicDynLib.cpp. |
|
enumerates a list of all files given a directory and expression in the form of <directory>/[[*][.]]*.
|
|
The file path for the library.
Definition at line 63 of file BasicDynLib.h. |
|
Returns a function pointer to the function requested.
|
|
Returns state of loaded library.
Definition at line 49 of file BasicDynLib.h. |
|
Loads dynamic library into system.
|
|
Definition at line 73 of file BasicDynLib.h. |
|
Definition at line 72 of file BasicDynLib.h. |