![]() |
VR-Forces Developer's Guide
|
This class is the central access point for all current-frame state of all objects in the simulation in a read-only form. This includes all simulation objects for the sim engine, including locally simulated objects, and remote objects received from the network, both VRF simulated and non-VRF simulated. This gives access to the external state of all of these objects and their current-frame state in a manner that is thread-safe during the simulation frame.

Protected Member Functions | |
| virtual void | uuidChanged (unsigned long long, const DtUUID &oldUUID, const DtUUID &newUUID) override |
Protected Member Functions inherited from makVrf::DtSimObjectManagerTemplate< DtSimObject > | |
| virtual void | simObjectDeleted (const DtStateDataWrapper *) |
| virtual void | stateDataDeleted (const DtStateData *) |
| virtual DtSimObjectReferenceTemplate < DtSimObject > | getOrCreateSimObjectReference (DtStateData *, bool createOnlyIfNotPresent=false) const |
| virtual void | uuidChanged (unsigned long long, const DtUUID &oldUUID, const DtUUID &newUUID) |
| virtual void | objectRenamed (const DtStateDataWrapper *, const DtString &oldName, const DtString &newName) |
| virtual void | simObjectAdded (DtStateData *) |
| virtual void | discoveredObjectReference (const DtString &awaiting) |
| bool | isDeleted (const DtUUID &) const |
| virtual void | slot_uuidUpgradedTo (const DtUUID &oldUUID, const DtUUID &newUUID) |
Protected Attributes | |
| DtSimulationServices * | mySimulationServices |
Protected Attributes inherited from makVrf::DtSimObjectManagerTemplate< DtSimObject > | |
| DtStateDataManager * | myStateDataManager |
| tbb::spin_rw_mutex | myMutex |
| boost::signals2::scoped_connection | myUUIDUpgradedConnection |
| std::vector< DtStateDataManager * > | myStateDataManagerOrder |
| std::map< DtStateDataManager *, StateDataManagerInformation > | myStateDataManagers |
| SimObjects | mySimObjects |
| AwaitingMap | myAwaitingMap |
| SimObjects | myAdded |
| DeletedObjects | myDeleted |
| SimObjectConnections | mySimObjectConnections |
Private Member Functions | |
| DtSimObjectManager () | |
| DtSimObjectManager (const DtSimObjectManager &) | |
| DtSimObjectManager & | operator= (const DtSimObjectManager &) |
|
private |
|
private |
| DtSimObjectManager::DtSimObjectManager | ( | DtSimulationServices * | m | ) |
CTOR – Takes the state data manager so this can be made aware of the comings and goings of state data.
|
overridevirtual |
|
private |
|
virtual |
Returns true if there is a locally simulated entity or unit in this simulation.
|
inline |
|
virtual |
Given the global object designator, find all the entities that are tracking the given object by their emitter systems.
|
virtual |
Given the global object designator, find all the entities that are tracking the given object by their emitter systems.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Reimplemented from makVrf::DtSimObjectManagerTemplate< DtSimObject >.
|
virtual |
Returns a list of all objects embarked on the given object. These are objects that are only directly embarked – not objects that are embarked on objects embarked on.
|
overrideprotectedvirtual |
|
protected |