VR-Forces 4.1 Class Documentation
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Friends
makVrf::DtVrfScenarioManager Class Reference

The class that will contain information about the currently loaded scenario. More...

Inheritance diagram for makVrf::DtVrfScenarioManager:
Inheritance graph
[legend]

Public Types

enum  DtJoinSessionTerrainAction {
  DtTerrainActionUseSessionTerrain, DtTerrainActionChooseAlternateTerrain, DtTerrainActionKeepCurrentTerrain, DtShowSessionStartupDialog,
  DtLoadScenarioSpecifiedInApplication
}
enum  SessionStatusDialogs { Loading = 0x00000001, Saving = 0x00000002, Closing = 0x00000004, AllStatusDialogs = Loading | Saving | Closing }

Public Member Functions

 DtVrfScenarioManager (makVrv::DtDe &)
virtual ~DtVrfScenarioManager ()
const DtScenarioExplorerscenarioExplorer () const
const std::vector
< DtEntityMapperKey > & 
controlObjects () const
virtual void addControlObject (const DtEntityMapperKey &key)
virtual void removeControlObject (const DtEntityMapperKey &key)
virtual void clearControlObjects ()
virtual bool isControlObject (const DtEntityMapperKey &key) const
virtual void closeScenario (bool resetScenario=true)
virtual bool loadScenario (const std::string &s)
virtual bool loadScenario (const DtScenarioLoadInformation &s)
virtual void runScenario ()
virtual void pauseScenario ()
virtual void rewindScenario ()
virtual void setCreateMenuBuilderFlags (DtCreateMenuBuilder::Flags)
 Sets the flags to use when creating the menu for the create menu.
virtual DtCreateMenuBuilder::Flags createMenuBuilderFlags () const
virtual void tickedLoadScenario ()
 Schedules to call the load scenario method (with current main window) on the next de tick.
virtual void tickedNewScenario ()
 Schedules to call the new scenario method (with current main window) on the next de tick.
virtual void loadScenarioFromDialog (QWidget *p)
 Creates and shows load scenario dialog.
virtual DtLoadScenarioDialogcreateLoadScenarioDialog (QWidget *)
virtual void setHelpFile (const std::string &, bool save=false)
 Sets the help file to use when pressing the F1 key.
virtual std::string helpFile () const
virtual void setDefaultScenarioFile (const std::string &f, bool save=false)
 Sets the scenario file used as the default when creating a new scenario.
virtual std::string defaultScenarioFile () const
virtual void setDefaultSimulationModelSetFile (const std::string &f, bool save=false)
 Sets the default .sms file to use when loading a scenario if none is found in the scenario to be loaded.
virtual std::string defaultSimulationModelSetFile () const
virtual void rebuildCreateMenu ()
 Call to regenerate the menu from the model set structure and then recreate the menu.
virtual void recreateCreateMenu ()
 Call to start the process of recreating the create menu from the current menu structure.
virtual void loadTaskMenu (const DtScenarioExplorer &explorer)
 Call to recreate the set menu from initialTaskMenuConfiguration.
virtual void loadSetMenu (const DtScenarioExplorer &explorer)
 Call to recreate the task menu from initialSetMenuConfiguration.
virtual DtScenarioSettingsDialogcreateNewScenarioDialog (QWidget *p)
 Creates and shows new scenario dialog.
virtual void newScenarioFromDialog (QWidget *p)
virtual void newScenario (const std::string &)
 Creates a new scenario on specified terrain using default.scn as the scenario base.
virtual void loadBatchScenario (QWidget *)
 Calls to batch scenario manager to load batch scenario.
virtual bool joinSession (DtJoinSessionTerrainAction terrainAction=DtTerrainActionUseSessionTerrain)
 Does the actual joining to the session.
virtual void resignSession (bool closeTerrain=true)
virtual bool saveScenarioAs ()
virtual bool saveScenario ()
virtual bool canRewind () const
void setValidateForVrfObjects (bool b)
 Default is true.
bool validateForVrfObjects () const
void setScenarioDirty (bool b)
bool scenarioDirty () const
const DtScenarioscenario () const
void setAskSaveIfScenarioModified (bool b)
bool askSaveIfScenarioModified () const
bool joinedToSession () const
void setDisplayExistingGdbWarningMessages (bool b)
bool displatExistingGdbWarningMessages () const
virtual void setCorrelated (bool)
bool correlated () const
DtMenucreateMenu ()
bool initialized () const
const DtDeadReckoningSettingsdeadReckoningSettings () const
void setAllowEditingOnScenarioJoin (bool b)
bool allowEditingOnScenarioJoint () const
virtual std::string currentlyLoadedTerrain () const
virtual void processJoinSession (bool startupMessage=false)
virtual void setFromRecord (const DtVrfSessionSettingsRecord &rec)
virtual void setFromRecord (const DtVrfScriptedTaskSettingsRecord &rec)
virtual void loadDefaultSessionSettings (bool loadOnlyFactorySettings=false)
virtual void loadDefaultScriptedTaskSettings (bool loadOnlyFactorySettings=false)
virtual void saveSessionSettingsAsDefaults ()
virtual void saveScriptedTaskSettingsAsDefaults ()
virtual void getRecord (DtVrfSessionSettingsRecord &rec) const
virtual void getRecord (DtVrfScriptedTaskSettingsRecord &rec) const
virtual bool autoJoinSession () const
 Access to session record information.
virtual bool askToJoin () const
virtual bool alwaysJoinWithSessionDatabase () const
virtual bool alwaysJoinWithOpenDatabase () const
virtual bool displaySessionDialogs () const
virtual bool displayCorrelationWarningMessages () const
virtual void setFavorite (const DtEntityMapperKey &, bool f)
 Sets the item to be a favorite then signals to recreate create menu.
makVrv::DtRecordSettingsBackupInterfacesessionSettingsBackup ()
makVrv::DtRecordSettingsBackupInterfacescriptedTaskSettingsBackup ()
void exportSessionSettings (const std::string &fileName)
 Exports the current cache settings to a file.
void importSessionSettings (const std::string &fileName)
 Import the current cache settings from a file.
void exportScriptedTaskSettings (const std::string &fileName)
 Exports the current cache settings to a file.
void importScriptedTaskSettings (const std::string &fileName)
 Import the current cache settings from a file.
virtual void setDoNotShowSessionStartupDialog (bool)
 Sets whether or not to show the startup session dialog.
bool showSessionStartupDialog () const
virtual void setStartupPreference (int)
 Preference on startup (new scenario on VR-TheWorldServer, new scenario, or load scenario)
int startupPreference () const
virtual void setAggregateOnCreate (bool)
 Sets to whether or not create aggregates as true aggregates (true) or psuedo aggregates (false) when initially created.
bool aggregateOnCreate () const
virtual void setUserDefinedSmoothing (bool)
 Sets whether or not the user or system is defining smoothing in performance options.
bool userDefinedSmoothing () const
virtual void setWindowTitle (const QString &)
 Sets the title of the main window to the given name.
virtual void setShowSessionStatusDialogs (SessionStatusDialogs)
 Sets to show which type of session status dialogs.
SessionStatusDialogs showSessionStatusDialogs () const
virtual void setDenySystemScriptEditing (bool)
 Sets whether or not system script editing is allowed. By default it is.
virtual bool denySystemScriptEditing () const
virtual void setIndent (int)
 Returns the indent level (in pixels) to apply to scripted task dialog indents.
