VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
DtVrfOpdEditorApplication Class Reference
Inheritance diagram for DtVrfOpdEditorApplication:
Inheritance graph
[legend]

Public Member Functions

 DtVrfOpdEditorApplication (makVrv::DtVrvApplicationConfiguration &config)
virtual ~DtVrfOpdEditorApplication ()
virtual void initialize (int argc, char **argv)
 Initializes the application with the given command line options and replaces main window.
virtual DtPhysicalWorldParamsphysicalWorldParams ()
virtual DtReaderWriterClassDocDBparameterDocDB () const
virtual void sendCommMessage (const QString &message, const QStringList &systems)
virtual
DtVrfOpdEditorAppEventController
appEventController ()
 Returns the applications app event controller. Creates if does not exist.
virtual DtVrfOpdEditorWindowmainWindow ()
 Returns the applications main window.
virtual void addParameterType (const char *parm, const char *parmLike, 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)
 Use to add a new controller, sensor or actuator to the possible items that can be added to an .ope file.
virtual void addSensor (const char *sensorName, const char *descriptorName, DtComponentDescriptorCreatorFcn 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 addActuator (const char *actuatorName, const char *descriptorName, DtComponentDescriptorCreatorFcn fcn=NULL)
 Use to add a new controller, sensor or actuator to the possible items that can be added to an .ope file.
- 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 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.
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.
- Public Member Functions inherited from makVrv::DtVrvApplication
 DtVrvApplication ()
 Constructor.
 DtVrvApplication (const DtVrvApplicationConfiguration &appConfig)
virtual ~DtVrvApplication ()
 Destructor.
DtVrvApplicationConfigurationconfiguration ()
 DtVrvApplicationConfiguration accessor.
DtPageConfigurationmasterModePageConfiguration ()
 Get the page configuration which may be altered by plugins.
DtPageConfigurationslaveModePageConfiguration ()
DtMenuConfigurationmasterModeMenuConfiguration ()
 Get the menu configuration which may be altered by plugins.
DtMenuConfigurationslaveModeMenuConfiguration ()
DtToolbarConfigurationmasterModeToolbarConfiguration ()
 Get the toolbar configuration which may be altered by plugins.
DtToolbarConfigurationslaveModeToolbarConfiguration ()
DtDede ()
 DtDe accessor.
virtual DtPluginManagerpluginManager ()
 Provide access to the plugin manager.
virtual void slot_sceneTerrainLoaded (std::string terrain)
 slots for the DtScene signals so the scenes/terrains can get added to the recent terrains list
virtual void slot_sceneTerrainSaved (std::string terrain)
virtual void slot_sceneToBeLoaded (std::string terrain)
virtual void slot_sceneLoaded (std::string terrain)
virtual void slot_sceneSaved (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 DtVrfOpdEditorApplicationapp (makVrv::DtDe &)
 Returns a pointer to this object given the de.

Protected Slots

virtual void inputReceived (const QString &)

Protected Member Functions

virtual bool loadParameterDocDB (DtReaderWriterClassDocDB &parameterDocDB)
virtual DtReaderWriterClassDocDBcreateParameterDocDB () const
virtual DtPhysicalWorldParamscreatePhysicalWorldParams () const
virtual void setupMenu ()
 Adds and sets up menu items;.
- 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 bindObserverModes (const ObserverModeBindings &modes)
 Given the list, binds the observers (if they exist) to the visual mode.
virtual DtVrfGuiPluginManagercreatePluginManager ()
 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.
virtual void setupAdditionalVisualizers ()
 Set up any additional visualizers VR-Forces needs, for example, Range rings.
virtual void setupAdditionalTacticalGraphicsVisualizers ()
 Set up any additional visualizers VR-Forces needs, for example, sceeario events.
virtual void setupNavigationAreaVisualizer ()
 Set up any necessary navigation area visualizer.
virtual void setupBoundingVolumes ()
 Sets up bounding volumes for entities.
virtual void setupObjectConsoleWarngForTacticalGraphics ()
 Sets up object console warning visualizer for tactical graphics.
virtual void setupBoundingVolumes (const std::string &root)
 Sets up the bounding volumes to be under a particular root node.
virtual void setupRangeRings ()
 Sets up range ring items.
virtual void addRangeRingsFor (int managerType)
virtual void setupSensorContactLines ()
 Sets up sensor contact kines.
virtual void addSensorContactLinesFor (int managerType)
virtual void setupAdditionalAggregateVisualizers ()
virtual void postTickInitialize ()
- 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 (std::string terrain)
 add a terrain/scene to the list of recent terrains.

Protected Attributes

DtPhysicalWorldParamsmyPhysicalWorldParams
DtReaderWriterClassDocDBmyParameterDocDB
DtStdinReader myStdinReader
DtVrfOpdEditorAppEventControllermyAppEventController
- Protected Attributes inherited from DtParameterAlteringApplication
std::map< std::string,
std::string > 
myStartupValues
std::map< DtString, DtVectormyVisualPlacements
bool myUpdateGuiConfiguration
- Protected Attributes inherited from makVrf::DtVrfGuiApplication
DtVrfGuiPluginManagermyVrfGuiPluginManager
std::string myPluginApplication
std::map
< makVrv::DtElementDefinitionManager
*, bool
myModifiedManagers
 Managers that are modified as part of the start-up process that need to be saved out.
bool myLoadSystemPlugins
- Protected Attributes inherited from makVrv::DtVrvApplication
DtVrvApplicationConfiguration myConfiguration
DtDeInitializer myInitializer
DtVrvCommandLineProcessormyCommandLineProcessor
DtDemyDe
DtPluginManagermyPluginManager
DtEventLoopmyEventLoop
InitializerTransformMap myPrePluginTransforms
InitializerTransformMap myPostPluginTransforms
InitializerTransformMap myPostAssembleTransforms
DtSignalConnectionManagermyConnections
bool myIsSceneLoading

Additional Inherited Members

- Public Types inherited from makVrf::DtVrfGuiApplication
enum  ObserverMode { PvdAndStealthMode = 0, PvdMode, StealthMode }
typedef std::map< std::string,
std::string > 
ObserverModeBindings
- Public Attributes inherited from makVrf::DtVrfGuiApplication
boost::signal< void(makVrv::DtDe
&, makVrv::DtMenuConfiguration &)> 
signal_preAssemble
boost::signal< void(makVrv::DtDe
&, makVrv::DtMenuConfiguration &)> 
signal_postAssemble
boost::signal< void(makVrv::DtDe &)> signal_deInitialized
boost::signal< void()> signal_preLoadPlugins
boost::signal< void()> signal_postLoadPlugins
boost::signal< void()> signal_preWriteGuiConfiguration
boost::signal< void()> signal_postWriteGuiConfiguration
boost::signal< void(std::string)> signal_terrainSaved
- Static Public Attributes inherited from makVrv::DtVrvApplication
static const int MAX_RECENT_TERRAIN_COUNT = 20
- Protected Types inherited from makVrv::DtVrvApplication
typedef std::map< std::string,
ApplicationTransform
InitializerTransformMap
- Static Protected Attributes inherited from makVrf::DtVrfGuiApplication
static ObserverModeBindings theObserverModeBindings
static std::vector< std::string > theAdditionalPluginsToLoad
static bool theLoadDefaultPlugins
static bool theCheckPluginVersions
static std::string theTransport
static std::string theLoadScenario
static std::string theLayoutSettingsFile
static std::string theLoadSimulationObjectGroup
static std::string theUseFileCommChannel
static std::string theGuiConfiguration
static std::string theShowPerspective
static std::string theDefaultSimulationModelSet
static ObserverMode theObserverMode
static bool theLoadGuiSavedState

Constructor & Destructor Documentation

DtVrfOpdEditorApplication::DtVrfOpdEditorApplication ( makVrv::DtVrvApplicationConfiguration config)
virtual DtVrfOpdEditorApplication::~DtVrfOpdEditorApplication ( )
virtual

Member Function Documentation

virtual void DtVrfOpdEditorApplication::initialize ( int  argc,
char **  argv 
)
virtual

Initializes the application with the given command line options and replaces main window.

Parameters
argccommand line args
argvcommand line args

Reimplemented from DtParameterAlteringApplication.

virtual DtPhysicalWorldParams* DtVrfOpdEditorApplication::physicalWorldParams ( )
virtual
virtual DtReaderWriterClassDocDB* DtVrfOpdEditorApplication::parameterDocDB ( ) const
virtual
virtual void DtVrfOpdEditorApplication::sendCommMessage ( const QString &  message,
const QStringList &  systems 
)
virtual
static DtVrfOpdEditorApplication* DtVrfOpdEditorApplication::app ( makVrv::DtDe )
static

Returns a pointer to this object given the de.

Reimplemented from DtParameterAlteringApplication.

virtual DtVrfOpdEditorAppEventController* DtVrfOpdEditorApplication::appEventController ( )
virtual

Returns the applications app event controller. Creates if does not exist.

virtual DtVrfOpdEditorWindow* DtVrfOpdEditorApplication::mainWindow ( )
virtual

Returns the applications main window.

virtual void DtVrfOpdEditorApplication::addParameterType ( const char controllerName,
const char likeUi,
DtSimObjectParametersCreatorFcn  fcn = NULL 
)
virtual

Use to add a new controller, sensor or actuator to the possible items that can be added to an .ope file.

Routines that are used by plugins to register additional information. Reference this class by: DtParameterAlteringApplication::app(myDe) If the creator parameter is not NULL, then the creator will also be associated with the appropriate factory given the descriptor name

Reimplemented from DtParameterAlteringApplication.

virtual void DtVrfOpdEditorApplication::addController ( const char controllerName,
const char descriptorName,
DtComponentDescriptorCreatorFcn  fcn = NULL 
)
virtual

Use to add a new controller, sensor or actuator to the possible items that can be added to an .ope file.

Routines that are used by plugins to register additional information. Reference this class by: DtParameterAlteringApplication::app(myDe) If the creator parameter is not NULL, then the creator will also be associated with the appropriate factory given the descriptor name

Reimplemented from DtParameterAlteringApplication.

virtual void DtVrfOpdEditorApplication::addSensor ( const char sensorName,
const char descriptorName,
DtComponentDescriptorCreatorFcn  fcn = NULL 
)
virtual

Use to add a new controller, sensor or actuator to the possible items that can be added to an .ope file.

Routines that are used by plugins to register additional information. Reference this class by: DtParameterAlteringApplication::app(myDe) If the creator parameter is not NULL, then the creator will also be associated with the appropriate factory given the descriptor name

Reimplemented from DtParameterAlteringApplication.

virtual void DtVrfOpdEditorApplication::addActuator ( const char actuatorName,
const char descriptorName,
DtComponentDescriptorCreatorFcn  fcn = NULL 
)
virtual

Use to add a new controller, sensor or actuator to the possible items that can be added to an .ope file.

Routines that are used by plugins to register additional information. Reference this class by: DtParameterAlteringApplication::app(myDe) If the creator parameter is not NULL, then the creator will also be associated with the appropriate factory given the descriptor name

Reimplemented from DtParameterAlteringApplication.

virtual bool DtVrfOpdEditorApplication::loadParameterDocDB ( DtReaderWriterClassDocDB parameterDocDB)
protectedvirtual
virtual DtReaderWriterClassDocDB* DtVrfOpdEditorApplication::createParameterDocDB ( ) const
protectedvirtual
virtual DtPhysicalWorldParams* DtVrfOpdEditorApplication::createPhysicalWorldParams ( ) const
protectedvirtual
virtual void DtVrfOpdEditorApplication::setupMenu ( )
protectedvirtual

Adds and sets up menu items;.

Implements DtParameterAlteringApplication.

virtual void DtVrfOpdEditorApplication::inputReceived ( const QString &  )
protectedvirtualslot

Member Data Documentation

DtPhysicalWorldParams* DtVrfOpdEditorApplication::myPhysicalWorldParams
protected
DtReaderWriterClassDocDB* DtVrfOpdEditorApplication::myParameterDocDB
protected
DtStdinReader DtVrfOpdEditorApplication::myStdinReader
protected
DtVrfOpdEditorAppEventController* DtVrfOpdEditorApplication::myAppEventController
protected

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

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)