21 enum DtDiGuyDataSendMode
23 DtDiGuySendDisabled = 0,
25 DtDiGuySendAttributes = 2
131 virtual DtEntityStateDecoder*
decoder();
135 virtual DtEntityStateEncoder*
encoder();
154 virtual void sendFinalPduOnDestruction(
bool on);
162 virtual void enableDiGuyInformation(DtDiGuyDataSendMode sendMode=DtDiGuySendPdu);
165 virtual void setSendDiGuyAttributes(
bool enableAttributes);
168 virtual bool sendDiGuyAttributes()
const;
172 virtual void setSendDiGuyPdus(
bool enablePdu);
175 virtual bool sendDiGuyPdus()
const;
178 virtual void setSendSeesPdus(
bool yesNo);
181 virtual bool sendSeesPdus()
const;
184 virtual void setSeesTimeThreshold(
DtTime time);
187 virtual DtTime seesTimeThreshold()
const;
190 virtual void setDiGuyTypeTimeThreshold(
DtTime time);
193 virtual DtTime diGuyTypeTimeThreshold()
const;
196 virtual void setDiGuyAppearanceTimeThreshold(
DtTime time);
199 virtual DtTime diGuyAppearanceTimeThreshold()
const;
202 virtual void setDiGuyActionTimeThreshold(
DtTime time);
205 virtual DtTime diGuyActionTimeThreshold()
const;
208 DtTime entityTypeHeartbeat(
int type,
int domain);
214 virtual void divestObject(
DtU16 siteTarget,
DtU16 applicationTarget);
219 static void setStateRepCreator(DtStateRepCreator creator);
220 static DtStateRepCreator stateRepCreator(
void);
222 static void setClassDfltTimeThreshold(
DtTime threshold);
223 static void setStationaryDfltTimeThreshold(
DtTime threshold);
224 static void setEntityTypeDfltTimeThreshold(
int type,
int domain,
DtTime threshold);
228 static void setDfltRotationThreshold(
double r);
229 static double dfltRotationThreshold();
230 static void setDfltTranslationThreshold(
double t);
231 static double dfltTranslationThreshold();
235 virtual bool createAndSendDiGuy();
243 virtual void createAndSendSeesPdu();
245 virtual bool sendSeesNeeded()
const;
252 DtEntityStateDecoder* myEntityDecoder;
253 DtEntityStateEncoder* myEntityEncoder;
254 DtDIGuyCustomPduEncoder* myDiGuyEncoder;
255 bool mySendFinalInDtor;
256 DtDiGuyDataSendMode mySendDiGuyMode;
258 DtTime mySeesPdusTimeThreshold;
259 DtTime myLastSeesPdusUpdate;
261 DtRelativeLocationPdu myLastSentRelLocPdu;
262 DtTime myLastSentRelLocPduTime;
265 static DtStateRepCreator theStateRepCreator;
266 static DtTime theClassDfltTimeThreshold;
267 static bool theClassDfltIsSetFlag;
268 static DtTime theStationaryDfltTimeThreshold;
269 static bool theStationaryDfltIsSetFlag;
270 static std::map<std::pair<int,int>,
DtTime> theEntityTypeHeartbeat;
285 return myEntityEncoder;
290 return myEntityDecoder;
293 inline void DtEntityPublisher::sendFinalPduOnDestruction(
bool onOff)
295 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:61
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:257
#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:168
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
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:42
virtual bool tick()
Tick (update) this object.
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:163
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:1013
DtReal DtTime
A definition of DtTime.
Definition: vlTime.h:19
This file declares DtOwnershipHandler.
Instances of DtString are used to represent strings.
Definition: vlString.h:36
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:277
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...