virtual int indent () const
virtual void setWarnOnSystemScriptChange (bool)
 Returns true if should give warning on system script change with meta data or script.
virtual bool warnOnSystemScriptChange () const
virtual void setMonitorScriptedTaskFrameRates (bool)
 Returns true if should show frame rates for scripts.
virtual bool monitorScriptedTaskFrameRates () const
virtual void setAutoSave (bool)
 Set to false to not save on settings change. Default is true.
virtual bool autoSave () const
virtual void setShowScenarioDescriptionMessageBox (bool b, bool save)
 Sets whether or not to show scenario description message box.
virtual bool showScenarioDescriptionMessageBox () const
virtual const
DtSubMenuConfiguration
initialCreateMenuConfiguration () const
 Valid after scenario is loaded.
virtual DtSubMenuConfigurationinitialCreateMenuConfiguration ()
virtual const
DtSubMenuConfiguration
initialTaskMenuConfiguration () const
 Valid after scenario is loaded.
virtual DtSubMenuConfigurationinitialTaskMenuConfiguration ()
virtual const
DtSubMenuConfiguration
initialSetMenuConfiguration () const
 Valid after scenario is loaded.
virtual DtSubMenuConfigurationinitialSetMenuConfiguration ()
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Static Public Member Functions

static DtVrfScenarioManagerinstance (makVrv::DtDe &de)
 Returns instance of the messager.
static void init (makVrv::DtDe &)
 Initialize manager. Must be called once.

Friends

class DtSessionStatusBox
boost::signal< void()> signal_setMenuConfigurationLoaded
 Signal sent when a scenario has just been loaded, either locally or remotely.
boost::signal< void()> signal_taskMenuConfigurationLoaded
 Signal sent when a scenario has just been loaded, either locally or remotely.
boost::signal< void()> signal_createMenuConfigurationLoaded
 Signal sent when a scenario has just been loaded, either locally or remotely.
boost::signal< void(const
std::string &)> 
signal_scenarioLoadError
 Signal sent when a scenario has just been loaded, either locally or remotely.
boost::signal< void(DtSessionStartupDialog *)> signal_sessionStartupBoxCreated
 Signal sent when a scenario has just been loaded, either locally or remotely.
boost::signal< void(DtHostilityMatrixDialog *)> signal_hostilityMatrixDialogCreated
 Signal sent when a scenario has just been loaded, either locally or remotely.
boost::signal< void(const
DtDeadReckoningSettings &)> 
signal_deadReckoningSettingsChanged
 Signal sent when a scenario has just been loaded, either locally or remotely.
boost::signal< void(const
DtScenarioExplorer &)> 
signal_scenarioLoaded
 Signal sent when a scenario has just been loaded, either locally or remotely.
boost::signal< void(bool)> signal_sessionStatusChanged
 Signal sent when a scenario has just been loaded, either locally or remotely.
boost::signal< void()> signal_allBackendsClosed
 Signal sent when a scenario has just been loaded, either locally or remotely.
boost::signal< void()> signal_rewinding
 Signal sent when a scenario has just been loaded, either locally or remotely.
boost::signal< void()> signal_scenarioJustLoaded
 Signal sent when a scenario has just been loaded, either locally or remotely.
boost::signal< void(const
DtScenarioLoadInformation &)> 
signal_preLoadScenario
 Sent before any load scenario is sent to the back-end or before terrain is loaded.
boost::signal< void(const
DtScenarioLoadInformation &)> 
signal_postLoadScenario
 Sent after scenario load message is sent to the back-end and after all additional files are loaded.
boost::signal< void(const
std::string &)> 
signal_preLoadBaseTerrain
 Sent before terrain is opened This function sends the terrain file requested on load.
boost::signal< void(const
std::string &)> 
signal_preLoadTerrain
 Sent before terrain is opened This function sends the actual terrain file being loaded.
boost::signal< void(const
std::string &)> 
signal_postLoadTerrain
 Sent after terrain is opened.
boost::signal< void(const
DtScenarioExplorer &)> 
signal_preLoadForceFiles
 Sent before force file is loaded.
boost::signal< void(const
DtScenarioExplorer &)> 
signal_postLoadForceFiles
 Sent after force file is loaded.
boost::signal< void(const
DtScenarioExplorer &)> 
signal_preLoadArtilleryManager
 Sent after artillery artillery is loaded.
boost::signal< void(const
DtScenarioExplorer &)> 
signal_postLoadArtilleryManager
 Sent after artillery artillery is loaded.
boost::signal< void(const
DtScenarioExplorer &)> 
signal_preLoadModelSetFiles
 Sent before model set files are loaded.
boost::signal< void(const
DtScenarioExplorer &)> 
signal_postLoadModelSetFiles
 Sent after model set files are loaded.
boost::signal< void(const
DtScenarioExplorer &)> 
signal_preLoadCreateMenu
 Sent before create menu is loaded.
boost::signal< void(const
DtScenarioExplorer &, DtMenu *)> 
signal_postLoadCreateMenu
 Sent after create menu is loaded.
boost::signal< void(const
DtScenarioExplorer &)> 
signal_preLoadTaskMenu
 Sent before task menu is loaded.
boost::signal< void(const
DtFilename
&, DtVrfModelSetManager *)> 
signal_modelSetLoaded
 Signal sent when a model set is loaded into the model set manager.
boost::signal< void(const
DtScenarioExplorer &)> 
signal_postLoadTaskMenu
 Sent after task menu is loaded.
boost::signal< void(const
DtScenarioExplorer &)> 
signal_preLoadSetMenu
 Sent before set menu is loaded.
boost::signal< void(const
DtScenarioExplorer &)> 
signal_postLoadSetMenu
 Sent after set menu is loaded.
boost::signal< void(const
DtScenario &)> 
signal_preLoadOverlayFile
 Sent before overlay file is loaded.
boost::signal< void(const
DtScenario &)> 
signal_postLoadOverlayFile
 Sent after overlay file is loaded.
boost::signal< void(const
DtScenarioExplorer &)> 
signal_createMenuLoaded
 Sent after post load callback.
boost::signal< void()> signal_recreateCreateMenu
 Sent to simply recrete the menu. Called from recreateCreateMenu() method.
boost::signal< void()> signal_recreateTaskMenu
 Sent to simply recrete the menu. Called from recreateTaskMenu() method.
boost::signal< void()> signal_recreateSetMenu
 Sent to simply recrete the menu. Called from recreateSetMenu() method.
boost::signal< void(const
DtVrfSessionSettingsRecord &)> 
signal_sessionSettingsChanged
 Sent when session settings have changed.
boost::signal< void(const
DtVrfScriptedTaskSettingsRecord &)> 
signal_scriptedTaskSettingsChanged
 Sent when scripted task settings have changed.
boost::signal< void(DtVrfGuiRecentScenarios *)> signal_recentScenariosChanged
 Sent when recent scenarios have changed.
boost::signal< void(const
DtScenario &)> 
signal_preLoadGuiScenarioSettings
 Sent before scenario settings are loaded.
boost::signal< void(const
DtScenario &)> 
signal_postLoadGuiScenarioSettings
 Sent after scenario settings are loaded.
boost::signal< void()> signal_scenarioClosed
 Sent when the scenario is closed.
boost::signal< void(QString)> signal_windowTitleSet
 Signal sent when the window title is set.
