| DtScenarioLoadManager::DtScenarioLoadManager |
( |
| ) |
|
| virtual DtScenarioLoadManager::~DtScenarioLoadManager |
( |
| ) |
|
|
virtual |
| virtual DtScenario* DtScenarioLoadManager::createScenarioObject |
( |
const DtFilename & |
| ) |
const |
|
virtual |
The handlers to create a DtScenario object and then load parts of that scenario are different in their addition and construction, so, different methods are defined to add those parts.
Will get the extension of the file and find the handler for that extension to create the scenario object. If no scenario handler exists then will return NULL.
This class will take ownership of this memory. Will delete an existing handler if this replaces it.
Will return a clone of the handler such that the developer does not have to reinitialize variables. Make sure to delete this handler when done.
Handlers to load parts of the scenario.
This will be registered by extension and will be used by the caller to load the part of the scenario as specified by that extension. It is still up to the developer to determine the order in which files are to be loaded
Will return a clone of the handler such that the developer does not have to reinitialize variables. Make sure to delete this handler when done.
Handlers to save parts of the scenario.
This will be registered by extension and will be used by the caller to save the part of the scenario as specified by that extension. It is still up to the developer to determine the order in which files are to be saved
Will return a clone of the handler such that the developer does not have to reinitialize variables. Make sure to delete this handler when done.
The documentation for this class was generated from the following file: