VR-Forces 4.0.4 Class Documentation
Public Member Functions | Public Attributes | Protected Attributes
DtScenarioExtrasMgr Class Reference

This class defines a manager whose job it is to read the extra scenario data in the .xtr file and make it available to other managers that will use and manage it. More...

List of all members.

Public Member Functions

 DtScenarioExtrasMgr (DtSimManager *simManager)
virtual ~DtScenarioExtrasMgr ()
virtual bool init ()
 Initializes: clears any data in the manager.
virtual bool readScenarioExtrasFile (const DtString &filename)
virtual void writeScenarioExtrasFile (const DtString &filename)
virtual DtRwScenarioExtrasscenarioExtras ()
 Accessor for the extra scenario data.

Public Attributes

DtSimManagermySimManager

Protected Attributes

DtRwScenarioExtras myScenarioExtras

Private Member Functions

 DtScenarioExtrasMgr (const DtScenarioExtrasMgr &orig)
 Not implemented.
DtScenarioExtrasMgroperator= (const DtScenarioExtrasMgr &orig)
 Not implemented.

Detailed Description

This class defines a manager whose job it is to read the extra scenario data in the .xtr file and make it available to other managers that will use and manage it.

It holds a DtRwScenarioExtras object. To extend what is in the .xtr file for a new manager, modify the DtRwScenarioExtras class; this manager does not need to change.


Constructor & Destructor Documentation

Not implemented.


Member Function Documentation

DtScenarioExtrasMgr& DtScenarioExtrasMgr::operator= ( const DtScenarioExtrasMgr orig) [private]

Not implemented.

virtual bool DtScenarioExtrasMgr::init ( ) [virtual]

Initializes: clears any data in the manager.

This function should be called before a new- or load-scenario.

virtual bool DtScenarioExtrasMgr::readScenarioExtrasFile ( const DtString filename) [virtual]
virtual void DtScenarioExtrasMgr::writeScenarioExtrasFile ( const DtString filename) [virtual]

Accessor for the extra scenario data.

This is not a const function because the data will be managed by other managers.


Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)