makVrv::DtDemyDe
 Signal sent when a scenario has just been loaded, either locally or remotely.
DtScenariomyScenario
 Signal sent when a scenario has just been loaded, either locally or remotely.
DtMenumyMenu
 Signal sent when a scenario has just been loaded, either locally or remotely.
DtScenarioExplorermyExplorer
 Signal sent when a scenario has just been loaded, either locally or remotely.
QDialogmySessionStatusMessageBox
 Signal sent when a scenario has just been loaded, either locally or remotely.
std::vector< DtEntityMapperKeymyControlObjectTypes
 Signal sent when a scenario has just been loaded, either locally or remotely.
bool myRewinding
 Signal sent when a scenario has just been loaded, either locally or remotely.
bool myValidateForVrfObjects
 Signal sent when a scenario has just been loaded, either locally or remotely.
bool myScenarioDirty
 Signal sent when a scenario has just been loaded, either locally or remotely.
bool myFirstRun
 Signal sent when a scenario has just been loaded, either locally or remotely.
bool myAskSaveIfScenarioModified
 Signal sent when a scenario has just been loaded, either locally or remotely.
bool myAutoJoinSession
 Signal sent when a scenario has just been loaded, either locally or remotely.
bool myJoinedToSession
 Signal sent when a scenario has just been loaded, either locally or remotely.
bool myCorrelationWarned
 Signal sent when a scenario has just been loaded, either locally or remotely.
std::string myLoadedTerrain
 Signal sent when a scenario has just been loaded, either locally or remotely.
bool myCorrelated
 Signal sent when a scenario has just been loaded, either locally or remotely.
bool myDisplayExistingGdbWarningMessage
 Signal sent when a scenario has just been loaded, either locally or remotely.
bool myTerrainClearing
 Signal sent when a scenario has just been loaded, either locally or remotely.
bool myLoadingScenario
 Signal sent when a scenario has just been loaded, either locally or remotely.
int myTimeoutInterval
 Signal sent when a scenario has just been loaded, either locally or remotely.
bool myCanSimulate
 Signal sent when a scenario has just been loaded, either locally or remotely.
bool myInitialized
 Signal sent when a scenario has just been loaded, either locally or remotely.
bool myIsStartup
 Signal sent when a scenario has just been loaded, either locally or remotely.
bool myAutoSave
 Signal sent when a scenario has just been loaded, either locally or remotely.
bool myAllowEditingOnScenarioJoin
 Signal sent when a scenario has just been loaded, either locally or remotely.
DtVrfSessionSettingsRecord mySessionSettings
 Signal sent when a scenario has just been loaded, either locally or remotely.
DtVrfScriptedTaskSettingsRecord myScriptedTaskSettings
 Signal sent when a scenario has just been loaded, either locally or remotely.
DtDeadReckoningSettings myDeadReckoningSettings
 Signal sent when a scenario has just been loaded, either locally or remotely.
makVrv::DtRecordSettingsBackupInterfacemySessionSettingsBackup
 Signal sent when a scenario has just been loaded, either locally or remotely.
makVrv::DtRecordSettingsBackupInterfacemyScriptedTaskSettingsBackup
 Signal sent when a scenario has just been loaded, either locally or remotely.
DtSessionStatusBoxmySessionStatusBox
 Signal sent when a scenario has just been loaded, either locally or remotely.
SessionStatusDialogs myShowSessionStatusDialogs
 Signal sent when a scenario has just been loaded, either locally or remotely.
DtSubMenuConfigurationmyInitialCreateMenuConfiguration
 Signal sent when a scenario has just been loaded, either locally or remotely.
DtSubMenuConfigurationmyInitialTaskMenuConfiguration
 Signal sent when a scenario has just been loaded, either locally or remotely.
DtSubMenuConfigurationmyInitialSetMenuConfiguration
 Signal sent when a scenario has just been loaded, either locally or remotely.
DtCreateMenuBuilder::Flags myCreateMenuBuilderFlags
 Signal sent when a scenario has just been loaded, either locally or remotely.
std::vector< DtStringmyAdditionalSmsFiles
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual void addAdditionalSmsFile (const std::string &)
virtual void removeAdditionalSmsFile (const std::string &)
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual const std::vector
< DtString > & 
additionalSmsFiles () const
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual void setAdditionalSmsFiles (const std::vector< DtString > &)
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual void slot_onScenarioModified ()
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual void slot_allBackendsClosed ()
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual void editHostilityMatrix (QWidget *parent)
 Creates the hostility matrix editing dialog and emits a signal when it is created.
virtual DtHostilityMatrixDialogcreateHostilityMatrixDialog (QWidget *p, const Qt::WindowFlags &flags) const
 Creates the hostility matrix daialog.
virtual void addRecentScenario (const std::string &)
 Uses recent scenario settings object to add a recent scenario. Sends out signal when changed.
virtual bool askAndSaveScriptsForRewind ()
 Will ask the user to save scripts that are modified before a rewind.
virtual void cleanupSessionBox ()
 Removes session dialog if up.
virtual void slot_sessionStartupComplete ()
 Called when session startup dialog has been finished.
virtual void slot_onScenarioLoaded (const DtScenario *)
 Called when a scenario is loaded, updates internal information and re-emits a loaded signal.
virtual void slot_checkBackendClosed (const DtVrfBackendState &, int)
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual void slot_checkSimulationState (const DtVrfBackendState &, int)
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual bool saveIfDirty ()
 If scenario is dirty, put up a dialog to ask the user if they want to save.
virtual DtJoinSessionDialogcreateJoinSessionDialog (QWidget *parent, const Qt::WindowFlags &flags)
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual void connectSignals (bool)
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual void displayCorrelationWarningMessage ()
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual void reloadScenario (const std::string &newTerrain)
 Saves existing to a temporary scenario then reloads that with new scenario name.
virtual void saveScenario (std::string baseName, std::string newTerrainName)
 Sets up to save current scenario to supplied name.
virtual void slot_onScenarioSaved (std::string scenarioName, std::string newTerrain)
 Called when the scenario is saved, reloads scenario then deletes temp scenario after reload.
virtual void slot_onScenarioReloaded (std::string scenarioName)
 Called when the scenario is loaded as part of a reload. Will delete temp scenario files.
virtual void setup ()
 If not initialized, does initial setup.
virtual void showSessionStartupDialog ()
 Shows the session startup dialog (DtSessionStartupDialog)
virtual void sessionStatusBoxClosed ()
 Called by session status box when it is closed.
virtual void processServerMessage (DtSimMessage *)
 Called when there is a message from the server.
virtual void processForcesMessage (DtSimMessage *)
 Process the message for current force types in the simulation.
virtual void restorePreservedScripts ()
 Restores modified scripts and clears out modified status of all scripts.
