13 #ifndef DtDISObjectPublisher_H_
14 #define DtDISObjectPublisher_H_
52 bool okToDeleteStateRep =
true);
86 virtual void forceUpdate()=0;
90 virtual bool tick() = 0;
93 virtual bool parallelTick();
98 virtual void setTimeThreshold(
DtTime time);
100 virtual DtTime timeThreshold()
const;
104 virtual void setRelLocTimeThreshold(
DtTime time );
106 virtual DtTime relLocTimeThreshold()
const;
116 virtual DtTime lastTimeUpdated()
const;
117 virtual DtTime lastTimeAttrUpdated()
const;
121 virtual DtTime lastSimTimeUpdated()
const;
125 virtual void setUseCustomThreshold(
bool useCustom);
129 virtual bool useCustomThreshold();
144 virtual void setUpdateRateWarningThreshold(
unsigned short updatesPerSecond);
145 virtual unsigned short updateRateWarningThreshold()
const;
150 virtual void checkForUpdateRateWarning()
const;
158 static void setDfltTimeThreshold(
DtTime time);
161 static DtTime dfltTimeThreshold();
164 static void setDfltUpdateRateWarningThreshold(
unsigned short updatesPerSecond);
167 static unsigned short dfltUpdateRateWarningThreshold();
170 static void setDfltRelLocTimeThreshold(
DtTime time );
173 static DtTime dfltRelLocTimeThreshold();
176 static DtNonCoupledAttributePduCreator setDefaultNonCoupledAttributePduCreator(DtNonCoupledAttributePduCreator creator);
177 static DtNonCoupledAttributePduCreator defaultNonCoupledAttributePduCreator(
void);
180 DtNonCoupledAttributePduCreator setNonCoupledAttributePduCreator(DtNonCoupledAttributePduCreator creator);
181 DtNonCoupledAttributePduCreator nonCoupledAttributePduCreator(
void);
265 #endif //DtObjectPublisher_H_
std::vector< DtStateRepositoryExtensionEncoder * > myStateRepositoryExtensionEncoderList
Definition: objectPublisherDIS.h:232
Contains the DtObjectId class declaration.
DtStateRepository * myStateRep
Definition: objectPublisherDIS.h:193
Definition: pduWithAttributeRecordSets.h:22
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnDIS.h:62
DtTime myTimeThreshold
Time threshold for the heartbeat rate.
Definition: objectPublisherDIS.h:199
bool myCanWarn
Set in constructor.
Definition: objectPublisherDIS.h:220
virtual DtStateRepository * stateRep()
Returns a pointer to the DtStateRepository - through which you can set or inspect current state infor...
Definition: objectPublisherDIS.h:245
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
std::vector< DtStateRepositoryExtensionDecoder * > myStateRepositoryExtensionDecoderList
Definition: objectPublisherDIS.h:235
DtTime myRelLocTimeThreshold
Time threshold for heartbeat rate of relative location updates (only for embarked/attached entities) ...
Definition: objectPublisherDIS.h:201
This file contains the declaration of DtClock and DtTime.
DtTime myRealTimeLastAttrUpdate
Definition: objectPublisherDIS.h:208
static DtTime theDfltTimeThreshold
Definition: objectPublisherDIS.h:239
Instances of DtObjectPublisher are used for local or source simulations of objects, (i.e.
Definition: objectPublisherDIS.h:36
bool myOkToDeleteStateRepFlag
Definition: objectPublisherDIS.h:195
static unsigned short theDfltUpdateRateWarningThreshold
Definition: objectPublisherDIS.h:241
The DtStateRepositoryExtensionEncoder class provides a base class for all State Repository Extension ...
Definition: stateRepositoryExtensionEncoder.h:21
Instances of DtAttributePdu are used to represent the arbitrary attributes added to PDUs...
Definition: attributePdu.h:26
unsigned short myNumberOfPdusPerSecond
Set in constructor.
Definition: objectPublisherDIS.h:214
The DtStateRepositoryExtensionDecoder class provides a base class for all State Repository Extension ...
Definition: stateRepositoryExtensionDecoder.h:21
DtTime myLastSpamCheckTime
Set in constructor.
Definition: objectPublisherDIS.h:211
DtTime myRealTimeLastUpdate
Set in const send() method.
Definition: objectPublisherDIS.h:207
DtNonCoupledAttributePduCreator myNonCoupledAttributePduCreator
Definition: objectPublisherDIS.h:223
virtual DtStateRepository * sr()
Returns a pointer to the DtStateRepository - through which you can set or inspect current state infor...
Definition: objectPublisherDIS.h:250
virtual DtExerciseConn * exerciseConn()
Get our exercise connection.
Definition: objectPublisherDIS.h:255
DtPdu is the base class for all PDU's in VR-Link.
Definition: pdu.h:69
DtAttributePduStrategy
Definition: vlAttributePduStrategy.h:16
unsigned short myUpdateRateWarningThreshold
Set in constructor.
Definition: objectPublisherDIS.h:217
DtStateRepository is an abstract base class for maintaining state for an object.
Definition: stateRepository.h:50
DtStateRepository * myAsSeenByRemote
Definition: objectPublisherDIS.h:194
DtAttributePduStrategy myAttributePduStrategy
Definition: objectPublisherDIS.h:229
Instances of DtEntityIdentifier are used as a unique ID for entities in DIS.
Definition: entityIdentifier.h:31
DtTime mySimTimeLastUpdate
Set in const send() method.
Definition: objectPublisherDIS.h:204
DtExerciseConn * myExConn
Definition: objectPublisherDIS.h:192
int send(int s, char *buf, int bufLen, int flags)
bool myUseCustomThreshold
Definition: objectPublisherDIS.h:196
static DtTime theDfltRelLocTimeThreshold
Definition: objectPublisherDIS.h:240
MANAGEDINTERFACE_DLL void tick(double maxTime)
Tick ManagedInterface.
virtual DtStateRepository * approximateRemoteStateRep()
Returns a pointer to the approximate remote DtStateRepository – This state repository contains the co...
Definition: objectPublisherDIS.h:260
This file contains typedefs for machine dependant types.
static DtNonCoupledAttributePduCreator theDefaultNonCoupledAttributePduCreator
Definition: objectPublisherDIS.h:226