123 virtual DtEntityStateDecoder*
decoder();
127 virtual DtEntityStateEncoder*
encoder();
146 virtual void sendFinalPduOnDestruction(
bool on);
153 virtual void enableDiGuyInformation();
157 virtual void setSendDiGuyPdus(
bool yesNo);
160 virtual bool sendDiGuyPdus()
const;
163 virtual void setSendSeesPdus(
bool yesNo);
166 virtual bool sendSeesPdus()
const;
169 virtual void setSeesTimeThreshold(
DtTime time);
172 virtual DtTime seesTimeThreshold()
const;
175 virtual void setDiGuyTypeTimeThreshold(
DtTime time);
178 virtual DtTime diGuyTypeTimeThreshold()
const;
181 virtual void setDiGuyAppearanceTimeThreshold(
DtTime time);
184 virtual DtTime diGuyAppearanceTimeThreshold()
const;
187 virtual void setDiGuyActionTimeThreshold(
DtTime time);
190 virtual DtTime diGuyActionTimeThreshold()
const;
193 DtTime entityTypeHeartbeat(
int type,
int domain);
199 virtual void divestObject(
DtU16 siteTarget,
DtU16 applicationTarget);
204 static void setStateRepCreator(DtStateRepCreator creator);
205 static DtStateRepCreator stateRepCreator(
void);
207 static void setClassDfltTimeThreshold(
DtTime threshold);
208 static void setStationaryDfltTimeThreshold(
DtTime threshold);
209 static void setEntityTypeDfltTimeThreshold(
int type,
int domain,
DtTime threshold);
213 static void setDfltRotationThreshold(
double r);
214 static double dfltRotationThreshold();
215 static void setDfltTranslationThreshold(
double t);
216 static double dfltTranslationThreshold();
220 virtual void createAndSendDiGuyPdus();
228 virtual void createAndSendSeesPdu();
230 virtual bool sendSeesNeeded()
const;
237 DtEntityStateDecoder* myEntityDecoder;
238 DtEntityStateEncoder* myEntityEncoder;
239 DtDIGuyCustomPduEncoder* myDiGuyEncoder;
240 bool mySendFinalInDtor;
241 bool mySendDiGuyPdus;
243 DtTime mySeesPdusTimeThreshold;
244 DtTime myLastSeesPdusUpdate;
248 static DtStateRepCreator theStateRepCreator;
249 static DtTime theClassDfltTimeThreshold;
250 static bool theClassDfltIsSetFlag;
251 static DtTime theStationaryDfltTimeThreshold;
252 static bool theStationaryDfltIsSetFlag;
253 static std::map<std::pair<int,int>,
DtTime> theEntityTypeHeartbeat;
268 return myEntityEncoder;
273 return myEntityDecoder;
276 inline void DtEntityPublisher::sendFinalPduOnDestruction(
bool onOff)
278 mySendFinalInDtor = onOff;