virtual void loadIndirectFireManager (const DtScenarioExplorer &explorer)
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual void loadForceFiles (const DtScenarioExplorer &explorer)
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual void loadCreateMenu (const DtScenarioExplorer &explorer)
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual bool loadInitialMenuConfiguration (makVrv::DtMenuConfiguration &, const DtFilename &)
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual void loadOverlayFile (const DtScenario &)
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual void loadGuiScenarioSettings (const DtScenario &)
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual void loadModelSetFiles (const DtScenarioExplorer &explorer)
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual bool loadTerrain (const std::string &filePath)
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual DtModelSetEntrymodelSetEntry (const DtEntityMapperKey &key) const
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual DtMenucreateMenuFromFile (const DtString &) const
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual bool isModelSet (const DtFilename &filename) const
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual bool loadModelSet (const DtFilename &filename, DtMenu *m) const
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual void slot_onSessionUpdated (int flags)
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual void slot_onDuplicateBackendAddress (const DtVrfBackendState &)
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual void slot_backendDiscovered (const DtVrfBackendState &)
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual void slot_settingReceived (const std::string &, const DtVrfBackendState *)
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual bool sessionPrompt (const QString &message)
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual bool openTerrainDatabaseFromUserSelection ()
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual bool loadSessionTerrain (const std::string &)
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual bool isSameTerrain (const std::string &terrain1, const std::string &terrain2) const
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual void slot_terrainModified ()
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual void slot_deDestructing ()
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual void slot_terrainToBeCleared ()
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual void slot_terrainCleared ()
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual bool checkWriteGdb (const std::string &gdb)
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual void setupSessionSettings ()
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual void setupScriptedTaskSettings ()
 Signal sent when a scenario has just been loaded, either locally or remotely.
virtual QFileInfo findTerrainFile (const std::string &terrainFile) const
 Calls findTerrainFile with default search paths and extensions.
virtual QFileInfo findTerrainFile (const std::string &terrainFile, const std::vector< std::string > &searchPaths, const std::string &extension) const
 Given the terrain file and search paths, look for that terrain file, using the supplied extension.
virtual void slot_scenarioAboutToBeSaved (DtScenario *)
 Called when the scenario is about to be saved, put up the save dialog.
virtual void createSessionStatusBox (const QString &title, const QString &message, int statusType)
 Creates a session status box. If one exists, delete it.

Detailed Description

The class that will contain information about the currently loaded scenario.

Member Enumeration Documentation

Enumerator:
DtTerrainActionUseSessionTerrain 
DtTerrainActionChooseAlternateTerrain 
DtTerrainActionKeepCurrentTerrain 
DtShowSessionStartupDialog 
DtLoadScenarioSpecifiedInApplication 
Enumerator:
Loading 
Saving 
Closing 
AllStatusDialogs 

Constructor & Destructor Documentation

makVrf::DtVrfScenarioManager::DtVrfScenarioManager ( makVrv::DtDe )
virtual makVrf::DtVrfScenarioManager::~DtVrfScenarioManager ( )
virtual

Member Function Documentation

static DtVrfScenarioManager& makVrf::DtVrfScenarioManager::instance ( makVrv::DtDe de)
static

Returns instance of the messager.

static void makVrf::DtVrfScenarioManager::init ( makVrv::DtDe )
static

Initialize manager. Must be called once.

const DtScenarioExplorer* makVrf::DtVrfScenarioManager::scenarioExplorer ( ) const
inline
const std::vector<DtEntityMapperKey>& makVrf::DtVrfScenarioManager::controlObjects ( ) const
inline
virtual void makVrf::DtVrfScenarioManager::addControlObject ( const DtEntityMapperKey key)
virtual
virtual void makVrf::DtVrfScenarioManager::removeControlObject ( const DtEntityMapperKey key)
virtual
virtual void makVrf::DtVrfScenarioManager::clearControlObjects ( )
virtual
virtual bool makVrf::DtVrfScenarioManager::isControlObject ( const DtEntityMapperKey key) const
virtual
virtual void makVrf::DtVrfScenarioManager::closeScenario ( bool  resetScenario = true)
virtual
virtual bool makVrf::DtVrfScenarioManager::loadScenario ( const std::string &  s)
virtual
virtual bool makVrf::DtVrfScenarioManager::loadScenario ( const DtScenarioLoadInformation s)
virtual
virtual void makVrf::DtVrfScenarioManager::runScenario ( )
virtual
virtual void makVrf::DtVrfScenarioManager::pauseScenario ( )
virtual
virtual void makVrf::DtVrfScenarioManager::rewindScenario ( )
virtual
virtual void makVrf::DtVrfScenarioManager::setCreateMenuBuilderFlags ( DtCreateMenuBuilder::Flags  )
virtual

Sets the flags to use when creating the menu for the create menu.

Default is to use favorites and place all envrionmentals/tactical graphics on the menu by force. Setting this flag will only be used at the next scenario load. It will not change the current menu setup

virtual DtCreateMenuBuilder::Flags makVrf::DtVrfScenarioManager::createMenuBuilderFlags ( ) const
virtual
virtual void makVrf::DtVrfScenarioManager::tickedLoadScenario ( )
virtual

Schedules to call the load scenario method (with current main window) on the next de tick.

virtual void makVrf::DtVrfScenarioManager::tickedNewScenario ( )
virtual

Schedules to call the new scenario method (with current main window) on the next de tick.

virtual void makVrf::DtVrfScenarioManager::loadScenarioFromDialog ( QWidget p)
virtual

Creates and shows load scenario dialog.

virtual DtLoadScenarioDialog* makVrf::DtVrfScenarioManager::createLoadScenarioDialog ( QWidget )
virtual
virtual void makVrf::DtVrfScenarioManager::setHelpFile ( const std::string &  ,
bool  save = false 
)
virtual

Sets the help file to use when pressing the F1 key.

Note this will be a permanent change and will be using that file the next time the application is started if the save flag is true. By default is false

virtual std::string makVrf::DtVrfScenarioManager::helpFile ( ) const
virtual
virtual void makVrf::DtVrfScenarioManager::setDefaultScenarioFile ( const std::string &  f,
bool  save = false 
)
virtual

Sets the scenario file used as the default when creating a new scenario.

If save is true will make this change permanent

virtual std::string makVrf::DtVrfScenarioManager::defaultScenarioFile ( ) const
virtual
virtual void makVrf::DtVrfScenarioManager::setDefaultSimulationModelSetFile ( const std::string &  f,
bool  save = false 
)
virtual

Sets the default .sms file to use when loading a scenario if none is found in the scenario to be loaded.

If save is true will make change permanent

virtual std::string makVrf::DtVrfScenarioManager::defaultSimulationModelSetFile ( ) const
virtual
virtual void makVrf::DtVrfScenarioManager::rebuildCreateMenu ( )
virtual

Call to regenerate the menu from the model set structure and then recreate the menu.

virtual void makVrf::DtVrfScenarioManager::recreateCreateMenu ( )
virtual

Call to start the process of recreating the create menu from the current menu structure.

Call rebuildCreateMenu to recreate from model set information

virtual void makVrf::DtVrfScenarioManager::loadTaskMenu ( const DtScenarioExplorer explorer)
virtual

Call to recreate the set menu from initialTaskMenuConfiguration.

virtual void makVrf::DtVrfScenarioManager::loadSetMenu ( const DtScenarioExplorer explorer)
virtual

Call to recreate the task menu from initialSetMenuConfiguration.

virtual DtScenarioSettingsDialog* makVrf::DtVrfScenarioManager::createNewScenarioDialog ( QWidget p)
virtual

Creates and shows new scenario dialog.

virtual void makVrf::DtVrfScenarioManager::newScenarioFromDialog ( QWidget p)
virtual
virtual void makVrf::DtVrfScenarioManager::newScenario ( const std::string &  )
virtual

Creates a new scenario on specified terrain using default.scn as the scenario base.

virtual void makVrf::DtVrfScenarioManager::loadBatchScenario ( QWidget )
virtual

