![]() |
VR-Forces Developer's Guide
|
This page describes the changes between VR-Vantage 3.1.1 (SVN r269750) and VR-Vantage 3.2 (SVN r280791) that may require updates to code built against VR-Vantage 3.1.1: removed classes, relocated headers, changed signatures, and behavioral changes.
Each section explains what changed, what replaces it, and how to update your code.
New, non-breaking additions in 3.2 – new libraries, features, API additions, data, and examples – are described in the VR-Vantage 3.2 Release Notes.
The following changes can cause compile errors, link errors, or runtime failures in code that was built against VR-Vantage 3.1.1. Entries are grouped by affected subsystem. See the silent-breakers callout and the change-type index above for orthogonal views of the same content.
The entire DtSimData read-only simulation state repository was removed in 3.2. This is the single largest change on this page and cascades through public headers, .ocdx object class definitions, and the exampleSimData example.
The entire DtSimData subsystem – the read-only simulation state repository that provided DtStateView<T> and DtEventView<T> typed views onto simulation state – has been removed. This is the single largest breaking change in 3.2.
The following 21 public headers have been deleted from vrvCore:
DtSimData.h – repository of simulation entries indexed by DtUniqueIDDtSimState.h – base class for all simulation state objectsDtSimEntry.h, DtSimEntryObject.h, DtSimEntryUpdater.hDtSimObjectEntry.h, DtSimObjectEntryCollection.hDtSimEventEntry.hDtSimStateObject.hDtSimDataProcessorInterface.h – virtual base with forceObjectUpdate() and signals signal_stateAdded, signal_stateUpdated, signal_stateRemovedDtStateView.h – template class DtStateView<StateType> providing typed views onto simulation state with configurable update ratesDtStateViewCollection.h – template class DtStateViewCollection<StateType> managing collections of state views with add/remove signalsDtEventView.h, DtEventView.inl – template DtEventView<EventType> for event-driven state notificationsDtEntityState.h, DtEntityStateObject.hDtFireInteractionState.h, DtFireInteractionStateObject.hDtSensorFieldOfViewState.h, DtSensorFieldOfViewStateObject.hThe corresponding VR-Link accessor classes have also been removed:
vrvVrl/DtEntitySimDataProcessor.h / .inlvrvVrl/DtEntitySimDataProcessorAccessory.h / .inlvrvVrl/DtSensorFieldOfViewSimDataProcessorAccessory.h / .inlProtocol-specific accessories that wired SimData into HLA and DIS drivers are also gone:
vrvDis/DtDisEntitySimDataProcessor.hvrvDis/DtVrlinkEntitySimDataProcessorDisAccessory.hvrvDis/DtVrlinkSensorFieldOfViewSimDataProcessorDisAccessory.hvrvHla13/DtVrlinkEntitySimDataProcessorHla13Accessory.hvrvHla13/DtVrlinkSensorFieldOfViewSimDataProcessorHla13Accessory.hvrvHla1516e/DtVrlinkEntitySimDataProcessorHla1516eAccessory.hvrvHla1516e/DtVrlinkSensorFieldOfViewSimDataProcessorHla1516eAccessory.hThe exampleSimData example has been deleted along with its batch/shell launchers.
If your code used DtSimData, DtStateView<T>, DtEventView<T>, DtStateViewCollection<T>, or any of the concrete state types (DtVrlinkSimulatedEntityState, DtFireInteractionState, DtVrlinkSensorFieldOfViewState), those queries must be rewritten to use the existing state-listener and element APIs directly.
The entitySimDataEnabled() and setEntitySimDataEnabled(bool) methods on DtSharedEntityDisplaySettings have also been removed since they controlled the now-deleted subsystem. Remove any calls to these methods and any references to the myEntitySimDataEnabled member.
Deleted object class definitions (corresponding to the SimData removal):
DtFireInteractionStateObject.ocdxDtSimEntryObject.ocdxDtEntityStateObject.ocdxDtSimStateObject.ocdxDtSensorFieldOfViewStateObject.ocdxNew object class definitions:
DtRenderSideCigiFrame.ocdxDtSensorFieldOfViewManagerInformerObject.ocdxIf your system definition files reference any of the deleted .ocdx files, remove those references.
The exampleSimData example has been deleted along with the SimData subsystem it demonstrated. This included DtStateViewDriver, the plugin source, and all documentation.
The DtObserver LOD-scale API was split into separate entity and terrain controls and the LOD-center magnification methods were renamed. The DtRemoteGraphicVisualizerAttributes class was replaced by DtRemoteGraphicVisualizer with a redesigned interface.
The LOD scale API on DtObserver has been split into separate entity and terrain controls, and the LOD-center magnification methods have been renamed.
| 3.1.1 Method | 3.2 Replacement |
|---|---|
setLodScale(double) | setEntityLodScale(double) |
lodScale() | entityLodScale() |
setLodScaleCenterEnabled(bool) | setIsFrustumBasedViewMagnificationEnabled(bool) |
lodScaleCenterEnabled() | isFrustumBasedViewMagnificationEnabled() |
setLodScaleCenterMagMinLimit(double) | Removed (use setLodCenterSettings()) |
lodScaleCenterMagMinLimit() | Removed (use lodCenterSettings()) |
signal_lodScaleChanged | signal_entityLodScaleChanged |
signal_lodScaleCenterEnabledChanged | signal_isFrustumBasedViewMagnificationEnabledChanged |
signal_lodScaleCenterMagMinLimitChanged | Removed |
New additions:
setTerrainLodScale(double) / terrainLodScale() – separate terrain LOD controlsignal_terrainLodScaleChangedsetLodCenterSettings(DtLodCenterSettings&) / lodCenterSettings(DtLodCenterSettings&) – consolidated LOD center configurationsignal_lodCenterSettingsChangedUpdate all call sites and signal connections to use the new names.
The class DtRemoteGraphicVisualizerAttributes has been replaced by DtRemoteGraphicVisualizer, which now inherits from DtStateVisualizer.
| 3.1.1 | 3.2 |
|---|---|
#include <vrvCore/DtRemoteGraphicVisualizerAttributes.h> | #include <vrvCore/DtRemoteGraphicVisualizer.h> |
Class DtRemoteGraphicVisualizerAttributes | Class DtRemoteGraphicVisualizer |
The constructor now requires (DtBaseConnection&, DtStateListener&, DtSceneObjectAgent*, DtModelSetId). New virtual methods initialize(), connectToListenerSignals(), and setProjected(bool) have been added.
The DtDriver::createConfiguration() factory gained an optional saveAllParameters argument, the DtVrlinkConnection initializer type changed, and the pre/post-tick signals moved up to DtBaseConnection. In addition, the on-disk driver settings XML now serializes as a delta against a shared exercise-connection configuration file.
DtDriver::createConfiguration() now takes an optional parameter:
If you override createConfiguration() in a subclass, add the bool saveAllParameters = false parameter to match the new signature.
The setExerciseConnInit() method parameter type has changed:
The pre-tick and post-tick signals have moved from DtVrlinkConnection up to DtBaseConnection:
| 3.1.1 | 3.2 |
|---|---|
DtVrlinkConnection::signal_preTick | DtBaseConnection::signal_preConnectionTick |
DtVrlinkConnection::signal_postTick | DtBaseConnection::signal_postConnectionTick |
Update all signal connection sites to use the new names on the base class.
Starting in VR-Vantage 3.2, the VR-Link protocol drivers (DIS, HLA 1.3, HLA 1516e, and HLA 4) load a shared exercise-connection configuration file at startup (appData/settings/connections/MAK-ONE-2026-Config.xml by default) and, when saving per-user settings, write only the values that differ from the loaded configuration. In VR-Vantage 3.1.1, the same files recorded every setting explicitly.
This is a behavior change for workflows that inspect or diff the on-disk driver settings XML:
No API is removed or renamed. The change is limited to what the drivers write during serialization. See Shared Exercise Connection Configuration File in the release notes for the full description of the shared configuration file and the new --exConnConfigFile command-line option.
The SensorType enum relocated to DtSensorFieldOfViewStateListener, and the listener's floating-point parameters were narrowed from DtFloat64 to double.
The SensorType enum has been moved from DtVrlinkSensorFieldOfViewState (deleted) to DtSensorFieldOfViewStateListener:
All DtFloat64 parameters and signal signatures in DtSensorFieldOfViewStateListener have been changed to double. Update connected slots accordingly.
The sensorFieldsOfViewCollection() accessor and the slot_onObjectAdded(), slot_onObjectUpdated(), slot_onObjectAboutToBeRemoved() slots have been removed from DtSensorFieldOfViewManager since they depended on the deleted DtStateViewCollection types.
DtDe internal locking types were reshaped from TBB mutexes to std::shared_timed_mutex.
DtDe now uses std::shared_timed_mutex instead of tbb::mutex / tbb::recursive_mutex for internal locking. If your subclass directly accessed myInternalDataMutex or myErrorMutex, update the types accordingly.
Several CDB utility headers relocated from osgdb_osgearth_model_cdb to osgearth_cdb_utils, with one header removed entirely.
Several CDB classes have been moved from osgdb_osgearth_model_cdb to osgearth_cdb_utils:
| 3.1.1 Location | 3.2 Location |
|---|---|
osgdb_osgearth_model_cdb/DtCDBAttributeIndex.h | osgearth_cdb_utils/DtCDBAttributeIndex.h |
osgdb_osgearth_model_cdb/DtCDBClassRow.h | osgearth_cdb_utils/DtCDBClassRow.h |
osgdb_osgearth_model_cdb/DtCDBTileKey.h | osgearth_cdb_utils/DtCDBTileKey.h |
osgdb_osgearth_model_cdb/DtCDBGsPointDbfClassRow.h | osgearth_cdb_utils/DtCDBGsPointDbfClassRow.h |
osgdb_osgearth_model_cdb/DtCDBGtPointDbfClassRow.h | osgearth_cdb_utils/DtCDBGtPointDbfClassRow.h |
osgdb_osgearth_model_cdb/DtCDBSpeedTree.h | osgearth_cdb_utils/DtCDBSpeedTree.h |
osgdb_osgearth_model_cdb/DtCDBPagerConfig.h | Removed entirely |
Update your #include directives and CMake target_link_libraries calls to reference osgearth_cdb_utils instead of osgdb_osgearth_model_cdb for these headers.
Two SensorFX shader files were removed.
Two SensorFX shader files have been removed:
data/shaders/components/SensorFX/jrmOSVSimpleMain.vert.glsldata/shaders/components/SensorFX/jrmOSVSimpleMain.frag.glslIf your custom shader pipeline referenced these files, update accordingly.
Isolated header removals and the retirement of the vrvGStreamerPlugin library.
| Deleted Header | Notes |
|---|---|
vrvOsg/DtCompressTextureAsync.h | Texture compression pipeline removed |
vrvGraphicsUtils/DtTbbTaskLamda.h | TBB task lambda helper removed |
vrvVrl/DtVrlinkRectangularPyramidStateListener.h / .inl | Rectangular pyramid listener removed |
If your code included any of these headers, remove the includes and replace with alternative approaches as needed.
The vrvGStreamerPlugin library has been removed entirely. If your build system or plugin loading configuration referenced this plugin, remove those references.
New libraries, non-breaking features, API additions, and new examples introduced in VR-Vantage 3.2 are documented separately in the VR-Vantage 3.2 Release Notes.