VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
myObjectManager.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
9 
11 {
12 public:
13 
14  // The constructor takes a DtSimulationServices and entityAdvisory which get passed
15  // to the base class
17 
18  // destructor
19  virtual ~MyObjectManager() override;
20 
21  // This is a good place to add your own behavior.
22  virtual void tick() override;
23 
24  // This is overridden to show how you can show how you can choose your own HLA object
25  // name (global ID) when creating a new object.
26  virtual bool add(DtLocalObject* simObject) override;
27 
28 public:
29 
30  // Creator function to be registered with the DtDefaultVrfCreator from main.cxx
32 
33 };
class DtLocalObjectManager:
Definition: localObjectManager.h:157
virtual ~MyObjectManager() override
virtual bool add(DtLocalObject *simObject) override
Adds the object to the internal list. If the UUID is not valid (or duplicate) the object will not be ...
static DtLocalObjectManager * creator(DtSimulationServices *simManager)
virtual void tick() override
Processes all pending object creations on the myObjectsToCreateQueue by checking DtCreateQueueEntry::...
MyObjectManager(DtSimulationServices *simManager)
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
Definition: myObjectManager.h:10
VRF4API_METHOD const DtSimulationServices * simManager() const
Deprecated methods. Please see the localObjectManager.inl file for how you would convert your code...
A locally simulated VRF object.
Definition: localObject.h:98

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)