Calls to batch scenario manager to load batch scenario.

virtual bool makVrf::DtVrfScenarioManager::joinSession ( DtJoinSessionTerrainAction  terrainAction = DtTerrainActionUseSessionTerrain)
virtual

Does the actual joining to the session.

Triggers a terrain database load, if there is a terrain loaded by the current session.

Parameters
terrainActionDetermines what action will be taken with the terrain when joining the session. DtTerrainActionUseSessionTerrain will cause the session terrain to be loaded. DtTerrainActionChooseAlternateTerrain will cause a prompt to be displayed to the user to choose a terrain. DtTerrainActionKeepCurrentTerrain will keep the current terrain (or no terrain)
Returns
True if the session was successfully joined.
virtual void makVrf::DtVrfScenarioManager::resignSession ( bool  closeTerrain = true)
virtual
virtual bool makVrf::DtVrfScenarioManager::saveScenarioAs ( )
virtual
virtual bool makVrf::DtVrfScenarioManager::saveScenario ( )
virtual
virtual bool makVrf::DtVrfScenarioManager::canRewind ( ) const
virtual
void makVrf::DtVrfScenarioManager::setValidateForVrfObjects ( bool  b)
inline

Default is true.

Set to false if menus should not use as one determining factor to validate themselves by whether or not an object is simulated by VRF

bool makVrf::DtVrfScenarioManager::validateForVrfObjects ( ) const
inline
void makVrf::DtVrfScenarioManager::setScenarioDirty ( bool  b)
inline
bool makVrf::DtVrfScenarioManager::scenarioDirty ( ) const
inline
const DtScenario* makVrf::DtVrfScenarioManager::scenario ( ) const
inline
void makVrf::DtVrfScenarioManager::setAskSaveIfScenarioModified ( bool  b)
inline
bool makVrf::DtVrfScenarioManager::askSaveIfScenarioModified ( ) const
inline
bool makVrf::DtVrfScenarioManager::joinedToSession ( ) const
inline
void makVrf::DtVrfScenarioManager::setDisplayExistingGdbWarningMessages ( bool  b)
inline
bool makVrf::DtVrfScenarioManager::displatExistingGdbWarningMessages ( ) const
inline
virtual void makVrf::DtVrfScenarioManager::setCorrelated ( bool  )
virtual
bool makVrf::DtVrfScenarioManager::correlated ( ) const
inline
DtMenu* makVrf::DtVrfScenarioManager::createMenu ( )
inline
bool makVrf::DtVrfScenarioManager::initialized ( ) const
inline
const DtDeadReckoningSettings& makVrf::DtVrfScenarioManager::deadReckoningSettings ( ) const
inline
void makVrf::DtVrfScenarioManager::setAllowEditingOnScenarioJoin ( bool  b)
inline
bool makVrf::DtVrfScenarioManager::allowEditingOnScenarioJoint ( ) const
inline
virtual std::string makVrf::DtVrfScenarioManager::currentlyLoadedTerrain ( ) const
virtual
virtual void makVrf::DtVrfScenarioManager::processJoinSession ( bool  startupMessage = false)
virtual
virtual void makVrf::DtVrfScenarioManager::setFromRecord ( const DtVrfSessionSettingsRecord rec)
virtual
virtual void makVrf::DtVrfScenarioManager::setFromRecord ( const DtVrfScriptedTaskSettingsRecord rec)
virtual
virtual void makVrf::DtVrfScenarioManager::loadDefaultSessionSettings ( bool  loadOnlyFactorySettings = false)
virtual
virtual void makVrf::DtVrfScenarioManager::loadDefaultScriptedTaskSettings ( bool  loadOnlyFactorySettings = false)
virtual
virtual void makVrf::DtVrfScenarioManager::saveSessionSettingsAsDefaults ( )
virtual
virtual void makVrf::DtVrfScenarioManager::saveScriptedTaskSettingsAsDefaults ( )
virtual
virtual void makVrf::DtVrfScenarioManager::getRecord ( DtVrfSessionSettingsRecord rec) const
virtual
virtual void makVrf::DtVrfScenarioManager::getRecord ( DtVrfScriptedTaskSettingsRecord rec) const
virtual
virtual bool makVrf::DtVrfScenarioManager::autoJoinSession ( ) const
virtual

Access to session record information.

To set, get record and then reset vis setFromRecord

virtual bool makVrf::DtVrfScenarioManager::askToJoin ( ) const
virtual
virtual bool makVrf::DtVrfScenarioManager::alwaysJoinWithSessionDatabase ( ) const
virtual
virtual bool makVrf::DtVrfScenarioManager::alwaysJoinWithOpenDatabase ( ) const
virtual
virtual bool makVrf::DtVrfScenarioManager::displaySessionDialogs ( ) const
virtual
virtual bool makVrf::DtVrfScenarioManager::displayCorrelationWarningMessages ( ) const
virtual
virtual void makVrf::DtVrfScenarioManager::setFavorite ( const DtEntityMapperKey ,
bool  f 
)
virtual

Sets the item to be a favorite then signals to recreate create menu.

makVrv::DtRecordSettingsBackupInterface* makVrf::DtVrfScenarioManager::sessionSettingsBackup ( )
inline
makVrv::DtRecordSettingsBackupInterface* makVrf::DtVrfScenarioManager::scriptedTaskSettingsBackup ( )
inline
void makVrf::DtVrfScenarioManager::exportSessionSettings ( const std::string &  fileName)

Exports the current cache settings to a file.

void makVrf::DtVrfScenarioManager::importSessionSettings ( const std::string &  fileName)

Import the current cache settings from a file.

void makVrf::DtVrfScenarioManager::exportScriptedTaskSettings ( const std::string &  fileName)

Exports the current cache settings to a file.

void makVrf::DtVrfScenarioManager::importScriptedTaskSettings ( const std::string &  fileName)

Import the current cache settings from a file.

virtual void makVrf::DtVrfScenarioManager::setDoNotShowSessionStartupDialog ( bool  )
virtual

Sets whether or not to show the startup session dialog.

bool makVrf::DtVrfScenarioManager::showSessionStartupDialog ( ) const
virtual void makVrf::DtVrfScenarioManager::setStartupPreference ( int  )
virtual

Preference on startup (new scenario on VR-TheWorldServer, new scenario, or load scenario)

int makVrf::DtVrfScenarioManager::startupPreference ( ) const
virtual void makVrf::DtVrfScenarioManager::setAggregateOnCreate ( bool  )
virtual

Sets to whether or not create aggregates as true aggregates (true) or psuedo aggregates (false) when initially created.

Default is false

bool makVrf::DtVrfScenarioManager::aggregateOnCreate ( ) const
virtual void makVrf::DtVrfScenarioManager::setUserDefinedSmoothing ( bool  )
virtual

Sets whether or not the user or system is defining smoothing in performance options.

bool makVrf::DtVrfScenarioManager::userDefinedSmoothing ( ) const
virtual void makVrf::DtVrfScenarioManager::setWindowTitle ( const QString &  )
virtual

Sets the title of the main window to the given name.

virtual void makVrf::DtVrfScenarioManager::setShowSessionStatusDialogs ( SessionStatusDialogs  )
virtual

Sets to show which type of session status dialogs.

SessionStatusDialogs makVrf::DtVrfScenarioManager::showSessionStatusDialogs ( ) const
inline
virtual void makVrf::DtVrfScenarioManager::setDenySystemScriptEditing ( bool  )
virtual

