VR-Link API Documentation for HLA 1516
tEntityPub.h
Go to the documentation of this file.
1 //********************************************************************
4 //********************************************************************
5 //********************************************************************
7 //********************************************************************
8 
9 #ifndef tEntityPub_H_
10 #define tEntityPub_H_
11 
12 #if DtTENA
13 
14 #include "tObjPub.h"
15 #include "objectId.h"
16 
20 
23 class DT_DLL_VL DtEntityStateEncoder;
24 class DT_DLL_VL DtEntityStateDecoder;
25 class DT_DLL_VL DtTenaServantObject;
26 
27 
33 {
34 public:
36  typedef DtEntityStateRepository* (*DtStateRepCreator)();
37 
38 public:
43  static const DtEntityType& guiseSameAsType();
44 
45 public:
49  const DtEntityType& type,
50  DtExerciseConn* conn,
51  const DtObjectId& id = DtObjectId::defaultId());
52 
59  const DtEntityType& entType,
60  DtExerciseConn* conn,
61  DtDeadReckonTypes algorithm,
62  DtForceType forceId,
63  const DtEntityType& guise = guiseSameAsType(),
64  const DtObjectId& id = DtObjectId::defaultId());
65 
67  virtual ~DtEntityPublisher();
68 
71  virtual bool tick();
72 
74  DtEntityStateRepository* entityStateRep();
75 
77  virtual DtEntityStateRepository* esr();
78 
83  virtual void setUseDRThresholding(bool yesNo);
84 
86  virtual bool useDRThresholding() const;
87 
90  virtual DtString interfaceToUse() const;
91 
92 public:
93  static void setStateRepCreator(DtStateRepCreator creator);
94  static DtStateRepCreator stateRepCreator();
95 
96 public:
100  static void setDfltRotationThreshold(double r);
101  static double dfltRotationThreshold();
102  static void setDfltTranslationThreshold(double t);
103  static double dfltTranslationThreshold();
104 
105 
106 protected:
108 
110 
111 protected:
114  void initialize();
115 
116 protected:
117  static DtStateRepCreator theStateRepCreator;
118  bool myUseDRThresholding;
119 };
120 
121 #endif
122 #endif
123 

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)