VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
DtCreateScenarioObjectHandler Class Referenceabstract

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

Inheritance diagram for DtCreateScenarioObjectHandler:
Inheritance graph
[legend]

Public Member Functions

 DtCreateScenarioObjectHandler ()
 
virtual ~DtCreateScenarioObjectHandler ()
 
virtual DtScenariocreateScenarioObject (const DtFilename &) const =0
 
virtual
DtCreateScenarioObjectHandler
clone () const =0
 

Constructor & Destructor Documentation

DtCreateScenarioObjectHandler::DtCreateScenarioObjectHandler ( )

CTOR.

virtual DtCreateScenarioObjectHandler::~DtCreateScenarioObjectHandler ( )
virtual

DTOR.

Member Function Documentation

virtual DtScenario* DtCreateScenarioObjectHandler::createScenarioObject ( const DtFilename &  ) const
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.

virtual DtCreateScenarioObjectHandler* DtCreateScenarioObjectHandler::clone ( ) const
pure virtual

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)