Sets whether or not system script editing is allowed. By default it is.

virtual bool makVrf::DtVrfScenarioManager::denySystemScriptEditing ( ) const
virtual
virtual void makVrf::DtVrfScenarioManager::setIndent ( int  )
virtual

Returns the indent level (in pixels) to apply to scripted task dialog indents.

virtual int makVrf::DtVrfScenarioManager::indent ( ) const
virtual
virtual void makVrf::DtVrfScenarioManager::setWarnOnSystemScriptChange ( bool  )
virtual

Returns true if should give warning on system script change with meta data or script.

virtual bool makVrf::DtVrfScenarioManager::warnOnSystemScriptChange ( ) const
virtual
virtual void makVrf::DtVrfScenarioManager::setMonitorScriptedTaskFrameRates ( bool  )
virtual

Returns true if should show frame rates for scripts.

virtual bool makVrf::DtVrfScenarioManager::monitorScriptedTaskFrameRates ( ) const
virtual
virtual void makVrf::DtVrfScenarioManager::setAutoSave ( bool  )
virtual

Set to false to not save on settings change. Default is true.

virtual bool makVrf::DtVrfScenarioManager::autoSave ( ) const
virtual
virtual void makVrf::DtVrfScenarioManager::setShowScenarioDescriptionMessageBox ( bool  b,
bool  save 
)
virtual

Sets whether or not to show scenario description message box.

virtual bool makVrf::DtVrfScenarioManager::showScenarioDescriptionMessageBox ( ) const
virtual
virtual const DtSubMenuConfiguration& makVrf::DtVrfScenarioManager::initialCreateMenuConfiguration ( ) const
virtual

Valid after scenario is loaded.

virtual DtSubMenuConfiguration& makVrf::DtVrfScenarioManager::initialCreateMenuConfiguration ( )
virtual
virtual const DtSubMenuConfiguration& makVrf::DtVrfScenarioManager::initialTaskMenuConfiguration ( ) const
virtual

Valid after scenario is loaded.

virtual DtSubMenuConfiguration& makVrf::DtVrfScenarioManager::initialTaskMenuConfiguration ( )
virtual
virtual const DtSubMenuConfiguration& makVrf::DtVrfScenarioManager::initialSetMenuConfiguration ( ) const
virtual

Valid after scenario is loaded.

virtual DtSubMenuConfiguration& makVrf::DtVrfScenarioManager::initialSetMenuConfiguration ( )
virtual
virtual void makVrf::DtVrfScenarioManager::addAdditionalSmsFile ( const std::string &  )
virtual

Additional SMS files to use during new scenarios

virtual void makVrf::DtVrfScenarioManager::removeAdditionalSmsFile ( const std::string &  )
virtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual const std::vector<DtString>& makVrf::DtVrfScenarioManager::additionalSmsFiles ( ) const
virtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual void makVrf::DtVrfScenarioManager::setAdditionalSmsFiles ( const std::vector< DtString > &  )
virtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual void makVrf::DtVrfScenarioManager::slot_onScenarioModified ( )
virtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual void makVrf::DtVrfScenarioManager::slot_allBackendsClosed ( )
virtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual void makVrf::DtVrfScenarioManager::editHostilityMatrix ( QWidget parent)
virtual

Creates the hostility matrix editing dialog and emits a signal when it is created.

virtual DtHostilityMatrixDialog* makVrf::DtVrfScenarioManager::createHostilityMatrixDialog ( QWidget p,
const Qt::WindowFlags &  flags 
) const
virtual

Creates the hostility matrix daialog.

virtual void makVrf::DtVrfScenarioManager::addRecentScenario ( const std::string &  )
virtual

Uses recent scenario settings object to add a recent scenario. Sends out signal when changed.

virtual bool makVrf::DtVrfScenarioManager::askAndSaveScriptsForRewind ( )
virtual

Will ask the user to save scripts that are modified before a rewind.

After rewind is complete will send the script and meta data to the server. Returns true if the user has indicated they want to save the modified scripts

virtual void makVrf::DtVrfScenarioManager::cleanupSessionBox ( )
protectedvirtual

Removes session dialog if up.

virtual void makVrf::DtVrfScenarioManager::slot_sessionStartupComplete ( )
protectedvirtual

Called when session startup dialog has been finished.

virtual void makVrf::DtVrfScenarioManager::slot_onScenarioLoaded ( const DtScenario )
protectedvirtual

Called when a scenario is loaded, updates internal information and re-emits a loaded signal.

virtual void makVrf::DtVrfScenarioManager::slot_checkBackendClosed ( const DtVrfBackendState ,
int   
)
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual void makVrf::DtVrfScenarioManager::slot_checkSimulationState ( const DtVrfBackendState ,
int   
)
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual bool makVrf::DtVrfScenarioManager::saveIfDirty ( )
protectedvirtual

If scenario is dirty, put up a dialog to ask the user if they want to save.

virtual DtJoinSessionDialog* makVrf::DtVrfScenarioManager::createJoinSessionDialog ( QWidget parent,
const Qt::WindowFlags &  flags 
)
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual void makVrf::DtVrfScenarioManager::connectSignals ( bool  )
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual void makVrf::DtVrfScenarioManager::displayCorrelationWarningMessage ( )
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual void makVrf::DtVrfScenarioManager::reloadScenario ( const std::string &  newTerrain)
protectedvirtual

Saves existing to a temporary scenario then reloads that with new scenario name.

virtual void makVrf::DtVrfScenarioManager::saveScenario ( std::string  baseName,
std::string  newTerrainName 
)
protectedvirtual

Sets up to save current scenario to supplied name.

If scenario name exists in temp directory then counts until it can find a unique name.

virtual void makVrf::DtVrfScenarioManager::slot_onScenarioSaved ( std::string  scenarioName,
std::string  newTerrain 
)
protectedvirtual

Called when the scenario is saved, reloads scenario then deletes temp scenario after reload.

virtual void makVrf::DtVrfScenarioManager::slot_onScenarioReloaded ( std::string  scenarioName)
protectedvirtual

Called when the scenario is loaded as part of a reload. Will delete temp scenario files.

virtual void makVrf::DtVrfScenarioManager::setup ( )
protectedvirtual

If not initialized, does initial setup.

virtual void makVrf::DtVrfScenarioManager::showSessionStartupDialog ( )
protectedvirtual

Shows the session startup dialog (DtSessionStartupDialog)

virtual void makVrf::DtVrfScenarioManager::sessionStatusBoxClosed ( )
protectedvirtual

Called by session status box when it is closed.

virtual void makVrf::DtVrfScenarioManager::processServerMessage ( DtSimMessage )
protectedvirtual

Called when there is a message from the server.

Will see if there is a scenario load error and then repackage and signal it

virtual void makVrf::DtVrfScenarioManager::processForcesMessage ( DtSimMessage )
protectedvirtual

Process the message for current force types in the simulation.

virtual void makVrf::DtVrfScenarioManager::restorePreservedScripts ( )
protectedvirtual

Restores modified scripts and clears out modified status of all scripts.

virtual void makVrf::DtVrfScenarioManager::loadIndirectFireManager ( const DtScenarioExplorer explorer)
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual void makVrf::DtVrfScenarioManager::loadForceFiles ( const DtScenarioExplorer explorer)
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual void makVrf::DtVrfScenarioManager::loadCreateMenu ( const DtScenarioExplorer explorer)
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual bool makVrf::DtVrfScenarioManager::loadInitialMenuConfiguration ( makVrv::DtMenuConfiguration ,
const DtFilename &   
)
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual void makVrf::DtVrfScenarioManager::loadOverlayFile ( const DtScenario )
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual void makVrf::DtVrfScenarioManager::loadGuiScenarioSettings ( const DtScenario )
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual void makVrf::DtVrfScenarioManager::loadModelSetFiles ( const DtScenarioExplorer explorer)
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual bool makVrf::DtVrfScenarioManager::loadTerrain ( const std::string &  filePath)
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual DtModelSetEntry* makVrf::DtVrfScenarioManager::modelSetEntry ( const DtEntityMapperKey key) const
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual DtMenu* makVrf::DtVrfScenarioManager::createMenuFromFile ( const DtString ) const
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual bool makVrf::DtVrfScenarioManager::isModelSet ( const DtFilename &  filename) const
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual bool makVrf::DtVrfScenarioManager::loadModelSet ( const DtFilename &  filename,
DtMenu m 
) const
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual void makVrf::DtVrfScenarioManager::slot_onSessionUpdated ( int  flags)
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual void makVrf::DtVrfScenarioManager::slot_onDuplicateBackendAddress ( const DtVrfBackendState )
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual void makVrf::DtVrfScenarioManager::slot_backendDiscovered ( const DtVrfBackendState )
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual void makVrf::DtVrfScenarioManager::slot_settingReceived ( const std::string &  ,
const DtVrfBackendState  
)
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual bool makVrf::DtVrfScenarioManager::sessionPrompt ( const QString &  message)
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual bool makVrf::DtVrfScenarioManager::openTerrainDatabaseFromUserSelection ( )
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual bool makVrf::DtVrfScenarioManager::loadSessionTerrain ( const std::string &  )
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual bool makVrf::DtVrfScenarioManager::isSameTerrain ( const std::string &  terrain1,
const std::string &  terrain2 
) const
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual void makVrf::DtVrfScenarioManager::slot_terrainModified ( )
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual void makVrf::DtVrfScenarioManager::slot_deDestructing ( )
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual void makVrf::DtVrfScenarioManager::slot_terrainToBeCleared ( )
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual void makVrf::DtVrfScenarioManager::slot_terrainCleared ( )
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual bool makVrf::DtVrfScenarioManager::checkWriteGdb ( const std::string &  gdb)
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual void makVrf::DtVrfScenarioManager::setupSessionSettings ( )
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual void makVrf::DtVrfScenarioManager::setupScriptedTaskSettings ( )
protectedvirtual

Signal sent when a scenario has just been loaded, either locally or remotely.

virtual QFileInfo makVrf::DtVrfScenarioManager::findTerrainFile ( const std::string &  terrainFile) const
protectedvirtual

Calls findTerrainFile with default search paths and extensions.

virtual QFileInfo makVrf::DtVrfScenarioManager::findTerrainFile ( const std::string &  terrainFile,
const std::vector< std::string > &  searchPaths,
const std::string &  extension 
) const
protectedvirtual

Given the terrain file and search paths, look for that terrain file, using the supplied extension.

Return a QFileInfo that points to the file

virtual void makVrf::DtVrfScenarioManager::slot_scenarioAboutToBeSaved ( DtScenario )
protectedvirtual

Called when the scenario is about to be saved, put up the save dialog.

virtual void makVrf::DtVrfScenarioManager::createSessionStatusBox ( const QString &  title,
const QString &  message,
int  statusType 
)
protectedvirtual

Creates a session status box. If one exists, delete it.

Friends And Related Function Documentation

friend class DtSessionStatusBox
friend

Member Data Documentation

boost::signal<void ()> makVrf::DtVrfScenarioManager::signal_setMenuConfigurationLoaded

Signal sent when a scenario has just been loaded, either locally or remotely.

boost::signal<void ()> makVrf::DtVrfScenarioManager::signal_taskMenuConfigurationLoaded

Signal sent when a scenario has just been loaded, either locally or remotely.

boost::signal<void ()> makVrf::DtVrfScenarioManager::signal_createMenuConfigurationLoaded

Signal sent when a scenario has just been loaded, either locally or remotely.

boost::signal<void (const std::string&)> makVrf::DtVrfScenarioManager::signal_scenarioLoadError

Signal sent when a scenario has just been loaded, either locally or remotely.

boost::signal<void (DtSessionStartupDialog*)> makVrf::DtVrfScenarioManager::signal_sessionStartupBoxCreated

Signal sent when a scenario has just been loaded, either locally or remotely.

boost::signal<void (DtHostilityMatrixDialog*)> makVrf::DtVrfScenarioManager::signal_hostilityMatrixDialogCreated

Signal sent when a scenario has just been loaded, either locally or remotely.

boost::signal<void (const DtDeadReckoningSettings&)> makVrf::DtVrfScenarioManager::signal_deadReckoningSettingsChanged

Signal sent when a scenario has just been loaded, either locally or remotely.

boost::signal<void (const DtScenarioExplorer&)> makVrf::DtVrfScenarioManager::signal_scenarioLoaded

Signal sent when a scenario has just been loaded, either locally or remotely.

boost::signal<void (bool)> makVrf::DtVrfScenarioManager::signal_sessionStatusChanged

Signal sent when a scenario has just been loaded, either locally or remotely.

boost::signal<void ()> makVrf::DtVrfScenarioManager::signal_allBackendsClosed

Signal sent when a scenario has just been loaded, either locally or remotely.

boost::signal<void ()> makVrf::DtVrfScenarioManager::signal_rewinding

Signal sent when a scenario has just been loaded, either locally or remotely.

boost::signal<void ()> makVrf::DtVrfScenarioManager::signal_scenarioJustLoaded

Signal sent when a scenario has just been loaded, either locally or remotely.

boost::signal<void (const DtScenarioLoadInformation&)> makVrf::DtVrfScenarioManager::signal_preLoadScenario

Sent before any load scenario is sent to the back-end or before terrain is loaded.

boost::signal<void (const DtScenarioLoadInformation&)> makVrf::DtVrfScenarioManager::signal_postLoadScenario

Sent after scenario load message is sent to the back-end and after all additional files are loaded.

boost::signal<void (const std::string&)> makVrf::DtVrfScenarioManager::signal_preLoadBaseTerrain

Sent before terrain is opened This function sends the terrain file requested on load.

Which could change if you are loading say a flt file embedded in a mtd file

boost::signal<void (const std::string&)> makVrf::DtVrfScenarioManager::signal_preLoadTerrain

Sent before terrain is opened This function sends the actual terrain file being loaded.

boost::signal<void (const std::string&)> makVrf::DtVrfScenarioManager::signal_postLoadTerrain

Sent after terrain is opened.

boost::signal<void (const DtScenarioExplorer&)> makVrf::DtVrfScenarioManager::signal_preLoadForceFiles

Sent before force file is loaded.

boost::signal<void (const DtScenarioExplorer&)> makVrf::DtVrfScenarioManager::signal_postLoadForceFiles

Sent after force file is loaded.

boost::signal<void (const DtScenarioExplorer&)> makVrf::DtVrfScenarioManager::signal_preLoadArtilleryManager

