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 
33 {
34 private:
38 
39 public:
42 
43  virtual ~DtSimObjectManager() override;
44 
46  virtual bool hasValidSimulatedEntity() const;
47 
49  {
50  return mySimulationServices;
51  }
52 
54  virtual DtSimObjectReferenceList entitiesTracking(const DtUUID&) const;
55 
57  virtual DtSimObjectReferenceList entitiesJamming(const DtUUID&) const;
58 
60  virtual makVrf::DtStateDataWrapper* createSimObject(const DtUUID& uuid) const override;
61  virtual makVrf::DtStateDataWrapper* createSimObject(const DtEntityIdentifier& entId) const override;
62 
64 
67  virtual void objectsEmbarkedOn(const DtUUID&, std::vector<DtSimObjectReference>& list) const;
68 
69 protected:
70 
71  virtual void uuidChanged(unsigned long long, const DtUUID& oldUUID, const DtUUID& newUUID) override;
72 
73 protected:
75 };
UUID is a unique ID wrapper class.
Definition: uuid.h:59
DtSimObjectManagerTemplate & operator=(const DtSimObjectManagerTemplate &)
DtSimulationServices * simulationServices()
Definition: simObjectManager.h:48
The overall structure of the DtStateData mechanism is: The DtStateData contains a list of double buff...
Definition: stateData.h:398
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
virtual void referenceAdded(DtSimObjectReferenceTemplate< T_BaseClass > ref)
This class is the central access point for all current-frame state of all objects in the simulation i...
Definition: simObjectManagerTemplate.h:39
DtSimulationServices * mySimulationServices
Definition: simObjectManager.h:74
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:96
This class is the central access point for all current-frame state of all objects in the simulation i...
Definition: simObjectManager.h:32
Contains the DtSimObjectReference class declaration.
virtual void uuidChanged(unsigned long long, const DtUUID &oldUUID, const DtUUID &newUUID)
virtual DtStateDataWrapper * createSimObject(DtStateData *sd) const =0

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)