![]() |
VR-Forces 5.0.1 Developer's Guide
|
class DtScenarioLoadManager:
The DtScenarioLoadManager is a very simple manager class that developers can associate scenario extensions for contained items (order of battle, plan, global plan, etc). that can be picked and a particular handler used to load that part of the scenario.
This class will not start with the scenario file that wants to be loaded. There will be a handler for the particular scenario file whos responsibility will be to create a DtScenario object. That scenario object will then be handed off to the other handlers to load the parts of the scenario. This manager will not load the scenario. It is just a place to hang functionality for handlers that can aide in the loading of the scenario. Classes that use this manager can determine the order in which the parts of the scenario want to be loaded.
All extensions are case insensitive

Public Member Functions | |
| DtCreateScenarioObjectHandler () | |
| virtual | ~DtCreateScenarioObjectHandler () |
| virtual DtScenario * | createScenarioObject (const DtFilename &) const =0 |
| virtual DtCreateScenarioObjectHandler * | clone () const =0 |
| DtCreateScenarioObjectHandler::DtCreateScenarioObjectHandler | ( | ) |
CTOR.
|
virtual |
DTOR.
|
pure virtual |
Creates a new scenario object from the given file. It is up to the caller to delete this scenario object.
Implemented in DtScenarioCreateScenarioObjectHandler.
|
pure virtual |
Implemented in DtScenarioCreateScenarioObjectHandler.