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

Public Slots | |
| virtual void | processFileOpenEntityEditorFile () |
| virtual void | processFileSaveEntityEditorFile () |
| virtual void | processDeleteExisting () |
| virtual void | processRevertExisting () |
| virtual void | processCreateNewEntity () |
| virtual void | processCreateFromExisting () |
| virtual void | processEditCreateMenu () |
| virtual void | processRevertCreateMenu () |
| virtual void | processEditCategories () |
| virtual void | processRevertCategories () |
| virtual void | processFileNewSimulationModelSet () |
| virtual void | processLoadSmsFile (const QString &file) |
| virtual void | processEditSystemFiles () |
| virtual void | processEditForces () |
| virtual void | processCheckSMS () |
Public Slots inherited from DtTMAppEventController | |
| virtual void | processDisplayOptions () |
| virtual void | processFrameRateMonitor () |
| virtual void | processEmitterBeamOptions () |
| virtual void | processPuffOptions () |
| virtual void | processTacticalSmokeOptions () |
| virtual void | processTransmitterOptions () |
| virtual void | processToggleFullScreen (bool b) |
| Toggles between full screen and normal mode. | |
| virtual void | processToggleAnim (bool b) |
| Toggle between interaction animations on and off. | |
| virtual void | aboutToQuit () |
| This method will be called right before the application quits. | |
| virtual void | setDefaultPointHeightOffset (double h) |
| Set the default point height offset and emit a signal if different. | |
| virtual void | setDefaultLineHeightOffset (double h) |
| Set the default route height offset and emit a signal if different. | |
| virtual void | processSaveOverlays () |
| virtual void | processLoadOverlays () |
| virtual void | processSaveSelectionGroups () |
| virtual void | processLoadSelectionGroups () |
| virtual void | processFilePrint () |
| Asks the print handler to print the current area to a single page of paper. | |
| virtual void | processFilePrintObjects () |
| Asks the print handler to print the current objects to a single page of paper. | |
| virtual void | processFileSaveMapArea () |
| Asks the save map area handler to save the current area to a file. | |
| virtual void | processLoadOverlayFile (const QString &file) |
| Call down to overlay handler to load specified overlay file. | |
| virtual void | processLoadSelectionGroupsFile (const QString &file) |
| Call down to selection group save handler to load specified overlay file. | |
| virtual void | processToggleFreehandPointEdit (bool b) |
Public Slots inherited from DtEventController | |
| virtual void | clearCurrentEvent () |
| Clear all events.... | |
| virtual void | mouseEvent (QMouseEvent *evnt, const DtPoint &pnt) |
| virtual void | keyboardEvent (QKeyEvent *evnt) |
| virtual void | focusEvent (QEvent *evnt) |
| virtual void | enterEvent (QEvent *evnt) |
| virtual void | leaveEvent (QEvent *evnt) |
| virtual void | dropEvent (QDropEvent *evnt) |
| virtual void | dragEnterEvent (QDragEnterEvent *evnt) |
| virtual void | dragLeaveEvent (QDragLeaveEvent *evnt) |
| virtual void | dragMoveEvent (QDragMoveEvent *evnt) |
| virtual void | symbolsSelected (DtSymbolList *sl) |
| virtual void | selectionUpdated (const QVector< DtModelKey > &) |
| virtual void | selectionInProgress (DtSymbolSelector &) |
| virtual void | selectedModelDataUpdated () |
| virtual void | symbolRemoved (const DtModelKey &) |
| virtual void | aboutToDraw (QPainter *) |
| Called when a map area is about to draw. | |
| virtual void | userDefinedAction (DtUserDefinedType iAction, void *usr) |
| Generic catchall action. | |
| virtual void | mapActivated (DtTMMapArea *) |
| virtual void | initializeEventDlg () |
| Once an event dialog is created, initialize it. | |
| virtual DtEventHandler * | handlerFor (DtEventHandlerType type) |
| This routine will create a handler of a specific type if it does not exist or return the existing type if it does. | |
| virtual void | tick () |
| Tick routine that will allow handlers (or current handler) to do something on a tick. | |
| virtual void | processNotifyCleanup () |
| Sends the DtNotifyCleanup action to the userDefinedAction of the current event handler (if there is one) | |
Signals | |
| void | preSimulationModelSetSave () |
| void | simulationModelSetLoaded () |
| void | simulationModelSetSaved () |
| void | opdEntryAdded (DtVrfObjectParameters *, DtModelSetEntry *, const DtEntityType &) |
Signals inherited from DtTMAppEventController | |
| void | filenameInUseChanged (const QString &s) |
| Signals. | |
| void | fullScreenModeChanged (bool) |
| void | defaultPointHeightOffsetChanged (double) |
| Sent when the default waypoint height offset has changed. | |
| void | defaultLineHeightOffsetChanged (double) |
| Sent when the default route height offset has changed. | |
Signals inherited from DtEventController | |
| void | activated (DtEventHandler *handler) |
| Emitted when handlers are activated/deactived. | |
| void | deactivated (DtEventHandler *handler) |
Public Member Functions | |
| DtEntityEditorAppController () | |
| Constructor. | |
| virtual | ~DtEntityEditorAppController () |
| Destructor. | |
| virtual bool | loadSimulationModelSet (const DtSimulationModelSet &) |
| virtual bool | saveSimulationModelSet (const DtFilename &) |
| virtual bool | isModified () const |
| virtual bool | saveIfChanged () |
| makVrv::DtDe * | de () |
| makVrv::DtForceManager * | forceManager () |
| virtual bool | init () |
| Initialize the controller with default handlers. | |
| DtSimulationModelSetLoader * | simulationModelSetLoader () const |
| virtual void | addNewEntity (DtVrfObjectParameters *, const DtString &modelName, const DtRwNLengthStringVector &categories=DtRwNLengthStringVector("categories"), const DtEntityType &basedOnType=DtEntityType()) |
| void | setSaving (bool b) |
| bool | saving () const |
Public Member Functions inherited from DtTMAppEventController | |
| DtTMAppEventController () | |
| Constructor. | |
| virtual | ~DtTMAppEventController () |
| Destructor. | |
| virtual void | setFullScreenMode (bool b) |
| Emits fullScreenModeChange signal if full screen mode has changed as well as sets internal flag. | |
| virtual double | defaultPointHeightOffset () |
| virtual double | defaultLineHeightOffset () |
| virtual bool | openDatabase (QString db) |
| Current no-op, but, could be used to open and close files. | |
| virtual void | closeDatabase () |
Public Member Functions inherited from DtEventController | |
| DtEventController () | |
| Constructor. | |
| virtual | ~DtEventController () |
| Destructor. | |
| virtual void | connectToMapArea (DtTMMapArea *area) |
| Connect this event handler to a map area. | |
| virtual void | disconnectFromMapArea (DtTMMapArea *area) |
| Disconnect this event handler from a map area. | |
| virtual QList< DtEventHandler * > & | defaultHandlers () |
| The default handler list is a list of events that will be executed in the default state NOTE: ordering of handlers count - they execute. | |
| DtEventHandler * | insertDefaultHandler (DtEventHandlerType iType, int iPos) |
| Inserts a default handler at the specified position. | |
| virtual DtEventHandler * | addDefaultHandler (DtEventHandlerType iType) |
| Adds a new handler of the specified type and returns the newly created handler. | |
| virtual DtEventHandler * | addDefaultHandler (DtEventHandler *) |
| Adds a new handler by handler pointer and returns that pointer. | |
| virtual void | removeDefaultHandler (DtEventHandlerType iType) |
| Remove default handler by type or by the handler pointer itself. | |
| virtual void | removeDefaultHandler (DtEventHandler *) |
| virtual void | setEventHandler (DtEventHandler *) |
| Sets the event handler that will be used instead of default handlers Call clearCurrentEvent() to go back to using default handlers to handle events. | |
| virtual bool | addDefaultHandlers () |
| Override this routine to install default handlers. | |
| virtual DtEventHandlerFactory * | eventHandlerFactory () |
| Returns the event handler factory so handler creators can be added without having to subclass the factory. | |
| virtual void | setBaseWindow (DtBaseWindow *win) |
| Accessors the owner window of this factory. | |
| virtual DtBaseWindow * | baseWindow () const |
| virtual DtEchelonView * | echelonView () |
| Accessor for echelon view (if exists) | |
| 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 void | removeHandlerFor (DtEventHandlerType iType) |
| This routine will remove a handler that has already been created, so the next time it is referenced, it will be created anew. | |
| virtual DtEventHandlerType | typeFromHandler (DtEventHandler *) |
| Returns the handler type based on the handler. | |
| DtEventHandler * | currentEvent () |
| Returns the current active event. | |
| virtual bool | passKeyEventToMapArea (QKeyEvent *) const |
| By default returns false. | |
| virtual bool | canExitApplication () |
| Return true if application can be safely closed. | |
Public Member Functions inherited from DtArchivableObject | |
| DtArchivableObject (QString name, DtArchivableObjectCreator fcn) | |
| This constructor will add this object to the archivable object factory. | |
| DtArchivableObject (QString name) | |
| DtArchivableObject () | |
| virtual | ~DtArchivableObject () |
| virtual QString | name () const |
| DtArchiver * | archiver () |
| Returns the archiver of this object. | |
| virtual void | read (QTextStream &s) |
| Reads/writes archiver. | |
| virtual void | write (QTextStream &s) |
| virtual void | setLevel (int i) |
| virtual int | level () const |
| virtual DtArchivableObject * | clone () |
| Allows for cloning of this object. | |
Static Public Member Functions | |
| static void | addParameterType (const char *parameter, DtSimObjectParametersCreatorFcn fcn) |
| Call this to add a new creator for parameter types. Will be added in init() method. | |
| static DtEventController * | create () |
| Static creator function. | |
| static DtSimulationModelSetLoaderCreatorFcn | simulationModelSetLoaderCreatorFcn () |
| static void | setSimulationModelSetLoaderCreatorFcn (DtSimulationModelSetLoaderCreatorFcn c) |
Protected Slots | |
| virtual void | opdEditorMessage () |
| Received when the opd editor process has send something through stdout. | |
Protected Member Functions | |
| virtual void | addParameterTypes () |
| virtual QString | parseCommandLine (const QString &command, QString &commandLine, QStringList &files) const |
| Given a command line, parse it for a command and a list of files. | |
| virtual DtSimulationModelSetLoader * | createSimulationModelSetLoader () const |
Protected Member Functions inherited from DtTMAppEventController | |
| virtual bool | appLevelController () |
| Returns true. | |
Protected Attributes | |
| DtSimulationModelSetLoader * | mySimulationModelSet |
| bool | mySaving |
| makVrv::DtDe * | myDe |
Protected Attributes inherited from DtTMAppEventController | |
| bool | myFullScreenMode |
| double | myDefaultPointHeightOffset |
| double | myDefaultLineHeightOffset |
Protected Attributes inherited from DtEventController | |
| bool | myUsingEvent |
| QList< DtTMMapArea * > | myMapAreaList |
| QList< DtEventHandler * > | myDefaultHandlerList |
| QHash< int, DtEventHandler * > | myTypedDefaultHandlerList |
| DtEventHandler * | myCurrentHandler |
| DtEventHandlerFactory | myEventHandlerFactory |
| DtBaseWindow * | myBaseWindow |
| QHash< int, DtEventHandler * > | myHandlers |
Protected Attributes inherited from DtArchivableObject | |
| DtArchiver * | myArchiver |
Static Protected Attributes | |
| static QHash< QString, DtSimObjectParametersCreatorFcn > | gParameterTypesToAdd |
| static DtSimulationModelSetLoaderCreatorFcn | gSimulationModelSetLoaderCreatorFcn |
| DtEntityEditorAppController::DtEntityEditorAppController | ( | ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |
Call this to add a new creator for parameter types. Will be added in init() method.
|
inline |
| makVrv::DtForceManager* DtEntityEditorAppController::forceManager | ( | ) |
|
static |
Static creator function.
Reimplemented from DtTMAppEventController.
|
virtual |
Initialize the controller with default handlers.
Calls addDefaultHandlers
Reimplemented from DtEventController.
|
inline |
References mySimulationModelSet.
|
virtual |
|
static |
|
static |
|
inline |
|
inline |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
protectedvirtualslot |
Received when the opd editor process has send something through stdout.
sender() is the QProcess
|
signal |
|
signal |
|
signal |
|
signal |
|
protectedvirtual |
|
protectedvirtual |
Given a command line, parse it for a command and a list of files.
Returns the portion that is left after the commands have been parsed
|
protectedvirtual |
|
protected |
Referenced by simulationModelSetLoader().
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |