zeus::TLibraryManager Class Reference
#include <LibraryManager.h>
List of all members.
Detailed Description
The library manager contains a list of loaded libraries and their module factories
Member Enumeration Documentation
- Enumerator:
-
| etUseSecurity |
|
| etNoSecurity |
|
Member Function Documentation
Returns the singleton object
| void zeus::TLibraryManager::setDelegationInterface |
( |
ILibraryManager & |
rManager |
) |
|
Sets a delegation interface. All method calls will be delegated.
- Parameters:
-
| void zeus::TLibraryManager::releaseDelegationInterface |
( |
|
) |
[inline] |
Release the delegation interface
| Retval zeus::TLibraryManager::addCodeModule |
( |
const IString & |
rName |
) |
[inline] |
This adds a new code module to the library manager. The code module will be loaded if possible. If the loading fails, the module will be added anyway, so a conflict can been seen.
- Parameters:
-
| rName | : Name of the code module. |
- Returns:
- For return values see addCodeModule(name, path)
| Retval zeus::TLibraryManager::addCodeModule |
( |
const IString & |
rName, |
|
|
const IString & |
rPath | |
|
) |
| | |
Adds a libaray to the manager
- Parameters:
-
| rName | : Name of the code module |
| rPath | : code module path |
- Return values:
-
| RET_NOERROR | : Code module loaded |
| RET_ACCESS_DENIED | : Security policy denies to load this code module |
| RET_REQUEST_FAILED | : Library already loaded |
| RET_INVALID_DATA | : Could not load library. (Invalid name) |
Security code must come here
| bool zeus::TLibraryManager::hasCodeModule |
( |
const IString & |
rName |
) |
|
Checks if a code module has been added already.
- Parameters:
-
| rName | : Name of the code module |
- Return values:
-
| true | : Code module has been added |
| false | : Code module has not been added |
| TString zeus::TLibraryManager::getCodeModulePath |
( |
|
) |
const [inline] |
Gets the code module path.
- Returns:
- basepath of the modules
| void zeus::TLibraryManager::setCodeModulePath |
( |
const IString & |
rPath |
) |
|
Sets the code module path.
- Parameters:
-
| path | : basepath of the modules |
| void zeus::TLibraryManager::setSecurity |
( |
ESecurityLevel |
eMode |
) |
[inline] |
Sets the security level
- Parameters:
-
| eMode | : new security mode |
| Retval zeus::TLibraryManager::remove |
( |
const IString & |
rName |
) |
|
Removes a code module from the list
- Parameters:
-
| rName | : Name of the code module |
- Return values:
-
| RET_NOERROR | : Code module removed |
| RET_REQUEST_FAILED,: | Code module was not registered |
| void zeus::TLibraryManager::removeAll |
( |
|
) |
|
| void zeus::TLibraryManager::setFilePrefix |
( |
const IString & |
rValue |
) |
[inline] |
Sets the prefix of the librariy files
| Retval MQUALIFIER zeus::TLibraryManager::createObject |
( |
const IString & |
rCodeModule, |
|
|
const IString & |
rClassName, |
|
|
IZUnknown *& |
rpIface | |
|
) |
| | [virtual] |
| Retval MQUALIFIER zeus::TLibraryManager::registerXClass |
( |
const IString & |
rCodeModule, |
|
|
const IString & |
rClassName, |
|
|
Uint & |
rHandle | |
|
) |
| | [virtual] |
| virtual Retval MQUALIFIER zeus::TLibraryManager::askForInterface |
( |
Uint |
uiInterfaceID, |
|
|
IZUnknown *& |
rpIface | |
|
) |
| | [virtual] |
| virtual void MQUALIFIER zeus::TLibraryManager::addRef |
( |
|
) |
const [virtual] |
| virtual void MQUALIFIER zeus::TLibraryManager::release |
( |
|
) |
const [virtual] |
The documentation for this class was generated from the following files: