![]() |
VR-Forces 4.10 Class Documentation
|
Entity editor version of the parameter altering application. More...

Public Member Functions | |
| DtSimulationObjectEditorApplication (makVrv::DtVrvApplicationConfiguration &config) | |
| Constructor. More... | |
| virtual | ~DtSimulationObjectEditorApplication () |
| Destructor. More... | |
| virtual void | initialize (int argc, char **argv) |
| Initializes the application with the given command line options and replaces main window. More... | |
| virtual DtSimulationObjectEditorAppEventController * | appEventController () |
| Returns app event controller. If not created, creates it. More... | |
| virtual DtSimulationObjectEditorWindow * | mainWindow () |
| Returns the applications main window. More... | |
| virtual void | addVisualTypeMapping (const DtString &, const DtVector &) |
| Adds some offsets by display type in display widget. More... | |
| virtual DtVector | visualPlacement (const DtString &) |
| virtual DtDisplayWidget * | editingWindow () |
| Returns the window that can be used for 3D/2D editing in a dialog. Shared with display widget. More... | |
| virtual QString | sematicText (int) const |
Public Member Functions inherited from DtParameterAlteringApplication | |
| DtParameterAlteringApplication (makVrv::DtVrvApplicationConfiguration &config) | |
| Constructor. More... | |
| virtual | ~DtParameterAlteringApplication () |
| Destructor. More... | |
| virtual std::string | startupValue (const std::string &) const |
| Returns a value that is set at startup to use in the application. More... | |
| virtual void | setStartupValue (const std::string &key, const std::string &value) |
| Sets a startup value, replacing any that exists. More... | |
| virtual void | run () |
| Runs the application. Signals deInitialized if application has started successfully. More... | |
| virtual void | setMainWindowCreatorFunction (makVrv::DtDeMainWindowProvider *) |
| MUST be called to create a new main window of the appropriate type. More... | |
| virtual void | addParameterType (const char *controllerName, const char *likeUi, DtSimObjectParametersCreatorFcn fcn=NULL) |
| Use to add a new controller, sensor or actuator to the possible items that can be added to an .ope file. More... | |
| virtual void | addController (const char *controllerName, const char *descriptorName, DtComponentDescriptorCreatorFcn fcn=NULL) |
| virtual void | addSensor (const char *sensorName, const char *descriptorName, DtComponentDescriptorCreatorFcn fcn=NULL) |
| virtual void | addActuator (const char *actuatorName, const char *descriptorName, DtComponentDescriptorCreatorFcn fcn=NULL) |
| virtual void | addUserExtentsion (const DtString &type, DtVrfSRUserExtensionCreatorFcn fcn) |
| Add a creator for user extension SR. More... | |
| virtual DtReaderWriterClassDocDB * | parameterDocDB () const |
Public Member Functions inherited from makVrf::DtVrfGuiApplication | |
| DtVrfGuiApplication (makVrv::DtVrvApplicationConfiguration &config) | |
| Constructor to the VRFGUI application. More... | |
| virtual | ~DtVrfGuiApplication () |
| Destructor to the VRFGUI application. More... | |
| virtual DtString | layoutSettingsFileClassName () const |
| Returns the class name from the layout settings file. More... | |
| virtual std::string | userScenarioDirectory () |
| virtual std::string | userTerrainDirectory () |
| void | setPluginApplication (const std::string &) |
| Sets the plugin application name. More... | |
| const std::string & | pluginApplication () const |
| Gets the plugin application name. More... | |
| virtual void | setLoadSystemPlugins (bool) |
| If set to false does not load any plugins from the plugins directory. Default is true. More... | |
| virtual bool | loadSystemPlugins () const |
| virtual makVrv::DtUnicode | applicationName () const |
| Returns the application name as defined in the configuration. More... | |
| virtual void | writeGuiConfiguration () |
| Override to send out pre/post write gui configuration signals. More... | |
| virtual void | loadSavedGuiState () |
| Override to not load if not loading gui saved state. More... | |
| virtual bool | getShowStartupScreen () const |
| Return false to now show Vantage version of the startup screen. More... | |
| virtual bool | usingAbsoluteTimeStamps () const |
| Returns true if driver is using absolute time stamping. More... | |
| virtual bool | usingAsynchIO () const |
| Returns true if driver is using asynchronous io. More... | |
| virtual makVrv::DtVrlinkDriver * | getVrlinkDriver () const |
| Gets the communications driver. More... | |
| virtual DtSimulationAddress | frontEndSimulationAddress () const |
| The front end simulation address of this front-end. More... | |
| virtual bool | vrlDriverHasBooleanValue (const std::string &, bool *hasValue=NULL) const |
| virtual bool | vrlDriverHasBooleanValue (makVrv::DtVrlinkDriver *, const std::string &, bool *hasValue=NULL) const |
| virtual int | vrlDriverHasIntegerValue (const std::string &, bool *hasValue=NULL) const |
| virtual int | vrlDriverHasIntegerValue (makVrv::DtVrlinkDriver *, const std::string &, bool *hasValue=NULL) const |
| virtual double | vrlDriverHasDoubleValue (const std::string &, bool *hasValue=NULL) const |
| virtual double | vrlDriverHasDoubleValue (makVrv::DtVrlinkDriver *, const std::string &, bool *hasValue=NULL) const |
| virtual std::string | vrlDriverHasStringValue (const std::string &, bool *hasValue=NULL) const |
| virtual std::string | vrlDriverHasStringValue (makVrv::DtVrlinkDriver *, const std::string &, bool *hasValue=NULL) const |
| void | setVrfSvnRevision (const std::string &s) |
| const std::string & | vrfSvnRevision () const |
| void | setVrvSvnRevision (const std::string &s) |
| const std::string & | vrvSvnRevision () const |
| virtual bool | terrainIsValid (int terrainPathOffset=0) |
| Returns true if there is a valid terrain (patches, ocean layer, featuer layer) More... | |
| virtual std::string | language () const |
| Language code application is using. More... | |
Public Member Functions inherited from makVrv::DtVrvApplication | |
| DtVrvApplication () | |
| Constructor. More... | |
| DtVrvApplication (const DtVrvApplicationConfiguration &appConfig) | |
| virtual | ~DtVrvApplication () |
| Destructor. More... | |
| DtVrvApplicationConfiguration & | configuration () |
| DtVrvApplicationConfiguration accessor. More... | |
| DtPageConfiguration & | masterModePageConfiguration () |
| Get the page configuration which may be altered by plugins. More... | |
| DtPageConfiguration & | slaveModePageConfiguration () |
| DtMenuConfiguration & | masterModeMenuConfiguration () |
| Get the menu configuration which may be altered by plugins. More... | |
| DtMenuConfiguration & | slaveModeMenuConfiguration () |
| DtToolbarConfiguration & | masterModeToolbarConfiguration () |
| Get the toolbar configuration which may be altered by plugins. More... | |
| DtToolbarConfiguration & | slaveModeToolbarConfiguration () |
| DtDe & | de () |
| DtDe accessor. More... | |
| virtual DtPluginManager & | pluginManager () |
| Provide access to the plugin manager. More... | |
| virtual void | slot_sceneTerrainLoaded (const DtUnicode &terrain) |
| slots for the DtScene signals so the scenes/terrains can get added to the recent terrains list More... | |
| virtual void | slot_sceneTerrainSaved (const std::string &terrain) |
| virtual void | slot_sceneToBeLoaded (const std::string &terrain) |
| virtual void | slot_sceneLoaded (const std::string &terrain) |
| virtual void | slot_sceneSaved (const std::string &terrain) |
| virtual std::list< std::string > & | getRecentTerrains () |
| virtual void | setShowStartupScreen (bool show) |
| virtual void | installCommandLineProcessor (DtVrvCommandLineProcessor *commandLineProcessor) |
| Add a configuration transformer that runs at command line processor level priority. More... | |
| virtual void | installPrePluginTransform (const ApplicationTransform &transform, const std::string &id) |
| Add a transformer that runs before plug-ins are loaded. More... | |
| virtual void | installPostPluginTransform (const ApplicationTransform &transform, const std::string &id) |
| Add a transformer that runs after plug-ins are loaded. More... | |
| virtual void | installPostAssembleTransform (const ApplicationTransform &transform, const std::string &id) |
| Add a transformer that runs after the application is assembled and before the DtDe is initialized. More... | |
Static Public Member Functions | |
| static DtSimulationObjectEditorApplication * | app (makVrv::DtDe &) |
| Returns a pointer to this object given the de. More... | |
Static Public Member Functions inherited from DtParameterAlteringApplication | |
| static DtParameterAlteringApplication * | app (makVrv::DtDe &) |
| Returns a pointer to this object given the de. More... | |
Static Public Member Functions inherited from makVrf::DtVrfGuiApplication | |
| static bool | applicationIsTerminating (makVrv::DtDe &) |
| Will return true if the application is destructing. More... | |
| static DtVrfGuiApplication * | app (makVrv::DtDe &) |
| static makVrv::DtDe * | theDe () |
| static void | setNoSpotReportDefinitionLoading (bool val) |
| Sets whether or not to use VLD memory tracking. Only enabled is USE_VLD_MEMORY_TRACKING is enabled. More... | |
| static bool | noSpotReportDefinitionLoading () |
| static void | setSpotReportElementDefinitionHierFilesOrDirs (const std::vector< std::string > &filesOrDirs) |
| Sets the name of additional spot report elements definition hierarchy (.hier) files (or dirs with .hier files) to merge after the spot report element definitions are loaded. More... | |
| static const std::vector < std::string > & | spotReportElementDefinitionHierFilesOrDirs () |
| static void | setSpotReportElementDefinitionLeafFilesOrDirs (const std::vector< std::string > &filesOrDirs) |
| Sets the name of additional spot report element definition hierarchy (.leaf) files (or dirs with .leaf files) to merge after the spot report element definitions are loaded. More... | |
| static const std::vector < std::string > & | spotReportElementDefinitionLeafFilesOrDirs () |
| static void | setIgnoreLayoutGeometryOnInitialLoad (bool) |
| Sets whether or not to ignore setting layout geometry on initial load regardless of what it is set at and to always start maximized. More... | |
| static bool | ignoreLayoutGeometryOnInitialLoad () |
| static void | setShowPerspective (const std::string &) |
| Sets the initial perspective to show for ground truth. More... | |
| static void | setQtDesignerPluginSupport (bool) |
| Sets whether or not to allow Qt designer plugin support from the applicaiton. Default is true. This must be set at initialization time. More... | |
| static bool | qtDesignerPluginSupport () |
| static void | setGuiConfiguration (const std::string &) |
| Sets the gui configuration file to use. More... | |
| static void | setObserverModeBindings (const ObserverModeBindings &modes) |
| Sets the observer mode bindings to a different set of bindings. More... | |
| static const ObserverModeBindings & | observerModeBindings () |
| Gets the current observer mode bindings that are set. More... | |
| static const std::vector < std::string > & | additionalPluginsToLoad () |
| Gets a list of additional plugins to be loaded or were loaded by loadPluginModules() More... | |
| static void | setAdditionalPluginsToLoad (const std::vector< std::string > &) |
| Sets the list of additional plugins to be loaded by loadPluginModules() More... | |
| static bool | loadDefaultPlugins () |
| Gets whether the default plugins should be loaded or not. More... | |
| static void | setLoadDefaultPlugins (bool) |
| Sets whether the default plugins were loaded or not. More... | |
| static bool | checkPluginVersions () |
| Gets whether to check the plugin versions or not. More... | |
| static void | setCheckPluginVersions (bool) |
| Sets whether to check the plugin versions or not. More... | |
| static const std::string & | transport () |
| Gets the transport string. More... | |
| static void | setTransport (const std::string &) |
| Sets the transport string. More... | |
| static const std::string & | loadScenario () |
| Gets the currently loaded scenario name. More... | |
| static void | setLoadScenario (const std::string &) |
| Sets the currently loaded scenario name. More... | |
| static const std::string & | useFileCommChannel () |
| If empty use this file comm channel as a listener in the scenario manager class. More... | |
| static void | setUseFileCommChannel (const std::string &) |
| static void | setLayoutSettingsFile (const std::string &) |
| UI Layout settings file to use (base name at which default_ will be prepended and .uisx appended) More... | |
| static std::string | layoutSettingsFile () |
| static const std::string & | loadSimulationObjectGroup () |
| Gets the currently loaded simulation object group name. More... | |
| static void | setLoadSimulationObjectGroup (const std::string &) |
| Sets the currently loaded simulation object group name. More... | |
| static void | setDefaultSimulationModelSet (const std::string &) |
| Sets the default simulation model set to use. Will override any setting within the session settings file. More... | |
| static const std::string & | defaultSimulationModelSet () |
| static ObserverMode | observerMode () |
| Gets the current observer mode. More... | |
| static void | setObserverMode (ObserverMode) |
| Sets the current observer mode. More... | |
| static void | setUserScenarioDirectory (const std::string &) |
| Sets the user scenario directory. More... | |
| static void | setUserTerrainDirectory (const std::string &) |
| Sets the user terrain directory. More... | |
| static void | setShouldLoadGuiSavedState (bool) |
| Set to false to not load gui saved state. More... | |
| static bool | shouldLoadGuiSavedState () |
Static Public Member Functions inherited from makVrv::DtVrvApplication | |
| static DtVrvApplication * | get_last_instance () |
| Returns the last DtVrvApplication created, regardless of DtDe. More... | |
| static void | ShowSplashScreen (const std::string &imageName) |
| Show a brief splash screen. More... | |
| static void | ShowErrorMessage (const std::string &message, DtException *ex=0) |
| Show a brief splash screen. More... | |
| static DtVrvApplication * | findFromDe (DtDe &) |
| If an IG is created by an application you can find the IG application which created/owns it. More... | |
| static bool | parseDisplayEngineParameter (const std::string &argument, int &port, std::string &address, std::string &displayConfig) |
| Parse a display engine command line argument. More... | |
| static std::string | displayEngineParameterFormatting () |
| Get the format of the display engine parameter. More... | |
| static void | setShowErrorMessageDialog (bool show) |
| set the show error message dialog flag. If true errors will show a dialog, if false they will print to console. More... | |
| static bool | showErrorMessageDialog () |
| get the show error message dialog flag. If true errors will show a dialog, if false they will print to console. More... | |
| static void | handleFileError (const std::string &filename, const std::string &fileType) |
| Handle when a file specified on the command line can't be read. More... | |
| static void | bindViews (const std::vector< std::string > &filenames, makVrv::DtDeInitializer::ObserverStateMap &aMap) |
| Places all views into the supplied observer view map and binds to the supplied observer view. More... | |
| static bool | loadObserverStateRecords (const std::string &file, makArchives::DtObserverStateRecordsList &list) |
| Loads up observer state records from filename into specified list. More... | |
| static void | loadViews (const std::vector< std::string > &filenames, makVrv::DtDeInitializer::ObserverStateMap &aMap) |
| Places all views into the supplied observer view map. More... | |
Public Attributes | |
| boost::signals2::signal< void()> | signal_preBehaviorUiCreate |
| Signal sent before behavior ui is created. More... | |
| boost::signals2::signal< void(DtBehaviorUi *)> | signal_postBehaviorUiCreate |
| Signal sent after behavior ui is created. More... | |
| boost::signals2::signal< void(DtBehaviorCanvas *, std::set < makVrf::DtEntityMapperKey > , std::string)> | signal_preBehaviorCanvasCreate |
| Signal sent before behavior canvas is created. More... | |
| boost::signals2::signal< void(DtBehaviorCanvas *, std::vector < DtComponentSystemDefinition * >)> | signal_preSystemBehaviorCanvasCreate |
| boost::signals2::signal< void(DtBehaviorCanvas *, QWidget *, std::set < makVrf::DtEntityMapperKey > , std::string)> | signal_postBehaviorCanvasCreate |
| Signal sent after behavior canvas is created. More... | |
| boost::signals2::signal< void(DtBehaviorCanvas *, QWidget *, std::vector < DtComponentSystemDefinition * >)> | signal_postSystemBehaviorCanvasCreate |
| boost::signals2::signal< void(DtUiElement *)> | signal_uiElementModified |
| Signal sent when a UI element is modified. More... | |
Public Attributes inherited from makVrf::DtVrfGuiApplication | |
| boost::signals2::signal< void(makVrv::DtDe &, makVrv::DtMenuConfiguration &)> | signal_preAssemble |
| boost::signals2::signal< void(makVrv::DtDe &, makVrv::DtMenuConfiguration &)> | signal_postAssemble |
| boost::signals2::signal< void(makVrv::DtDe &)> | signal_deInitialized |
| boost::signals2::signal< void()> | signal_preLoadPlugins |
| boost::signals2::signal< void()> | signal_postLoadPlugins |
| boost::signals2::signal< void()> | signal_preWriteGuiConfiguration |
| boost::signals2::signal< void()> | signal_postWriteGuiConfiguration |
| boost::signals2::signal< void(std::string)> | signal_terrainSaved |
| boost::signals2::signal< void(std::string)> | signal_simTerrainSaved |
| boost::signals2::signal< void()> | signal_defaultLayoutLoaded |
| boost::signals2::signal< void()> | signal_vrfApplicationInitialized |
| boost::signals2::signal< void()> | signal_qtExtensionsPreInitialize |
| Signals sent via the qt extension initialization. More... | |
| boost::signals2::signal< void()> | signal_qtExtensionsPostInitialize |
Protected Member Functions | |
| virtual void | setupMenu () |
| Sets up a menu. More... | |
| void | initSemanticsTextMapping () |
| virtual void | loadPluginModules () |
| Override to set up additional plugins to load. More... | |
Protected Member Functions inherited from DtParameterAlteringApplication | |
| virtual void | loadTranslationFiles (const std::string &) |
| virtual void | assemble () |
| Assembles the application and signals the pre and post of the assembly process. More... | |
| virtual void | dePostInitialize () |
| Called during the post initialize process of the de, initialize some things before drivers get initialized. More... | |
| virtual void | loadPluginModulesExt () |
| Calls setupMenu() More... | |
| virtual bool | updateCurrentGuiConfiguration () |
| Do not save out any changes to UI layout to prevent VRF-Gui application from modifying. More... | |
| virtual bool | loadParameterDocDB (DtReaderWriterClassDocDB ¶meterDocDB) |
| Loads in the contents of the parameter documentation database (used to provide context-sensitive help). More... | |
| virtual DtReaderWriterClassDocDB * | createParameterDocDB () const |
| Returns new instance of a DtReaderWriterClassDocDB. Called from init. More... | |
Protected Member Functions inherited from makVrf::DtVrfGuiApplication | |
| virtual void | initializePluginManager () |
| Initializes the plugin manager. More... | |
| virtual void | initializePluginsForCommandLineArguments (int argc, char **argv) |
| Called to load plugins and initilize for command line arguments only. More... | |
| virtual void | bindObserverModes (const ObserverModeBindings &modes) |
| Given the list, binds the observers (if they exist) to the visual mode. More... | |
| virtual DtVrfGuiPluginManager * | createPluginManager () |
| Creates and returns the plugin manager for VRF plugins. More... | |
| virtual void | setupForObserverMode () |
| Called to set up Gui configuration and settings based on current observer mode selection. More... | |
| virtual void | setupForPvdMode () |
| Sets up GUI for PVD mode only. Experimental as of 4.0. More... | |
| virtual void | setupForStealthMode () |
| Sets up for Stealth only. Experimental as of 4.0. More... | |
| virtual void | initializeWithVRFSymbolDecorations (const std::string &) |
| Initializes decoration sets with VRF specific items. More... | |
Protected Member Functions inherited from makVrv::DtVrvApplication | |
| virtual void | createDefaultDisplayEngineConfiguration () |
| Create default engine configurations if none exist. More... | |
| virtual DtDisplayConfiguration | embeddedMasterDisplayConfig () |
| Helper method that returns an embedded display config. More... | |
| virtual void | createDefaultObserverConfiguration () |
| Create default observer configurations if none exist. More... | |
| virtual void | addRecentTerrain (const std::string &terrain) |
| add a terrain/scene to the list of recent terrains. More... | |
Entity editor version of the parameter altering application.
| DtSimulationObjectEditorApplication::DtSimulationObjectEditorApplication | ( | makVrv::DtVrvApplicationConfiguration & | config | ) |
Constructor.
|
virtual |
Destructor.
Initializes the application with the given command line options and replaces main window.
| argc | command line args |
| argv | command line args |
Reimplemented from DtParameterAlteringApplication.
|
static |
Returns a pointer to this object given the de.
|
virtual |
Returns app event controller. If not created, creates it.
|
virtual |
Returns the applications main window.
|
virtual |
Adds some offsets by display type in display widget.
|
virtual |
Returns the window that can be used for 3D/2D editing in a dialog. Shared with display widget.
|
virtual |
|
protectedvirtual |
Sets up a menu.
Implements DtParameterAlteringApplication.
|
protected |
|
protectedvirtual |
Override to set up additional plugins to load.
Based on what is returned if one were to call additionalPluginsToLoad() to see what would be loaded.
Reimplemented from makVrf::DtVrfGuiApplication.
| boost::signals2::signal<void ()> DtSimulationObjectEditorApplication::signal_preBehaviorUiCreate |
Signal sent before behavior ui is created.
| boost::signals2::signal<void (DtBehaviorUi*)> DtSimulationObjectEditorApplication::signal_postBehaviorUiCreate |
Signal sent after behavior ui is created.
| boost::signals2::signal<void (DtBehaviorCanvas*, std::set<makVrf::DtEntityMapperKey>, std::string)> DtSimulationObjectEditorApplication::signal_preBehaviorCanvasCreate |
Signal sent before behavior canvas is created.
| boost::signals2::signal<void (DtBehaviorCanvas*, std::vector<DtComponentSystemDefinition*>)> DtSimulationObjectEditorApplication::signal_preSystemBehaviorCanvasCreate |
| boost::signals2::signal<void (DtBehaviorCanvas*, QWidget*, std::set<makVrf::DtEntityMapperKey>, std::string)> DtSimulationObjectEditorApplication::signal_postBehaviorCanvasCreate |
Signal sent after behavior canvas is created.
| boost::signals2::signal<void (DtBehaviorCanvas*, QWidget*, std::vector<DtComponentSystemDefinition*>)> DtSimulationObjectEditorApplication::signal_postSystemBehaviorCanvasCreate |
| boost::signals2::signal<void (DtUiElement*)> DtSimulationObjectEditorApplication::signal_uiElementModified |
Signal sent when a UI element is modified.
|
protected |
|
protected |