![]() |
VR-Forces 4.6 Class Documentation
|
This class manages a set of DtTerrainImplementation subclasses by maintaining a factory for creating them, and my managing their registration by opening the libraries. More...
Public Member Functions | |
| DtTerrainImplementationManager () | |
| virtual | ~DtTerrainImplementationManager () |
| virtual void | init (DtTerrainInterface *terrainIf, DtConsoleCommandManager *cmdMgr) |
| virtual void | addTerrainImplementation (const DtString &implementationName, DtTerrainImplementationCreatorFcn creatorFcn) |
| virtual void | addTerrainPassThroughLayer (const DtString &passThoughName, DtTerrainPassThroughLayerCreatorFcn creatorFcn) |
| virtual void | loadImplementationLibraries (DtTerrainInterface *terrainIf) |
| Looks for terrain implementation libraries on the disk and loads them in. | |
| virtual bool | loadImplementationLibrary (const DtFilename &filename, DtTerrainInterface *terrainIf) |
| Loads the specified shared library and adds it to the list of loaded dynamic libraries. | |
| virtual DtTerrainImplementation * | addPassThroughLayer (DtTerrainImplementation *impl, const DtString &layerType, const DtString ¶ms=DtString()) const |
| Creates a DtTerrainPassThroughLayer of the type specified, and wraps impl inside of it. | |
| virtual std::list< DtString > | availablePassThroughLayers () const |
| virtual DtTerrainImplementation * | createTerrainImplementation (const DtString &implType) const |
| Creates the terrain implementation based on the implType specified. | |
Protected Attributes | |
| DtTerrainImplementationFactory | myTerrainImplFactory |
| std::list< DtDynamicLibrary * > | myImplementationLibList |
| DtTerrainPassThroughLayerFactory | myTerrainPassThroughFactory |
| DtConsoleCommandManager * | myCommandManager |
| DtTerrainInterfaceConfig | myConfig |
Private Member Functions | |
| DtTerrainImplementationManager (const DtTerrainImplementationManager &orig) | |
| Not Implemented. | |
| DtTerrainImplementationManager & | operator= (const DtTerrainImplementationManager &orig) |
This class manages a set of DtTerrainImplementation subclasses by maintaining a factory for creating them, and my managing their registration by opening the libraries.
|
private |
Not Implemented.
| DtTerrainImplementationManager::DtTerrainImplementationManager | ( | ) |
|
virtual |
|
private |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Looks for terrain implementation libraries on the disk and loads them in.
|
virtual |
Loads the specified shared library and adds it to the list of loaded dynamic libraries.
|
virtual |
Creates a DtTerrainPassThroughLayer of the type specified, and wraps impl inside of it.
Returns the new layer. If the layer cannot be created, then impl is returned.
|
virtual |
|
virtual |
Creates the terrain implementation based on the implType specified.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |