120 virtual DtEntityStateDecoder*
decoder();
124 virtual DtEntityStateEncoder*
encoder();
138 virtual void sendFinalPduOnDestruction(
bool on);
145 virtual void setSendDiGuyPdus(
bool yesNo);
148 virtual bool sendDiGuyPdus()
const;
151 virtual void setSendSeesPdus(
bool yesNo);
154 virtual bool sendSeesPdus()
const;
157 virtual void setSeesTimeThreshold(
DtTime time);
160 virtual DtTime seesTimeThreshold()
const;
163 virtual void setDiGuyTypeTimeThreshold(
DtTime time);
166 virtual DtTime diGuyTypeTimeThreshold()
const;
169 virtual void setDiGuyAppearanceTimeThreshold(
DtTime time);
172 virtual DtTime diGuyAppearanceTimeThreshold()
const;
175 virtual void setDiGuyActionTimeThreshold(
DtTime time);
178 virtual DtTime diGuyActionTimeThreshold()
const;
181 DtTime entityTypeHeartbeat(
int type,
int domain);
186 static void setStateRepCreator(DtStateRepCreator creator);
187 static DtStateRepCreator stateRepCreator(
void);
189 static void setClassDfltTimeThreshold(
DtTime threshold);
190 static void setStationaryDfltTimeThreshold(
DtTime threshold);
191 static void setEntityTypeDfltTimeThreshold(
int type,
int domain,
DtTime threshold);
195 static void setDfltRotationThreshold(
double r);
196 static double dfltRotationThreshold();
197 static void setDfltTranslationThreshold(
double t);
198 static double dfltTranslationThreshold();
207 virtual void createAndSendDiGuyPdus();
210 virtual void createAndSendSeesPdu();
212 virtual bool sendSeesNeeded()
const;
219 DtEntityStateDecoder* myEntityDecoder;
220 DtEntityStateEncoder* myEntityEncoder;
221 bool mySendFinalInDtor;
222 bool mySendDiGuyPdus;
224 DtTime mySeesPdusTimeThreshold;
225 DtTime myLastSeesPdusUpdate;
226 DtTime myDiGuyTypePdusTimeThreshold;
227 DtTime myLastDiGuyTypePdusUpdate;
228 DtTime myDiGuyAppearancePdusTimeThreshold;
229 DtTime myLastDiGuyAppearancePdusUpdate;
230 DtTime myDiGuyActionPdusTimeThreshold;
231 DtTime myLastDiGuyActionPdusUpdate;
234 static DtStateRepCreator theStateRepCreator;
235 static DtTime theClassDfltTimeThreshold;
236 static bool theClassDfltIsSetFlag;
237 static DtTime theStationaryDfltTimeThreshold;
238 static bool theStationaryDfltIsSetFlag;
239 static std::map<std::pair<int,int>,
DtTime> theEntityTypeHeartbeat;
254 return myEntityEncoder;
259 return myEntityDecoder;
262 inline void DtEntityPublisher::sendFinalPduOnDestruction(
bool onOff)
264 mySendFinalInDtor = onOff;