VR-Link API Documentation for HLA Evolved
disObjMgr.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #ifndef DtDisObjectManager_H_
10 #define DtDisObjectManager_H_
11 
12 #if DtDIS
13 
14 #include "objIdHashLst.h"
15 #include "dEntityPub.h"
16 #include "baseEntitySR.h"
17 #include "dReflectedEnt.h"
18 
21 class DT_DLL_VL DtDisObjectManager
22 {
23 
24 public:
25 
27  DtDisObjectManager();
28 
30  ~DtDisObjectManager();
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 
68  DtDisObjectManager( const DtDisObjectManager& orig );
69 
71  DtDisObjectManager& operator=( const DtDisObjectManager& orig );
72 
73 protected:
74 
77 
79  DtObjectIdHashlist myLocalObjectList;
80 
82  DtObjectIdHashlist myRemoteObjectList;
83 
84 
85 };
86 
87 #endif
88 
89 #endif
90 

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)