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 DtTime entityTypeHeartbeat(
int type,
int domain);
168 static void setStateRepCreator(DtStateRepCreator creator);
169 static DtStateRepCreator stateRepCreator(
void);
171 static void setClassDfltTimeThreshold(
DtTime threshold);
172 static void setStationaryDfltTimeThreshold(
DtTime threshold);
173 static void setEntityTypeDfltTimeThreshold(
int type,
int domain,
DtTime threshold);
177 static void setDfltRotationThreshold(
double r);
178 static double dfltRotationThreshold();
179 static void setDfltTranslationThreshold(
double t);
180 static double dfltTranslationThreshold();
189 virtual void createAndSendDiGuyPdus();
192 virtual void createAndSendSeesPdu();
194 virtual bool sendSeesNeeded()
const;
201 DtEntityStateDecoder* myEntityDecoder;
202 DtEntityStateEncoder* myEntityEncoder;
203 bool mySendFinalInDtor;
204 bool mySendDiGuyPdus;
206 DtTime mySeesPdusTimeThreshold;
207 DtTime myLastSeesPdusUpdate;
210 static DtStateRepCreator theStateRepCreator;
211 static DtTime theClassDfltTimeThreshold;
212 static bool theClassDfltIsSetFlag;
213 static DtTime theStationaryDfltTimeThreshold;
214 static bool theStationaryDfltIsSetFlag;
215 static std::map<std::pair<int,int>,
DtTime> theEntityTypeHeartbeat;
230 return myEntityEncoder;
235 return myEntityDecoder;
238 inline void DtEntityPublisher::sendFinalPduOnDestruction(
bool onOff)
240 mySendFinalInDtor = onOff;