![]() |
VR-Forces 4.0.4 Class Documentation
|
DtLibraryLoader is used to load VR-Vantage plugins. More...
Public Member Functions | |
| DtLibraryLoader (DtDe &) | |
| CTOR. | |
| virtual | ~DtLibraryLoader () |
| DTOR. | |
| void | getLibrariesInDirectory (const std::string &dir, std::list< std::string > &files) const |
| Get a list of all library files in the directory. | |
| void | loadAllInDirectory (const std::string &dir) |
| Load all libraries in a directory. | |
| void | loadLibary (const std::string &library) |
| Load a single library. | |
| void | initializeLibraries () |
| Initialize all loaded libraries. | |
Protected Types | |
| typedef bool(* | IgInitFunction )(DtDe *) |
| typedef std::map< std::string, DtDynamicLibrary * > | LibraryMap |
Protected Member Functions | |
| virtual bool | initializeLibrary (DtDynamicLibrary *lib) |
| Initialize a library (by calling it's init functions). | |
| virtual bool | isLibraryIGCompatible (DtDynamicLibrary *lib) |
| check to see if a library has the necessary IG functions. | |
Protected Attributes | |
| DtDe * | myDe |
| LibraryMap | myLibraries |
Static Protected Attributes | |
| static const char * | theIgInitFunction |
DtLibraryLoader is used to load VR-Vantage plugins.
typedef bool(* makVrv::DtLibraryLoader::IgInitFunction)(DtDe *) [protected] |
typedef std::map<std::string, DtDynamicLibrary*> makVrv::DtLibraryLoader::LibraryMap [protected] |
CTOR.
| virtual makVrv::DtLibraryLoader::~DtLibraryLoader | ( | ) | [virtual] |
DTOR.
| void makVrv::DtLibraryLoader::getLibrariesInDirectory | ( | const std::string & | dir, |
| std::list< std::string > & | files | ||
| ) | const |
Get a list of all library files in the directory.
| void makVrv::DtLibraryLoader::loadAllInDirectory | ( | const std::string & | dir | ) |
Load all libraries in a directory.
| void makVrv::DtLibraryLoader::loadLibary | ( | const std::string & | library | ) |
Load a single library.
Initialize all loaded libraries.
| virtual bool makVrv::DtLibraryLoader::initializeLibrary | ( | DtDynamicLibrary * | lib | ) | [protected, virtual] |
Initialize a library (by calling it's init functions).
| virtual bool makVrv::DtLibraryLoader::isLibraryIGCompatible | ( | DtDynamicLibrary * | lib | ) | [protected, virtual] |
check to see if a library has the necessary IG functions.
const char* makVrv::DtLibraryLoader::theIgInitFunction [static, protected] |
DtDe* makVrv::DtLibraryLoader::myDe [protected] |
LibraryMap makVrv::DtLibraryLoader::myLibraries [protected] |