![]() |
VR-Forces 4.3.1 Class Documentation
|
The class that will contain information about the currently loaded scenario. More...

Public Member Functions | |
| DtVrfSaveScenarioHandler (makVrv::DtDe &) | |
| virtual | ~DtVrfSaveScenarioHandler () |
| virtual bool | saveScenarioAs () |
| virtual bool | saveScenario (bool forceOverwrite=false) |
| If force overwrite is true, and checkpointing, force an overwrite of the existing scenario file. | |
| virtual void | setScenario (const DtScenario *) |
| virtual bool | saveScenario (const QString &s, bool setAsSaved=true) |
| Saves the specified scenario, and, if optional flag is true, sets last saved filename to supplied filename. | |
| virtual QString | makeRelativeTo (QString origFile, QString path) const |
| virtual void | checkpointScenario (const QString &baseFilename, bool forceOverwrite=false) |
| virtual QString | checkpointIdentifier (const QString &filename) const |
| virtual QString | getTimeString (double time) const |
| virtual std::string | scenarioExtentInformation () const |
| Returns a string representation of the scenario extent for all current entities in the scenario. | |
| const DtScenario * | scenario () const |
| DtFilename | savedFilename () const |
| virtual std::string | defaultObserverView () const |
| Default observer view handling. | |
| virtual void | setDefaultObserverView (const std::string &) |
| Default observer view handling. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtVrfSaveScenarioHandler & | instance (makVrv::DtDe &de) |
| Returns instance of the messager. | |
Public Attributes | |
| boost::signal< void(DtScenario *)> | signal_scenarioInformationAboutToBeSaved |
| Signal sent right before the front-end scenario information is saved including the overlays, selection groups, GUI settings and saved observer views. | |
| boost::signal< void(DtScenario *)> | signal_scenarioAboutToBeSaved |
| Signal sent right before the message is sent to the simulation engines to save the scenario. | |
Protected Member Functions | |
| virtual QString | createFilterList () const |
| virtual QString | startingDirectory () const |
| virtual QString | relativePath () const |
| virtual QString | dataFolder () const |
| virtual bool | processPreserveMappings () |
| virtual bool | saveSelectionGroups (const QString &scenarioName, QString &selectionGroups) const |
| virtual bool | saveOverlays (const QString &scenarioName, QString &overlayName) const |
| virtual bool | saveGuiSettings (const QString &scenarioname, QString &guiSettingsName) const |
| Save out gui settings file. | |
| virtual bool | saveObserverViews (const QString &scenarioname, QString &observerSettingsName) const |
| Save out observer views file. | |
Static Protected Member Functions | |
| static bool | preserveMappings (void *) |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| QString | myStartingDirectory |
| DtScenario * | myScenario |
| double | myLastSavedSimTime |
| std::string | myDefaultObserverView |
The class that will contain information about the currently loaded scenario.
| makVrf::DtVrfSaveScenarioHandler::DtVrfSaveScenarioHandler | ( | makVrv::DtDe & | ) |
|
virtual |
|
static |
Returns instance of the messager.
|
virtual |
If force overwrite is true, and checkpointing, force an overwrite of the existing scenario file.
|
virtual |
|
virtual |
Default observer view handling.
|
virtual |
Default observer view handling.
|
virtual |
Saves the specified scenario, and, if optional flag is true, sets last saved filename to supplied filename.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Returns a string representation of the scenario extent for all current entities in the scenario.
Format is geometric center with the altitude of the highest entity being the altitude, and the half size of the maximum of the width and height of the extent box encompassed by the entities
|
inline |
| DtFilename makVrf::DtVrfSaveScenarioHandler::savedFilename | ( | ) | const |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
staticprotected |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Save out gui settings file.
|
protectedvirtual |
Save out observer views file.
| boost::signal<void (DtScenario*)> makVrf::DtVrfSaveScenarioHandler::signal_scenarioInformationAboutToBeSaved |
Signal sent right before the front-end scenario information is saved including the overlays, selection groups, GUI settings and saved observer views.
This will signal before signal_scenarioAboutToBeSaved.
| boost::signal<void (DtScenario*)> makVrf::DtVrfSaveScenarioHandler::signal_scenarioAboutToBeSaved |
Signal sent right before the message is sent to the simulation engines to save the scenario.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |