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

The class to load a piece of the scenario. Return false if the load of that piece fails.

Inheritance diagram for DtLoadScenarioPieceHandler:
Inheritance graph
[legend]

Public Member Functions

 DtLoadScenarioPieceHandler ()
 
virtual ~DtLoadScenarioPieceHandler ()
 
virtual bool loadScenarioPiece (const DtScenario &, void *userData=0)=0
 
virtual
DtLoadScenarioPieceHandler
clone () const =0
 

Constructor & Destructor Documentation

DtLoadScenarioPieceHandler::DtLoadScenarioPieceHandler ( )

CTOR.

virtual DtLoadScenarioPieceHandler::~DtLoadScenarioPieceHandler ( )
virtual

DTOR.

Member Function Documentation

virtual bool DtLoadScenarioPieceHandler::loadScenarioPiece ( const DtScenario ,
void *  userData = 0 
)
pure virtual

Creates a new scenario object from the given file. It is up to the caller to delete this scenario object.

User data is specific to the handler

Implemented in DtLoadOrderOfBattleHandler.

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

Implemented in DtLoadOrderOfBattleHandler.


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

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)