VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
disObjectManager.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #ifndef DtDisObjectManager_H_
10 #define DtDisObjectManager_H_
11 
12 #if DtDIS
13 
14 #include "objectIdHashlist.h"
15 #include "entityPublisherDIS.h"
17 #include "reflectedEntityDIS.h"
18 
22 {
23 
24 public:
25 
28 
31 
33  virtual const DtList* localObjects() const;
34 
36  virtual const DtList* remoteObjects() const ;
37 
40  virtual void addLocalObject( DtEntityIdentifier &id,
41  DtEntityPublisher* pPub );
42 
45  virtual void removeLocalObject( DtEntityIdentifier &id );
46 
49  virtual void addRemoteObject( DtEntityIdentifier &id,
50  DtReflectedEntity* pRef );
51 
54  virtual void removeRemoteObject( DtEntityIdentifier &id );
55 
58  virtual DtBaseEntityStateRepository* stateRepOfObject(
59  const DtEntityIdentifier &id );
60 
61 protected:
62 
66 
69 
71  DtDisObjectManager& operator=( const DtDisObjectManager& orig );
72 
73 protected:
74 
77 
80 
83 
84 
85 };
86 
87 #endif
88 
89 #endif
90 
Instances of this class provide a protocol independent interface to a reflected entity in a DIS envir...
Definition: reflectedEntityDIS.h:39
DtObjectIdHashlist myLocalObjectList
The objects in this list are created and deleted somewhere else.
Definition: disObjectManager.h:79
This file declares DtEntityPublisher for DIS.
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Instances of DtBaseEntityStateRepository are used to maintain basic state information needed by all k...
Definition: baseEntityStateRepository.h:36
DtList is deprecated, please use std::list<T>.
Definition: vlList.h:71
Instances of DtEntityPublisher are used for local or source simulations of entities, (i.e.
Definition: entityPublisherDIS.h:33
DtObjectIdHashlist myRemoteObjectList
List of all known remote objects (by id).
Definition: disObjectManager.h:82
Instances of DtEntityIdentifier are used as a unique ID for entities in DIS.
Definition: entityIdentifier.h:31
Contains the DtBaseEntityStateRepository class declaration.
Instances of DtObjectIdHashlist are hash lists, where you can store associations between DtObjectIds ...
Definition: objectIdHashlist.h:19
Instances of DtDisObjectManager are used to manage the set of DIS objects known to the federate...
Definition: disObjectManager.h:21

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)