![]() |
VR-Forces 4.1.1 Class Documentation
|

Public Slots | |
| virtual void | removeAttachedEventController (QObject *) |
| virtual DtBaseWindow * | fileNewWindow (bool show=true) |
| Slots. | |
| virtual void | fileExit () |
| virtual void | removeWindow (const DtBaseWindow *w) |
| Removes a window from the list. | |
| virtual void | windowDestroyed (QObject *w) |
| virtual void | modelDataAdded (const DtModelKey &key) |
| Called when model data is added, marks the data for update. | |
| virtual void | modelDataRemoved (const DtModelKey &key) |
| Called when model data is removed, removes from update. | |
| virtual void | setDisplayFrameRate (int iFramesPerSecond) |
| Called to display target display frame rate. | |
| virtual int | displayFrameRate () const |
| Called to return the target display frame rate. | |
| virtual void | tick () |
| This will go through the windows list and ask then windows to tick. Calls tickInternal if should tick. | |
| virtual void | tickInternal () |
| virtual void | setFullScreenMode (bool b) |
| Changes the myFullScreenMode flag, but does not change the mode. | |
| virtual void | saveSettingsFile () |
| Saves out settings. | |
| virtual void | saveSettings (QTextStream &stream) |
| virtual void | readSettingsFile (DtBaseWindow *w, bool windowOnly=false) |
| Reads out settings file. | |
| virtual void | readSettings (DtBaseWindow *w, QTextStream &stream, bool windowOnly=false) |
| virtual void | splashScreenDestroyed () |
| virtual void | removeManagedArea (QObject *) |
| Call to remove a managed area. Is also called when an area is destroyed that is managed. | |
| virtual void | removeFromUpdate (const DtModelData &data) |
| Removes this data for update (if exists) | |
| virtual void | markForUpdate (const DtModelData &) |
| virtual void | markForUpdate (const DtModelKey &) |
| virtual void | showSplashScreen () |
| Creates and shows the splash screen (if there is a splash image to show) | |
| virtual void | closeSplashScreen () |
| Closes splash screen and frees splash screen object. | |
| virtual void | showSplashScreen (bool show) |
| virtual void | processMsgItem (const DtMsgItem &item) |
| virtual bool | shouldTick () |
| Returns true if application should tick. | |
| static void | addUserDataFor (const DtEntityMapperKey &, DtArchivableObjectCreator) |
| Called when a model data is added, adds a user data for the particular item (based on entity mapper key) | |
| static void | removeUserDataFor (const DtEntityMapperKey &) |
| virtual void | addToUpdate (const DtModelData &data) |
| virtual void | addToRemoval (const DtModelData &data) |
Signals | |
| void | filenameInUseChanged (const QString &s) |
| Signals. | |
| void | symbolMapChangedSignal () |
| void | pluginLoaded (const DtTMPlugin *) |
| void | pasteAvailable () |
| void | pasteUnavailable () |
Public Member Functions | |
| DtTMApplication () | |
| Default Constructor. | |
| DtTMApplication (int &argc, char **argv) | |
| Constructor. | |
| virtual | ~DtTMApplication () |
| Destructor. | |
| virtual bool | init (DtTMFactory *f, bool bShowSplashScreen=true) |
| Initializer. | |
| virtual void | initializeQApplicationObject () |
| If there is no global qApp defined, this routine will create one and install this object as the event filter. | |
| virtual DtBaseWindow * | createWindow (QWidget *parent, int mode=DtMenu_Hide, const Qt::WindowFlags &flags=0) |
| This routine will create a new window (from the factory) and return a pointer to it. | |
| virtual QVector< DtModelKey > | selectedModelKeys () const |
| Given the current active window, and active map area within that window, return the current selected model keys. | |
| virtual const DtTMFactory * | factory () const |
| Returns a pointer to the current factory. | |
| virtual DtTMFactory * | factory () |
| virtual void | setFactory (DtTMFactory *f) |
| Sets the current factory. | |
| virtual bool | initConnections () |
| Init application level QT connections. Called from init. | |
| virtual DtTMMiniMap * | globalMiniMap () const |
| Returns pointer to terrain minimap. | |
| virtual DtModelDataDict & | ModelDataDict () |
| Returns the list of Symbol Datas. | |
| virtual DtModelDataIter * | ModelDataIter () const |
| Returns the list of Symbol Datas. | |
| virtual DtBaseWindow * | createNewWindow (QWidget *parent=NULL, int mode=DtWindow_NoAction, const Qt::WindowFlags &f=0) |
| Creates a new window. | |
| virtual DtBaseWindow * | activeWindow () const |
| Returns the currently active window. | |
| DtTMAppOptions * | options () const |
| DtTMDisplayOptions * | displayOptions () const |
| virtual DtDrawerColl * | drawerColl () |
| virtual const QString & | filenameInUse () |
| virtual void | setFilenameInUse (const QString &filename) |
| virtual DtBaseSymbolMapper * | baseSymbolMapper () const |
| Returns the default instance of the symbol mapper. | |
| DtArchiver * | archiver () |
| Returns archiver that can be used to add in items to save/restore from settings file. | |
| virtual DtBaseWindow * | mainWindowFromObject (QObject *o, DtBaseWindow *defaultWindow) const |
| Used in reparenting global mini-map. | |
| virtual void | addWindow (const DtBaseWindow *w) |
| Adds a new window to the window list. | |
| virtual void | addManagedArea (DtTMArea *) |
| Adds a new area to be managed by this application. | |
| virtual bool | hasWindows () const |
| Returns true if a window exists. | |
| virtual DtWindowList * | windowList () |
| Returns the list of windows. | |
| virtual int | fastestFrameRate () |
| Of all the windows opened, return the fastest frame rate. | |
| virtual bool | exec () |
| Run the qApp exec. | |
| virtual void | startTickTimer (int mSec, bool allowFutureOverride=true) |
| Starts the tick timer at the specified msec. | |
| virtual void | setAllowTickTimerOverride (bool b) |
| virtual bool | allowTickTimerOverride () |
| virtual void | adjustTickTimerToMeet (int mSec) |
| This routine will attempt to meet the minimum frame rate request if the tick timer can be modified. | |
| virtual int | tickTimerRate () |
| Returns the rate of the current user tick timer. | |
| virtual void | setSuspendTicking (bool b) |
| Suspend ticking of application. | |
| virtual bool | suspendTicking () |
| virtual void | setInTick (bool b) |
| Set when the application is in the process of ticking. | |
| virtual DtModelData * | dataWithName (const QString &name, const QVector< int > *except=NULL) |
| Returns the model data with the specified name. | |
| virtual DtModelData * | findLocalDataFor (const DtModelKey &key) |
| Find data in local data dictionaries for the specified key. | |
| virtual const DtModelKey * | findLocalModelKey (DtSymbol *s) |
| Find the model key, searching the view drivers of our known main windows. | |
| virtual DtModelData * | findModelData (DtSymbol *s) |
| Find the model key, searching the view drivers of our known main windows. | |
| virtual DtViewDriver * | viewDriverFor (DtSymbol *s) |
| Returns the view driver that holds the specified symbols. | |
| virtual DtViewDriver * | viewDriverFor (const DtModelKey &key) |
| Returns the view driver that holds the specified model key. | |
| virtual DtPopupMenu * | menuFromAction (QAction *) |
| Returns a menu that has this QAction. | |
| virtual void | markForUpdate (DtModelDataIter *iter) |
| Mark this data for update by telling all child windows to mark it for update. | |
| virtual void | modelDataChanged (const DtModelData &data, int iChangedFlags) |
| Different from markForUpdate in that it will mark the data for update and emit a model changed signal. | |
| virtual DtModelData * | checkForDuplicateName (const DtModelData *checker, QString name, const QVector< int > *except=NULL) |
| Does a name check for the requesting model data and the new name. | |
| virtual void | setDuplicateNameCheck (bool b) |
| Set to false if duplicate name checks should not be made (default is true) | |
| virtual bool | duplicateNameCheck () const |
| virtual DtEventSignaller * | eventSignaller () |
| Returns the event signaller the user can register to handle certain application level events. | |
| virtual DtEventController & | eventController () |
| Returns the applications event controller. | |
| virtual const DtEventController & | eventController () const |
| virtual const DtTerrainDatabase * | terrainDatabase () const |
| Stub routine to allow users to return a terrain database more easily from application subclasses. | |
| virtual DtTerrainDatabase * | terrainDatabase () |
| virtual const DtPaperMapDatabase * | paperMapDatabase () const |
| virtual DtPaperMapDatabase * | paperMapDatabase () |
| virtual bool | fullScreenMode () const |
| Returns state of full screen mode. | |
| virtual bool | isConcave (QVector< DtPoint > *pointList) |
| Returns true if the point list supplied creates a concave shape. | |
| virtual void | addSymbol (const DtModelData &, bool force=true) |
| Adds the specified symbol to all opened windows. | |
| virtual void | addSymbol (const DtModelData &, DtSymbol *) |
| virtual void | removeSymbol (const DtModelData &, bool removeFromDict=false) |
| Removes the symbol from the windows, and, optionally the dictionary as well. | |
| virtual void | clear () |
| Removes any model data from the data dictionary that is of type DtLocalControlModelDataType. | |
| virtual void | symbolMapChanged () |
| Removes all symbols from all map areas and windows. | |
| virtual bool | needsTerrainDatabase () const |
| Return true if a terrain database is needed to display symbols in the map area. | |
| virtual bool | terrainLoaded () const |
| Returns true if a terrain database is loaded. | |
| virtual DtCoordinateSystemCollection * | coordinateSystemCollection () const |
| virtual DtUnitDisplayManager * | unitDisplayManager () const |
| virtual DtUnitConverterFactory * | unitConverterFactory () const |
| virtual bool | allowTerrainProfileTracking () const |
| Return true to allow terrain profile tracking to be enabled for terrain profile dialogs. | |
| virtual void | setUpdateOnTick (bool b, bool updateMini=false) |
| Tells all children windows (and mini map) to update on next tick. | |
| virtual void | setPrintMode (bool b) |
| If we are in print mode, so objects (such as routes) can draw differently. | |
| virtual bool | printMode () const |
| virtual QString | dataFolder () |
| Returns the data folder of this application. | |
| virtual QString | makeRelativeTo (QString filename, QString path) |
| If the name given contains the directory, adds ../ to that path, removing everything before it. | |
| virtual QString | relativePath () |
| Returns the folder that paths should be made relative to. | |
| int | settingsVersion () const |
| virtual QString | appName () const |
| virtual QString | appVersion () const |
| virtual QString | pluginVersion () const |
| virtual QString | buildDate () const |
| virtual DtString | pluginName () const |
| Used for plugins only. | |
| virtual void | setSplashScreenMessage (const QString &) |
| If there is a splash screen, shows message on it. | |
| virtual bool | startSplashScreenProgress (const QString &title, int iTotalSteps) |
| Returns true if the progress status can be started on the splash screen. | |
| virtual void | updateSplashScreenProgress (int) |
| virtual void | endSplashScreenProgress () |
| virtual bool | splashScreenIsActive () const |
| Returns true if splash screen is active. | |
| bool | applicationInitialized () const |
| Set to true when first window is shown, meaning application has been initialized. | |
| virtual void | attachEventController (DtEventController *) |
| If you are creating an event controller that can be used with this application, call this method to add it to event controllers that are tickable. | |
| QList< DtEventController * > & | attachedEventControllers () |
| Does not include the default event controller. | |
| virtual void | tickEventControllers () |
| virtual void | clearCurrentEvents () |
| virtual void | setSplashScreenImage (const QString &) |
| Must call before init. | |
| virtual DtTMMapArea * | mapContainsData (const DtModelData *data) const |
| If a map area contains the model data, returns the map area that contains it. | |
| virtual bool | eventFilter (QObject *o, QEvent *e) |
| This is part of the work-around described in recursiveTimer.h. | |
| virtual bool | event (QEvent *e) |
| virtual QString | resolveFile (const QString &) const |
| Returns full qualified filename given current directory and relative file to it. | |
| virtual DtTMPluginManager * | pluginManager () const |
| virtual void | mergeFeatureActionManager (const DtFeatureActionManager &) |
| Because feature action managers are local to windows, passes this down to each window to merge. | |
| virtual void | mergeToolbarManager (const DtToolbarFactoryManager &) |
| Because toolbar managers are local to windows, passes this down to each window to merge. | |
| virtual void | revertToolbars () |
| Asks all windows to revert toolbars using stored toolbar factory information. | |
| virtual DtEnvironmentalModelData * | createObject (const QString &object, QVector< DtPoint > &points, const QString &name=QString::null) |
| These routines will aide in the creating of symbols and model data based on their name. | |
| virtual bool | canPaste () const |
| Routines that are used to store paste information for copy/paste operation. | |
| virtual void | setPasteData (const QByteArray &) |
| virtual void | clearPasteData () |
| const QByteArray & | pasteData () const |
Static Public Member Functions | |
| static DtTMApplication * | app () |
| static DtTMApplication * | create (int argc, char **argv) |
Protected Member Functions | |
| virtual void | postAppInit () |
| virtual DtTMPluginManager * | createPluginManager (DtTMFactory *) |
| Initializes and loads up all plugins. Done before calling any other factory methods. | |
| virtual void | initPlugins (DtTMFactory *f) |
| virtual bool | readOptions (DtTMFactory *f) |
| virtual bool | setupOptions () |
| Initializes command line arguments and mtl arguments for the app options. | |
| virtual bool | processOptions (DtTMFactory *f) |
| virtual bool | initGlobalMiniMap () |
| Initialize global mini map from DtTMFactory. | |
| virtual bool | initUnitConverterFactory (DtTMFactory *f) |
| Initialize unit converter factory. | |
| virtual bool | initUnitDisplayManager (DtTMFactory *f) |
| Initialize unit display manager. | |
| virtual bool | initMenuSystem () |
| Call to override or initialize menu structure. | |
| virtual void | setupApplicationFromSettings () |
| Called as the last operation of readSettings(). | |
| virtual bool | setupFromOptions () |
| virtual bool | setupMapReaders () |
| Override to add new types of map readers to the symbol mapper. | |
| virtual bool | initSymbolMapper (DtTMFactory *f) |
| virtual void | setupWindowFromSettings (DtBaseWindow *w, bool show) |
| virtual bool | createCoordinateSystemCollection (const DtTMFactory *f) |
| Creates an instance of a terrain coordinate system collection from the factory and initializes it. | |
| virtual bool | shouldClear (const DtModelData *data) |
| Returns true if the model data specified should be deleted when all model data is asked to be cleared when closing a terrain database. | |
| virtual void | initGlobalMiniMapConnections () |
| virtual const QString & | splashScreenImage () const |
| Returns empty string by default to prevent splash screen. | |
| virtual DtTMPlugin * | loadPlugin (const QString &) |
| Calls down to plugin manager to load plugin. This should only be called during the init process. | |
| virtual void | applicationReady () |
| Call when application is ready to start ticking for updates. | |
| virtual bool | loadTranslationFiles (const QString &lang) |
| Loads up translation files that are part of the app options object. | |
| virtual bool | loadSymbolMapFilesAtStartup () const |
| virtual DtString | initialLogFile () const |
| Returns the log file used to store initial startup information before final output log file is known from command line or .mtl file. | |
| virtual bool | useConsole () const |
| virtual void | setEnableGuiPrinter (bool enable, int level) |
| Enables/disables the printer object that connects DtInfo/DtWarn/DtVerbose statements with the DtMessageHandler.write call. | |
| virtual void | timerEvent (QTimerEvent *e) |
| virtual void | initUserData () |
| virtual void | addUserDataFor (DtEnvironmentalModelData *) |
| In respone to a model data being added, see if there is a user data that needs to be added for this model. | |
| virtual void | setupLanguage () |
Static Protected Attributes | |
| static DtTMApplication * | theApplication |
| static QHash< QString, DtArchivableObjectCreator > | theUserData |
| DtTMApplication::DtTMApplication | ( | ) |
Default Constructor.
| DtTMApplication::DtTMApplication | ( | int & | argc, |
| char ** | argv | ||
| ) |
Constructor.
|
virtual |
Destructor.
|
static |
|
virtual |
Initializer.
MUST BE CALLED. Returns true if successful. If bShowSplashScreen is false, splash screen will not be shown
Reimplemented in DtEntityEditorApplication, and DtTerrainApplication.
|
virtual |
If there is no global qApp defined, this routine will create one and install this object as the event filter.
Override to create your own type of QApplication object
|
virtual |
This routine will create a new window (from the factory) and return a pointer to it.
This differs from fileNewWindow in that this window will not be shown nor will it signal to terminate the application if it is destroyed.
The parameter supplied will tell the window what to do with the menu. If the value is DtWindow_NoAction, the menu and toolbards will be displayed as normal. If it is DtMenu_Hide (the default) it will always be hidden and will only be shown if a pointer to the menu tool bar is received and shown by the developer. This means that a show/hide of the toolbar will have no effect. If the value is DtMenu_DoNotCreate, the menu will not be created
|
virtual |
Given the current active window, and active map area within that window, return the current selected model keys.
|
virtual |
Returns a pointer to the current factory.
|
virtual |
|
virtual |
Sets the current factory.
|
virtual |
Init application level QT connections. Called from init.
Reimplemented in DtTerrainApplication.
|
virtual |
Returns pointer to terrain minimap.
|
virtual |
Returns the list of Symbol Datas.
|
virtual |
Returns the list of Symbol Datas.
|
virtual |
Creates a new window.
|
virtual |
Returns the currently active window.
|
inline |
References myOptions.
|
inline |
References DtTMAppOptions::displayOptions(), and myOptions.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Returns the default instance of the symbol mapper.
|
inline |
Returns archiver that can be used to add in items to save/restore from settings file.
References myArchiver.
|
virtual |
Used in reparenting global mini-map.
|
virtual |
Adds a new window to the window list.
|
virtual |
Adds a new area to be managed by this application.
Called from DtTMArea if no windows exist
|
virtual |
Returns true if a window exists.
|
virtual |
Returns the list of windows.
|
virtual |
Of all the windows opened, return the fastest frame rate.
This will be used to determine how long we process messages on the stack
|
virtual |
Run the qApp exec.
(you could instead do qApp->exec());
|
virtual |
Starts the tick timer at the specified msec.
The allowFutureOverride flag will allow the application to change the tick timer as the user changes the frame rate. If this flag is set to false then that change will become permanent until the override flag is set to true again via the setAllowOverride call
|
virtual |
|
virtual |
|
virtual |
This routine will attempt to meet the minimum frame rate request if the tick timer can be modified.
|
virtual |
Returns the rate of the current user tick timer.
|
virtual |
Suspend ticking of application.
|
virtual |
|
virtual |
Set when the application is in the process of ticking.
|
virtual |
Returns the model data with the specified name.
If more than one object model data contains that name, returns the first instance found. except contains a list of model data types to not match against
|
virtual |
Find data in local data dictionaries for the specified key.
|
virtual |
Find the model key, searching the view drivers of our known main windows.
|
virtual |
Find the model key, searching the view drivers of our known main windows.
|
virtual |
Returns the view driver that holds the specified symbols.
|
virtual |
Returns the view driver that holds the specified model key.
|
virtual |
Returns a menu that has this QAction.
Calls down to each active window to see which menu system has it
|
virtual |
Mark this data for update by telling all child windows to mark it for update.
|
virtual |
Different from markForUpdate in that it will mark the data for update and emit a model changed signal.
|
virtual |
Does a name check for the requesting model data and the new name.
If there is a match returns the model data of the match. except contains a list of model data types to not match against
|
virtual |
Set to false if duplicate name checks should not be made (default is true)
|
virtual |
|
inlinevirtual |
Returns the event signaller the user can register to handle certain application level events.
References myEventSignaller.
|
virtual |
Returns the applications event controller.
|
virtual |
|
virtual |
Stub routine to allow users to return a terrain database more easily from application subclasses.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Returns state of full screen mode.
Returns true if the point list supplied creates a concave shape.
|
virtual |
Adds the specified symbol to all opened windows.
|
virtual |
|
virtual |
Removes the symbol from the windows, and, optionally the dictionary as well.
|
virtual |
Removes any model data from the data dictionary that is of type DtLocalControlModelDataType.
|
virtual |
Removes all symbols from all map areas and windows.
|
virtual |
Return true if a terrain database is needed to display symbols in the map area.
By default returns false
Reimplemented in DtTerrainApplication.
|
virtual |
Returns true if a terrain database is loaded.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Return true to allow terrain profile tracking to be enabled for terrain profile dialogs.
By default returns false
Tells all children windows (and mini map) to update on next tick.
|
virtual |
If we are in print mode, so objects (such as routes) can draw differently.
|
virtual |
|
virtual |
Returns the data folder of this application.
Defaults to ../data
|
virtual |
If the name given contains the directory, adds ../ to that path, removing everything before it.
|
virtual |
Returns the folder that paths should be made relative to.
|
inline |
References mySettingsVersion.
|
virtual |
Reimplemented in DtEntityEditorApplication.
|
virtual |
Reimplemented in DtEntityEditorApplication.
|
virtual |
Reimplemented in DtEntityEditorApplication.
|
virtual |
|
virtual |
Used for plugins only.
Reimplemented in DtEntityEditorApplication.
|
virtual |
If there is a splash screen, shows message on it.
|
virtual |
Returns true if the progress status can be started on the splash screen.
|
virtual |
|
virtual |
|
virtual |
Returns true if splash screen is active.
|
inline |
Set to true when first window is shown, meaning application has been initialized.
References myApplicationInitialized.
|
virtual |
If you are creating an event controller that can be used with this application, call this method to add it to event controllers that are tickable.
Will also connect a slot to the destroyed signal of the event controller to remove it from the internal tickable list
|
inline |
Does not include the default event controller.
References myAttachedEventControllers.
|
virtual |
|
virtual |
|
virtual |
Must call before init.
|
virtual |
If a map area contains the model data, returns the map area that contains it.
This is part of the work-around described in recursiveTimer.h.
|
virtual |
|
virtual |
Returns full qualified filename given current directory and relative file to it.
|
virtual |
|
virtual |
Because feature action managers are local to windows, passes this down to each window to merge.
|
virtual |
Because toolbar managers are local to windows, passes this down to each window to merge.
|
virtual |
Asks all windows to revert toolbars using stored toolbar factory information.
|
virtual |
These routines will aide in the creating of symbols and model data based on their name.
The name is what appears in the menu system (e.g. Line or Area). The points are supplied in daatabase coordinates for the database that is currently opened.
If no name is supplied one will be creeated based on the object and a unique id
Creating an object will have two effects: 1) Creating a model data type of DtEnvironmentalModelData and inserting it into the application model data dictionary 2) For all open windows, creating a symbol of that type that will be drawn on the map area
|
inlinevirtual |
Routines that are used to store paste information for copy/paste operation.
References myPasteBuffer.
|
virtual |
|
virtual |
|
inline |
References myPasteBuffer.
|
static |
Reimplemented in DtTerrainApplication.
|
signal |
Signals.
|
signal |
|
signal |
|
signal |
|
signal |
|
virtualslot |
|
virtualslot |
Slots.
|
virtualslot |
|
virtualslot |
Removes a window from the list.
|
virtualslot |
|
virtualslot |
Called when model data is added, marks the data for update.
|
virtualslot |
Called when model data is removed, removes from update.
|
virtualslot |
Called to display target display frame rate.
If iframesPerSecond is -1, this means to try and run as fast as possible.
|
virtualslot |
Called to return the target display frame rate.
|
virtualslot |
This will go through the windows list and ask then windows to tick. Calls tickInternal if should tick.
|
virtualslot |
|
virtualslot |
Changes the myFullScreenMode flag, but does not change the mode.
To change to full screen mode, call DtTMAppEventController::processToggleFullScreen(true). Called when app controller signals we are in or not in full screen mode
|
virtualslot |
Saves out settings.
|
virtualslot |
|
virtualslot |
Reads out settings file.
|
virtualslot |
|
virtualslot |
|
virtualslot |
Call to remove a managed area. Is also called when an area is destroyed that is managed.
|
virtualslot |
Removes this data for update (if exists)
|
virtualslot |
|
virtualslot |
|
virtualslot |
Creates and shows the splash screen (if there is a splash image to show)
|
virtualslot |
Closes splash screen and frees splash screen object.
|
virtualslot |
|
virtualslot |
|
virtualslot |
Returns true if application should tick.
|
staticslot |
Called when a model data is added, adds a user data for the particular item (based on entity mapper key)
|
staticslot |
|
virtualslot |
|
virtualslot |
|
protectedvirtual |
|
protectedvirtual |
Initializes and loads up all plugins. Done before calling any other factory methods.
Reimplemented in DtEntityEditorApplication.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in DtTerrainApplication.
|
protectedvirtual |
Initializes command line arguments and mtl arguments for the app options.
Event signals are also sent out before the process and after each step of the init process.
|
protectedvirtual |
|
protectedvirtual |
Initialize global mini map from DtTMFactory.
|
protectedvirtual |
Initialize unit converter factory.
Must be called before initializing unit display manager as the unit converter factory is passed into the display manager
|
protectedvirtual |
Initialize unit display manager.
|
protectedvirtual |
Call to override or initialize menu structure.
Reimplemented in DtTerrainApplication, and DtEntityEditorApplication.
|
protectedvirtual |
Called as the last operation of readSettings().
The window is the window that will be active when the application starts
|
protectedvirtual |
Reimplemented in DtTerrainApplication, and DtEntityEditorApplication.
|
protectedvirtual |
Override to add new types of map readers to the symbol mapper.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Creates an instance of a terrain coordinate system collection from the factory and initializes it.
Called from init()
|
protectedvirtual |
Returns true if the model data specified should be deleted when all model data is asked to be cleared when closing a terrain database.
Called from clear() method. Local model data, detonation and fire interactions are removed
|
protectedvirtual |
Reimplemented in DtTerrainApplication.
|
protectedvirtual |
Returns empty string by default to prevent splash screen.
|
protectedvirtual |
Calls down to plugin manager to load plugin. This should only be called during the init process.
|
protectedvirtual |
Call when application is ready to start ticking for updates.
This is called when the first window is created or called from a map area when a map area is created without any indication there is a window present (see tmArea.h)
|
protectedvirtual |
Loads up translation files that are part of the app options object.
Reimplemented in DtEntityEditorApplication.
|
protectedvirtual |
|
protectedvirtual |
Returns the log file used to store initial startup information before final output log file is known from command line or .mtl file.
Reimplemented in DtEntityEditorApplication.
|
protectedvirtual |
Reimplemented in DtEntityEditorApplication.
|
protectedvirtual |
Enables/disables the printer object that connects DtInfo/DtWarn/DtVerbose statements with the DtMessageHandler.write call.
This is to allow output on the output console window
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
In respone to a model data being added, see if there is a user data that needs to be added for this model.
|
protectedvirtual |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
Changed from stack to pointer in order to support plugins.
|
protected |
|
protected |
Referenced by displayOptions(), and options().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
This is part of the work-around described in recursiveTimer.h.
|
protected |
|
protected |
|
protected |
|
protected |
Set to false if duplicate name checks should not be made.
|
protected |
Application level event controller.
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by archiver().
|
protected |
|
protected |
Keeps track of windows that have been closed but not yet deleted Can be useful to make sure windows that are about to go away are not referenced.
|
protected |
Referenced by settingsVersion().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Even though this can be created through the factory, it is not due to the fact that this needs to be available before other objects are created (such as the application options)
Referenced by eventSignaller().
|
protected |
|
protected |
|
protected |
Referenced by applicationInitialized().
|
protected |
|
protected |
Referenced by attachedEventControllers().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by canPaste(), and pasteData().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |