VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedEmitterSystemDIS.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
9 
10 #ifndef DtReflectedEmitterSystem_H_
11 #define DtReflectedEmitterSystem_H_
12 
13 #if DtDIS
14 
15 
17 #include "reflectedObjectDIS.h"
18 #include "systemHashKey.h"
19 
22 
26  DtReflectedEmitterSystem* obj, void* userData);
27 
28 
34 {
35 public:
36 
38  typedef DtEmitterSystemRepository* (*DtStateRepCreator)();
39 
40 public:
41 
44  const DtGlobalObjectDesignator& emittingEntity,
45  DtU8 systemNumber);
46 
48  virtual ~DtReflectedEmitterSystem();
49 
51  virtual DtEmitterSystemRepository* emitterSysRep() const;
52 
54  virtual DtEmitterSystemRepository* esr() const;
55 
59  virtual DtStateRepository* stateRep() const;
60 
63  virtual void processStateMessage(const DtStateMsg& msg);
64 
66  virtual DtReflectedEmitterSystem* next() const;
67 
69  virtual DtReflectedEmitterSystem* prev() const;
70 
73  virtual DtReflectedEmitterSystem* wrapNext() const;
74 
77  virtual DtReflectedEmitterSystem* wrapPrev() const;
78 
80  virtual void addPostUpdateCallback(
81  DtEmitterSystemCallbackFunction cb, void* userData);
82 
83  virtual void removePostUpdateCallback(
84  DtEmitterSystemCallbackFunction cb, void* userData);
85 
87  virtual const DtBaseHashKey& hashKey() const;
88 
90  virtual DtString idString() const;
91 
94  virtual const DtGlobalObjectDesignator& globalId() const;
95 
96 public:
97 
99  static void setStateRepCreator(DtStateRepCreator creator);
100  static DtStateRepCreator stateRepCreator(void);
101 
102 protected:
103 
106 
109  const DtReflectedEmitterSystem& orig);
110 
111 protected:
112 
117 protected:
118 
119  static DtStateRepCreator theStateRepCreator;
120 
121 };
122 
123 
124 #endif
125 #endif
126 

Document ID: Generated on Mon Apr 8 04:49:21 EDT 2019 from SVN revision 197403
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)