21 enum DtDiGuyDataSendMode
23 DtDiGuySendDisabled = 0,
25 DtDiGuySendAttributes = 2
130 virtual DtEntityStateDecoder*
decoder();
134 virtual DtEntityStateEncoder*
encoder();
153 virtual void sendFinalPduOnDestruction(
bool on);
161 virtual void enableDiGuyInformation(DtDiGuyDataSendMode sendMode=DtDiGuySendPdu);
164 virtual void setSendDiGuyAttributes(
bool enableAttributes);
167 virtual bool sendDiGuyAttributes()
const;
171 virtual void setSendDiGuyPdus(
bool enablePdu);
174 virtual bool sendDiGuyPdus()
const;
177 virtual void setSendSeesPdus(
bool yesNo);
180 virtual bool sendSeesPdus()
const;
183 virtual void setSeesTimeThreshold(
DtTime time);
186 virtual DtTime seesTimeThreshold()
const;
189 virtual void setDiGuyTypeTimeThreshold(
DtTime time);
192 virtual DtTime diGuyTypeTimeThreshold()
const;
195 virtual void setDiGuyAppearanceTimeThreshold(
DtTime time);
198 virtual DtTime diGuyAppearanceTimeThreshold()
const;
201 virtual void setDiGuyActionTimeThreshold(
DtTime time);
204 virtual DtTime diGuyActionTimeThreshold()
const;
207 DtTime entityTypeHeartbeat(
int type,
int domain);
213 virtual void divestObject(
DtU16 siteTarget,
DtU16 applicationTarget);
218 static void setStateRepCreator(DtStateRepCreator creator);
219 static DtStateRepCreator stateRepCreator(
void);
221 static void setClassDfltTimeThreshold(
DtTime threshold);
222 static void setStationaryDfltTimeThreshold(
DtTime threshold);
223 static void setEntityTypeDfltTimeThreshold(
int type,
int domain,
DtTime threshold);
227 static void setDfltRotationThreshold(
double r);
228 static double dfltRotationThreshold();
229 static void setDfltTranslationThreshold(
double t);
230 static double dfltTranslationThreshold();
234 virtual void createAndSendDiGuy();
242 virtual void createAndSendSeesPdu();
244 virtual bool sendSeesNeeded()
const;
251 DtEntityStateDecoder* myEntityDecoder;
252 DtEntityStateEncoder* myEntityEncoder;
253 DtDIGuyCustomPduEncoder* myDiGuyEncoder;
254 bool mySendFinalInDtor;
255 DtDiGuyDataSendMode mySendDiGuyMode;
257 DtTime mySeesPdusTimeThreshold;
258 DtTime myLastSeesPdusUpdate;
260 DtRelativeLocationPdu myLastSentRelLocPdu;
261 DtTime myLastSentRelLocPduTime;
264 static DtStateRepCreator theStateRepCreator;
265 static DtTime theClassDfltTimeThreshold;
266 static bool theClassDfltIsSetFlag;
267 static DtTime theStationaryDfltTimeThreshold;
268 static bool theStationaryDfltIsSetFlag;
269 static std::map<std::pair<int,int>,
DtTime> theEntityTypeHeartbeat;
284 return myEntityEncoder;
289 return myEntityDecoder;
292 inline void DtEntityPublisher::sendFinalPduOnDestruction(
bool onOff)
294 mySendFinalInDtor = onOff;
Contains the DtObjectId class declaration.
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:58
virtual DtHlaStateEncoder * encoder()
Returns a pointer to the Encoder being used to encode current state into an outgoing message...
virtual DtStateRepository * stateRep()
Returns a pointer to the DtStateRepository - through which you can set or inspect current state infor...
Definition: objectPublisherHLA.h:227
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
static const DtObjectId & defaultId()
static double dfltRotationThreshold()
Definition: thresholder.h:151
virtual DtEntityStateRepository * esr()
Synonym for entityStateRep().
Definition: entityPublisherHLA.h:167
Instances of DtObjectPublisher are used for local or source simulations of objects, (i.e.
Definition: objectPublisherHLA.h:34
static void setDfltRotationThreshold(double thresh)
Set/Get default rotation threshold in radians.
Definition: thresholder.h:156
virtual void tick()
Tick (update) this object.
static void setDfltRotationThreshold(double r)
Instances of DtEntityPublisher are used for local or source simulations of entities (i...
Definition: entityPublisherHLA.h:28
Instances of DtEntityStateRepository are used to maintain attributes and state of entity objects in a...
Definition: entityStateRepository.h:36
static void setDfltTranslationThreshold(double t)
virtual const DtGlobalObjectDesignator & globalId() const
Get the HLA object's global object designator - the object name in RTI1.3.3, but the objectId in RTI1...
virtual void forceUpdate()
Specify a set of attributes that should be included in the ahvps the next time tick is called...
static double dfltTranslationThreshold()
Definition: thresholder.h:146
Contains the DIS DtEntityStateEncoder class declaration.
DtObjectPublisher & operator=(const DtObjectPublisher &orig)
assignment operator – not implemented
Contains the DIS DtEntityStateDecoder class declaration.
Contains the DtEntityStateRepository class declaration.
virtual DtEntityStateRepository * entityStateRep()
Returns a pointer to the EntityStateRepository - through which you can set or inspect current state i...
Definition: entityPublisherHLA.h:162
static void setDfltTranslationThreshold(double thresh)
Set/Get default translation threshold in radians.
Definition: thresholder.h:141
This class declares the DIS version of DtObjectPublisher.
This is a base class meant to encapsulate user callbacks on ownership management services.
Definition: ownershipHandlerHLA.h:27
DtForceType
Section 4.
Definition: disEnums.h:199
unsigned short DtU16
A 16 bit unsigned integer value.
Definition: vlMachineTypes.h:140
DtObjectId instances are used to represent RTI::ObjectInstances in VR-Link.
Definition: objectId.h:38
DtDeadReckonTypes
Definition: disEnums.h:987
This file declares DtOwnershipHandler.
Instances of DtString are used to represent strings.
Definition: vlString.h:29
virtual const DtObjectId & id() const
Get the object's local identifier.
void init(RTI::ObjectClassHandle hand, DtStateRepository *stateRep, DtStateRepository *asSeenByRemote, DtHlaStateEncoder *encoder=0, DtHlaStateDecoder *decoder=0)
static double dfltRotationThreshold()
virtual const DtObjectId & localId() const
Get the object's local identifier.
Definition: objectPublisherHLA.h:247
DtEntityType is used to represent the type an entity object.
Definition: entityType.h:26
static double dfltTranslationThreshold()
virtual DtHlaStateDecoder * decoder()
Returns a pointer to the Decoder being used to decode state messages that we send back into the asSee...