#include <module.h>
Collaboration diagram for ModuleManager:
Public Member Functions | |
ModuleManager () | |
virtual | ~ModuleManager () |
bool | AddSearchPath (const HashString &rstrPath, bool bForce=false) |
void | RemoveSearchPath (const HashString &rstrPath) |
virtual ModulePtr | LoadModule (const HashString &rstrName) |
virtual void | InsertModule (Module *pkModule) |
virtual void | RemoveModule (Module *pkModule, bool bDeleted=false) |
Protected Member Functions | |
bool | PathExists (const HashString &rstrPath) |
Protected Attributes | |
std::vector< HashString > | m_vstrSearchPaths |
HashTable< Module > | m_hashModules |
|
Startup the module manager |
|
Shutdown the module manager, free existing modules |
|
Check to see if the given path exists.
|
|
Adds a search path for modules
|
|
Removes a search path from the manager
|
|
Gets an Module reference for the named module. If the module has already been loaded, get a reference to it, otherwise try to load it first.
|
|
Manually insert a (statically) linked module
|
|
Unregister a module
|
|
List of search paths |
|
Hash table of loaded modules |