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

Public Member Functions | |
| DtSimulationObjectEditorApplication (makVrv::DtVrvApplicationConfiguration &config) | |
| Constructor. | |
| virtual | ~DtSimulationObjectEditorApplication () |
| Destructor. | |
| virtual void | initialize (int argc, char **argv) |
| Initializes the application with the given command line options and replaces main window. | |
| virtual DtSimulationObjectEditorAppEventController * | appEventController () |
| Returns app event controller. If not created, creates it. | |
| virtual DtSimulationObjectEditorWindow * | mainWindow () |
| Returns the applications main window. | |
| virtual void | addVisualTypeMapping (const DtString &, const DtVector &) |
| Adds some offsets by display type in display widget. | |
| 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. | |
Public Member Functions inherited from DtParameterAlteringApplication | |
| DtParameterAlteringApplication (makVrv::DtVrvApplicationConfiguration &config) | |
| Constructor. | |
| virtual | ~DtParameterAlteringApplication () |
| Destructor. | |
| virtual std::string | startupValue (const std::string &) const |
| Returns a value that is set at startup to use in the application. | |
| virtual void | setStartupValue (const std::string &key, const std::string &value) |
| Sets a startup value, replacing any that exists. | |
| virtual void | run () |
| Runs the application. Signals deInitialized if application has started successfully. | |
| virtual void | setMainWindowCreatorFunction (makVrv::DtDeMainWindowProvider *) |
| MUST be called to create a new main window of the appropriate type. | |
| 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. | |
| 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. | |
Public Member Functions inherited from makVrf::DtVrfGuiApplication | |
| DtVrfGuiApplication (makVrv::DtVrvApplicationConfiguration &config) | |
| Constructor to the VRFGUI application. | |
| virtual | ~DtVrfGuiApplication () |
| Destructor to the VRFGUI application. | |
| virtual DtString | layoutSettingsFileClassName () const |
| Returns the class name from the layout settings file. | |
| void | setPluginApplication (const std::string &) |
| Sets the plugin application name. | |
| const std::string & | pluginApplication () const |
| Gets the plugin application name. | |
| virtual void | setLoadSystemPlugins (bool) |
| If set to false does not load any plugins from the plugins directory. Default is true. | |
| virtual bool | loadSystemPlugins () const |
| virtual makVrv::DtUnicode | applicationName () const |
| Returns the application name as defined in the configuration. | |
| virtual void | writeGuiConfiguration () |
| Override to send out pre/post write gui configuration signals. | |
| virtual void | loadSavedGuiState () |
| Override to not load if not loading gui saved state. | |
| virtual bool | getShowStartupScreen () const |
| Return false to now show Vantage version of the startup screen. | |
| virtual bool | usingAbsoluteTimeStamps () const |
| Returns true if driver is using absolute time stamping. | |
| virtual bool | usingAsynchIO () const |
| Returns true if driver is using asynchronous io. | |
| virtual DtSimulationAddress | frontEndSimulationAddress () const |
| The front end simulation address of this front-end. | |
| virtual bool | vrlDriverHasBooleanValue (const std::string &) const |
| virtual int | vrlDriverHasIntegerValue (const std::string &) const |
| virtual std::string | vrlDriverHasStringValue (const std::string &) 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) | |
Public Member Functions inherited from makVrv::DtVrvApplication | |
| DtVrvApplication () | |
| Constructor. | |
| DtVrvApplication (const DtVrvApplicationConfiguration &appConfig) | |
| virtual | ~DtVrvApplication () |
| Destructor. | |
| DtVrvApplicationConfiguration & | configuration () |
| DtVrvApplicationConfiguration accessor. | |
| DtPageConfiguration & | masterModePageConfiguration () |
| Get the page configuration which may be altered by plugins. | |
| DtPageConfiguration & | slaveModePageConfiguration () |
| DtMenuConfiguration & | masterModeMenuConfiguration () |
| Get the menu configuration which may be altered by plugins. | |
| DtMenuConfiguration & | slaveModeMenuConfiguration () |
| DtToolbarConfiguration & | masterModeToolbarConfiguration () |
| Get the toolbar configuration which may be altered by plugins. | |
| DtToolbarConfiguration & | slaveModeToolbarConfiguration () |
| DtDe & | de () |
| DtDe accessor. | |
| virtual DtPluginManager & | pluginManager () |
| Provide access to the plugin manager. | |
| virtual void | slot_sceneTerrainLoaded (const DtUnicode &terrain) |
| slots for the DtScene signals so the scenes/terrains can get added to the recent terrains list | |
| 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. | |
| virtual void | installPrePluginTransform (const ApplicationTransform &transform, const std::string &id) |
| Add a transformer that runs before plug-ins are loaded. | |
| virtual void | installPostPluginTransform (const ApplicationTransform &transform, const std::string &id) |
| Add a transformer that runs after plug-ins are loaded. | |
| 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. | |
Static Public Member Functions | |
| static DtSimulationObjectEditorApplication * | app (makVrv::DtDe &) |
| Returns a pointer to this object given the de. | |
Public Attributes | |
| boost::signal< void()> | signal_preBehaviorUiCreate |
| Signal sent before behavior ui is created. | |
| boost::signal< void(DtBehaviorUi *)> | signal_postBehaviorUiCreate |
| Signal sent after behavior ui is created. | |
| boost::signal< void(DtBehaviorCanvas *, std::set < makVrf::DtEntityMapperKey > , std::string)> | signal_preBehaviorCanvasCreate |
| Signal sent before behavior canvas is created. | |
| boost::signal< void(DtBehaviorCanvas *, QWidget *, std::set < makVrf::DtEntityMapperKey > , std::string)> | signal_postBehaviorCanvasCreate |
| Signal sent after behavior canvas is created. | |
| boost::signal< void(DtUiElement *)> | signal_uiElementModified |
| Signal sent when a UI element is modified. | |
Protected Member Functions | |
| virtual void | setupMenu () |
| Sets up a menu. | |
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. | |
| virtual void | dePostInitialize () |
| Called during the post initialize process of the de, initialize some things before drivers get initialized. | |
| virtual void | loadPluginModulesExt () |
| Calls setupMenu() | |
| virtual bool | updateCurrentGuiConfiguration () |
| Do not save out any changes to UI layout to prevent VRF-Gui application from modifying. | |
Protected Member Functions inherited from makVrf::DtVrfGuiApplication | |
| virtual void | loadPluginModules () |
| Override to set up additional plugins to load. | |
| virtual void | initializePluginManager () |
| Initializes the plugin manager. | |
| virtual void | initializePluginsForCommandLineArguments (int argc, char **argv) |
| Called to load plugins and initilize for command line arguments only. | |
| virtual void | bindObserverModes (const ObserverModeBindings &modes) |
| Given the list, binds the observers (if they exist) to the visual mode. | |
| virtual DtVrfGuiPluginManager * | createPluginManager () |
| Creates and returns the plugin manager for VRF plugins. | |
| virtual void | setupForObserverMode () |
| Called to set up Gui configuration and settings based on current observer mode selection. | |
| virtual void | setupForPvdMode () |
| Sets up GUI for PVD mode only. Experimental as of 4.0. | |
| virtual void | setupForStealthMode () |
| Sets up for Stealth only. Experimental as of 4.0. | |
Protected Member Functions inherited from makVrv::DtVrvApplication | |
| virtual void | createDefaultDisplayEngineConfiguration () |
| Create default engine configurations if none exist. | |
| virtual DtDisplayConfiguration | embeddedMasterDisplayConfig () |
| Helper method that returns an embedded display config. | |
| virtual void | createDefaultObserverConfiguration () |
| Create default observer configurations if none exist. | |
| virtual void | addRecentTerrain (const std::string &terrain) |
| add a terrain/scene to the list of recent terrains. | |
Protected Attributes | |
| DtSimulationObjectEditorAppEventController * | myAppEventController |
Protected Attributes inherited from DtParameterAlteringApplication | |
| std::map< std::string, std::string > | myStartupValues |
| std::map< DtString, DtVector > | myVisualPlacements |
| bool | myUpdateGuiConfiguration |
Protected Attributes inherited from makVrf::DtVrfGuiApplication | |
| DtVrfGuiPluginManager * | myVrfGuiPluginManager |
| std::string | myPluginApplication |
| std::string | myVrfSvnRevision |
| std::string | myVrvSvnRevision |
| bool | myLoadSystemPlugins |
Protected Attributes inherited from makVrv::DtVrvApplication | |
| DtVrvApplicationConfiguration | myConfiguration |
| DtDeInitializer | myInitializer |
| DtVrvCommandLineProcessor * | myCommandLineProcessor |
| DtDe * | myDe |
| DtPluginManager * | myPluginManager |
| DtEventLoop * | myEventLoop |
| InitializerTransformMap | myPrePluginTransforms |
| InitializerTransformMap | myPostPluginTransforms |
| InitializerTransformMap | myPostAssembleTransforms |
| DtSignalConnectionManager * | myConnections |
| bool | myIsSceneLoading |
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.
Reimplemented from DtParameterAlteringApplication.
|
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.
|
protectedvirtual |
Sets up a menu.
Implements DtParameterAlteringApplication.
| boost::signal<void ()> DtSimulationObjectEditorApplication::signal_preBehaviorUiCreate |
Signal sent before behavior ui is created.
| boost::signal<void (DtBehaviorUi*)> DtSimulationObjectEditorApplication::signal_postBehaviorUiCreate |
Signal sent after behavior ui is created.
| boost::signal<void (DtBehaviorCanvas*, std::set<makVrf::DtEntityMapperKey>, std::string)> DtSimulationObjectEditorApplication::signal_preBehaviorCanvasCreate |
Signal sent before behavior canvas is created.
| boost::signal<void (DtBehaviorCanvas*, QWidget*, std::set<makVrf::DtEntityMapperKey>, std::string)> DtSimulationObjectEditorApplication::signal_postBehaviorCanvasCreate |
Signal sent after behavior canvas is created.
| boost::signal<void (DtUiElement*)> DtSimulationObjectEditorApplication::signal_uiElementModified |
Signal sent when a UI element is modified.
|
protected |