5 #include <tbb/atomic.h>
14 class DtDynamicTerrainStateComponent;
19 namespace DtDynamicTerrainStateComponentUtils
34 unsigned index,
const DtKeyValuePairList& changeData,
unsigned priority,
unsigned eventNumber);
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
Definition: worldLocationStructArray.h:19
Definition: terrainGeometryAndData.h:24
Definition: keyValuePairList.h:18
DT_DLL_vrfmodel makVrf::DtDynamicTerrainStateComponent * createStateComponent(DtLocalObject *localObject)
Creates a new state component on the localObject and returns a pointer to it. Note that the state com...
static tbb::atomic< int > theNextDynamicTerrainId
Definition: dynamicTerrainStateComponentUtils.h:21
DT_DLL_vrfmodel void updateChangeInStateComponents(std::vector< makVrf::DtDynamicTerrainStateComponent * > &stateComps, unsigned index, const DtKeyValuePairList &changeData, unsigned priority, unsigned eventNumber)
Updates an existing change, finding the item in the correct state component for it in the list based ...
DT_DLL_vrfmodel void addChangeToStateComponents(std::vector< makVrf::DtDynamicTerrainStateComponent * > &stateComps, const DtTerrainGeometryAndData &change, int maxChangesPerPublisher, DtLocalObject *localObject)
Adds a new change geometry to the state component list. Creates a new state component if necessary...
DT_DLL_vrfmodel const DtTerrainGeometryAndData & findChangeByIndex(const std::vector< makVrf::DtDynamicTerrainStateComponent * > &stateComps, unsigned index)
Returns the geometry and data for the change at the given index.
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86
1) Define the interface class that will be used to represent the next and curent frames. The UNDEFINED_ macros are convenience macros that will define methods that throw exceptions (until they are implemented)
Definition: dynamicTerrainStateComponent.h:45