9 #ifndef objectPublisherHLA_H_
10 #define objectPublisherHLA_H_
43 bool okToDeleteStateRep =
true,
70 virtual void setHlaObject(
71 const char* className,
74 const char* objectName = 0,
79 virtual void setHlaObject(
80 RTI::ObjectClassHandle hand,
83 const char* objectName = 0,
88 virtual void setHlaObject(
96 virtual void detachHlaObject();
136 virtual const DtString& name()
const;
147 virtual void forceUpdate();
148 virtual void forceUpdate(
const RTI::AttributeHandleSet& set);
156 virtual bool parallelTick();
161 virtual void setDeleteObjInDtorFlag(
bool onOff);
162 virtual bool deleteObjInDtorFlag()
const;
179 virtual void setUpdateRateWarningThreshold(
unsigned short updatesPerSecond);
182 virtual unsigned short updateRateWarningThreshold()
const;
185 virtual void checkForUpdateRateWarning();
190 static void removeObjectCb(
DtHlaObject* obj,
void* pub);
193 static void setDfltUpdateRateWarningThreshold(
unsigned short updatesPerSecond);
196 static unsigned short dfltUpdateRateWarningThreshold();
205 bool okToDeleteStateRep =
true,
215 virtual void processRemoveObject(
DtHlaObject* obj);
288 #endif //DtObjectPublisher_H_
Contains the DtObjectId class declaration.
DtStateRepository * myStateRep
Definition: objectPublisherHLA.h:221
DtObjectId myObjectId
Definition: objectPublisherHLA.h:225
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
This file provides a declaration of the class DtHlaObjectWithStateRep.
DtString myName
Definition: objectPublisherHLA.h:227
bool myCanWarn
Definition: objectPublisherHLA.h:234
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
DtDDMRegionSet myPublishingRegions
Definition: objectPublisherHLA.h:229
DtHlaStateEncoder * myEncoder
Definition: objectPublisherHLA.h:223
Instances of DtObjectPublisher are used for local or source simulations of objects, (i.e.
Definition: objectPublisherHLA.h:34
This file contains typedefs used to represent objects in a protocol neutral way.
DtHlaStateEncoder is used to provide encoding of a state repository into a state message in an HLA (a...
Definition: hlaStateEncoder.h:30
std::set< DtDDMRegionSP > DtDDMRegionSet
Definition: region13.h:34
bool myOkToDeleteStateRepFlag
Definition: objectPublisherHLA.h:226
static unsigned short theDfltUpdateRateWarningThreshold
Static member that holds the value of the number of updates to be sent to trigger a spam warning...
Definition: objectPublisherHLA.h:253
unsigned short myNumberOfUpdatesPerSecond
Definition: objectPublisherHLA.h:232
DtTime myLastSpamCheckTime
Definition: objectPublisherHLA.h:231
DtTime myRealTimeLastUpdate
Definition: objectPublisherHLA.h:230
virtual DtStateRepository * sr()
Synonym for stateRep().
Definition: objectPublisherHLA.h:262
Instances of DtHlaObject are used to represent HLA objects which are communicated across the network...
Definition: hlaObject.h:58
virtual DtExerciseConn * exerciseConn()
Get our exercise connection.
Definition: objectPublisherHLA.h:267
std::shared_ptr< DtDDMRegion > DtDDMRegionSP
Definition: region13.h:31
DtHlaStateDecoder is used to provide decoding of a state message into a state repository in an HLA (a...
Definition: hlaStateDecoder.h:34
DtHlaObjectWithStateRep * myHlaObj
Definition: objectPublisherHLA.h:220
unsigned short myUpdateRateWarningThreshold
Definition: objectPublisherHLA.h:233
DtStateRepository is an abstract base class for maintaining state for an object.
Definition: stateRepository.h:50
DtHlaStateDecoder * myDecoder
Definition: objectPublisherHLA.h:224
DtStateRepository * myAsSeenByRemote
Definition: objectPublisherHLA.h:222
virtual DtHlaObjectWithStateRep * hlaObject()
Get the object's hlaObject.
Definition: objectPublisherHLA.h:272
DtObjectId instances are used to represent RTI::ObjectInstances in VR-Link.
Definition: objectId.h:38
DtExerciseConn * myExConn
Definition: objectPublisherHLA.h:219
bool myDeleteObjInDtorFlag
Definition: objectPublisherHLA.h:228
MANAGEDINTERFACE_DLL void tick(double maxTime)
Tick ManagedInterface.
Instances of DtString are used to represent strings.
Definition: vlString.h:36
virtual DtStateRepository * approximateRemoteStateRep()
Returns a pointer to the approximate remote DtStateRepository – This state repository contains the co...
Definition: objectPublisherHLA.h:282
virtual const DtObjectId & id() const
Get the object's local identifier.
This file contains typedefs for machine dependant types.
virtual const DtObjectId & localId() const
Get the object's local identifier.
Definition: objectPublisherHLA.h:277
class DtHlaObjectWithStateRep:
Definition: hlaObjectWithStateRep.h:28