Sent after artillery artillery is loaded.

boost::signal<void (const DtScenarioExplorer&)> makVrf::DtVrfScenarioManager::signal_postLoadArtilleryManager

Sent after artillery artillery is loaded.

boost::signal<void (const DtScenarioExplorer&)> makVrf::DtVrfScenarioManager::signal_preLoadModelSetFiles

Sent before model set files are loaded.

boost::signal<void (const DtScenarioExplorer&)> makVrf::DtVrfScenarioManager::signal_postLoadModelSetFiles

Sent after model set files are loaded.

boost::signal<void (const DtScenarioExplorer&)> makVrf::DtVrfScenarioManager::signal_preLoadCreateMenu

Sent before create menu is loaded.

boost::signal<void (const DtScenarioExplorer&, DtMenu*)> makVrf::DtVrfScenarioManager::signal_postLoadCreateMenu

Sent after create menu is loaded.

boost::signal<void (const DtScenarioExplorer&)> makVrf::DtVrfScenarioManager::signal_preLoadTaskMenu

Sent before task menu is loaded.

boost::signal<void (const DtFilename&, DtVrfModelSetManager*)> makVrf::DtVrfScenarioManager::signal_modelSetLoaded

Signal sent when a model set is loaded into the model set manager.

boost::signal<void (const DtScenarioExplorer&)> makVrf::DtVrfScenarioManager::signal_postLoadTaskMenu

Sent after task menu is loaded.

boost::signal<void (const DtScenarioExplorer&)> makVrf::DtVrfScenarioManager::signal_preLoadSetMenu

Sent before set menu is loaded.

boost::signal<void (const DtScenarioExplorer&)> makVrf::DtVrfScenarioManager::signal_postLoadSetMenu

Sent after set menu is loaded.

boost::signal<void (const DtScenario&)> makVrf::DtVrfScenarioManager::signal_preLoadOverlayFile

Sent before overlay file is loaded.

boost::signal<void (const DtScenario&)> makVrf::DtVrfScenarioManager::signal_postLoadOverlayFile

Sent after overlay file is loaded.

boost::signal<void (const DtScenarioExplorer&)> makVrf::DtVrfScenarioManager::signal_createMenuLoaded

Sent after post load callback.

boost::signal<void ()> makVrf::DtVrfScenarioManager::signal_recreateCreateMenu

Sent to simply recrete the menu. Called from recreateCreateMenu() method.

boost::signal<void ()> makVrf::DtVrfScenarioManager::signal_recreateTaskMenu

Sent to simply recrete the menu. Called from recreateTaskMenu() method.

boost::signal<void ()> makVrf::DtVrfScenarioManager::signal_recreateSetMenu

Sent to simply recrete the menu. Called from recreateSetMenu() method.

boost::signal<void (const DtVrfSessionSettingsRecord&)> makVrf::DtVrfScenarioManager::signal_sessionSettingsChanged

Sent when session settings have changed.

boost::signal<void (const DtVrfScriptedTaskSettingsRecord&)> makVrf::DtVrfScenarioManager::signal_scriptedTaskSettingsChanged

Sent when scripted task settings have changed.

boost::signal<void (DtVrfGuiRecentScenarios*)> makVrf::DtVrfScenarioManager::signal_recentScenariosChanged

Sent when recent scenarios have changed.

boost::signal<void (const DtScenario&)> makVrf::DtVrfScenarioManager::signal_preLoadGuiScenarioSettings

Sent before scenario settings are loaded.

boost::signal<void (const DtScenario&)> makVrf::DtVrfScenarioManager::signal_postLoadGuiScenarioSettings

Sent after scenario settings are loaded.

boost::signal<void ()> makVrf::DtVrfScenarioManager::signal_scenarioClosed

Sent when the scenario is closed.

boost::signal<void (QString)> makVrf::DtVrfScenarioManager::signal_windowTitleSet

Signal sent when the window title is set.

makVrv::DtDe& makVrf::DtVrfScenarioManager::myDe
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

DtScenario* makVrf::DtVrfScenarioManager::myScenario
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

DtMenu* makVrf::DtVrfScenarioManager::myMenu
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

DtScenarioExplorer* makVrf::DtVrfScenarioManager::myExplorer
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

QDialog* makVrf::DtVrfScenarioManager::mySessionStatusMessageBox
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

std::vector<DtEntityMapperKey> makVrf::DtVrfScenarioManager::myControlObjectTypes
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

bool makVrf::DtVrfScenarioManager::myRewinding
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

bool makVrf::DtVrfScenarioManager::myValidateForVrfObjects
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

bool makVrf::DtVrfScenarioManager::myScenarioDirty
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

bool makVrf::DtVrfScenarioManager::myFirstRun
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

bool makVrf::DtVrfScenarioManager::myAskSaveIfScenarioModified
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

bool makVrf::DtVrfScenarioManager::myAutoJoinSession
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

bool makVrf::DtVrfScenarioManager::myJoinedToSession
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

bool makVrf::DtVrfScenarioManager::myCorrelationWarned
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

std::string makVrf::DtVrfScenarioManager::myLoadedTerrain
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

bool makVrf::DtVrfScenarioManager::myCorrelated
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

bool makVrf::DtVrfScenarioManager::myDisplayExistingGdbWarningMessage
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

bool makVrf::DtVrfScenarioManager::myTerrainClearing
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

bool makVrf::DtVrfScenarioManager::myLoadingScenario
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

int makVrf::DtVrfScenarioManager::myTimeoutInterval
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

bool makVrf::DtVrfScenarioManager::myCanSimulate
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

bool makVrf::DtVrfScenarioManager::myInitialized
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

bool makVrf::DtVrfScenarioManager::myIsStartup
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

bool makVrf::DtVrfScenarioManager::myAutoSave
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

bool makVrf::DtVrfScenarioManager::myAllowEditingOnScenarioJoin
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

DtVrfSessionSettingsRecord makVrf::DtVrfScenarioManager::mySessionSettings
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

DtVrfScriptedTaskSettingsRecord makVrf::DtVrfScenarioManager::myScriptedTaskSettings
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

DtDeadReckoningSettings makVrf::DtVrfScenarioManager::myDeadReckoningSettings
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

makVrv::DtRecordSettingsBackupInterface* makVrf::DtVrfScenarioManager::mySessionSettingsBackup
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

makVrv::DtRecordSettingsBackupInterface* makVrf::DtVrfScenarioManager::myScriptedTaskSettingsBackup
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

DtSessionStatusBox* makVrf::DtVrfScenarioManager::mySessionStatusBox
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

SessionStatusDialogs makVrf::DtVrfScenarioManager::myShowSessionStatusDialogs
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

DtSubMenuConfiguration* makVrf::DtVrfScenarioManager::myInitialCreateMenuConfiguration
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

DtSubMenuConfiguration* makVrf::DtVrfScenarioManager::myInitialTaskMenuConfiguration
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

DtSubMenuConfiguration* makVrf::DtVrfScenarioManager::myInitialSetMenuConfiguration
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

DtCreateMenuBuilder::Flags makVrf::DtVrfScenarioManager::myCreateMenuBuilderFlags
protected

Signal sent when a scenario has just been loaded, either locally or remotely.

std::vector<DtString> makVrf::DtVrfScenarioManager::myAdditionalSmsFiles
protected

Signal sent when a scenario has just been loaded, either locally or remotely.


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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)