VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simObjectManager.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
9 #include "vrfobjcore/simObject.h"
14 #include <vrfutil/vrf4XAPI.h>
15 
32 {
33 private:
37 
38 public:
41 
42  virtual ~DtSimObjectManager() override;
43 
45  virtual bool hasValidSimulatedEntity() const;
46 
48  {
49  return mySimulationServices;
50  }
51 
53  virtual DtSimObjectReferenceList entitiesTracking(const DtUUID&) const;
54 
56  virtual DtSimObjectReferenceList entitiesJamming(const DtUUID&) const;
57 
59  virtual makVrf::DtStateDataWrapper* createSimObject(const DtUUID& uuid) const override;
60  virtual makVrf::DtStateDataWrapper* createSimObject(const DtEntityIdentifier& entId) const override;
61 
63 
66  virtual void objectsEmbarkedOn(const DtUUID&, std::vector<DtSimObjectReference>& list) const;
67 
68 protected:
69 
70  virtual void uuidChanged(unsigned long long, const DtUUID& oldUUID, const DtUUID& newUUID) override;
71 
72 protected:
74 };
UUID is a unique ID wrapper class.
Definition: uuid.h:59
DtSimObjectManagerTemplate & operator=(const DtSimObjectManagerTemplate &)
DtSimulationServices * simulationServices()
Definition: simObjectManager.h:47
The overall structure of the DtStateData mechanism is: The DtStateData contains a list of double buff...
Definition: stateData.h:513
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
virtual void referenceAdded(DtSimObjectReferenceTemplate< T_BaseClass > ref)
Called when a new sim object reference is added to this manager.
This class is the central access point for all current-frame state of all objects in the simulation i...
Definition: simObjectManagerTemplate.h:38
DtSimulationServices * mySimulationServices
Definition: simObjectManager.h:73
Represents a single simulation object in the exercise. Object may be VRF simulation, or non-VRF simulated, and may be simulated by the local sim engine, or by a remote sim engine. Only public (external) state of the object is available. All data is read-only. All access to data of the object is thread safe within the simulation frame.
Definition: stateDataWrapper.h:49
This is a convenience list that will add DtSimObjectReference objects and modify the list as objects ...
Definition: simObjectReferenceList.h:25
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:97
This class is the central access point for all current-frame state of all objects in the simulation i...
Definition: simObjectManager.h:31
Contains the DtSimObjectReference class declaration.
virtual void uuidChanged(unsigned long long, const DtUUID &oldUUID, const DtUUID &newUUID)
Called when a sim object&#39;s UUID changes; updates internal maps accordingly.
virtual DtStateDataWrapper * createSimObject(DtStateData *sd) const =0
Factory method: create a sim object wrapper from an existing DtStateData instance.

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)