![]() |
VR-Forces 4.1.1 Class Documentation
|
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...
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 DtRwScenarioExtras & | scenarioExtras () |
| Accessor for the extra scenario data. | |
Public Attributes | |
| DtSimManager * | mySimManager |
Protected Attributes | |
| DtRwScenarioExtras | myScenarioExtras |
Private Member Functions | |
| DtScenarioExtrasMgr (const DtScenarioExtrasMgr &orig) | |
| Not implemented. | |
| DtScenarioExtrasMgr & | operator= (const DtScenarioExtrasMgr &orig) |
| Not implemented. | |
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.
| DtScenarioExtrasMgr::DtScenarioExtrasMgr | ( | DtSimManager * | simManager | ) |
|
virtual |
|
private |
Not implemented.
|
private |
Not implemented.
|
virtual |
Initializes: clears any data in the manager.
This function should be called before a new- or load-scenario.
|
virtual |
|
virtual |
Accessor for the extra scenario data.
This is not a const function because the data will be managed by other managers.
| DtSimManager* DtScenarioExtrasMgr::mySimManager |
|
protected |