72 virtual inline void sendFinalPduOnDestruction(
bool onOff );
79 virtual void setRelPosThreshold(
double val );
80 virtual double relPosThreshold()
const;
83 virtual void setAbsPosThreshold(
double val );
84 virtual double absPosThreshold()
const;
87 virtual void setAccelThreshold(
double val );
88 virtual double accelThreshold()
const;
91 static inline void setDfltRelPosThreshold(
double val );
92 static inline double dfltRelPosThreshold();
95 static inline void setDfltAbsPosThreshold(
double val );
96 static inline double dfltAbsPosThreshold();
99 static inline void setDfltAccelThreshold(
double val );
100 static inline double dfltAccelThreshold();
103 static void setStateRepCreator(DtStateRepCreator creator);
104 static DtStateRepCreator stateRepCreator(
void);
106 static void setClassDfltTimeThreshold(
DtTime threshold);
static DtStateRepCreator theStateRepCreator
Definition: designatorPublisherDIS.h:126
DtStateRepository * myStateRep
Definition: objectPublisherDIS.h:176
static double dfltAbsPosThreshold()
Definition: designatorPublisherDIS.h:176
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnDIS.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
static const DtEntityIdentifier & defaultId()
Returns a reference to an instance of -1:-1:-1.
Definition: designatorPublisherDIS.h:21
virtual DtDesignatorRepository * designatorStateRep()
Returns a pointer to the DesignatorRepository - through which you can set or inspect current state in...
Definition: designatorPublisherDIS.h:141
virtual DtDesignatorEncoder * encoder()
Returns a pointer to the Encoder being used to encode current state into an entity state PDU...
Definition: designatorPublisherDIS.h:59
Instances of DtObjectPublisher are used for local or source simulations of objects, (i.e.
Definition: objectPublisherDIS.h:36
Functions in vlPrint.h provide an error and print facility for vrlink.
virtual void forceUpdate()=0
For publisher to send PDU on next tick.
static double theDfltAccelThreshold
Definition: designatorPublisherDIS.h:130
virtual void forceUpdate()
Force a state update to be sent during the next call to tick, even if nothing would normally cause a ...
Definition: designatorPublisherDIS.h:151
DtDesignatorEncoder * myEncoder
Definition: designatorPublisherDIS.h:135
virtual const DtObjectId & id() const =0
The id is the same as the globalId, a DtEntityIdentifier unique to this object.
This file provides a declaration of the class DtDesignatorEncoder.
static bool theClassDfltIsSetFlag
Definition: designatorPublisherDIS.h:132
Instances of DtDesignatorEncoder are used to take state information from a DtDesignatorRepository and...
Definition: designatorEncoderDIS.h:22
static void setDfltAbsPosThreshold(double val)
Get/Set default "Absolute Position" threshold.
Definition: designatorPublisherDIS.h:171
static double dfltAccelThreshold()
Definition: designatorPublisherDIS.h:186
static double theDfltRelPosThreshold
Definition: designatorPublisherDIS.h:128
Instances of DtEntityIdentifier are used as a unique ID for entities in DIS.
Definition: entityIdentifier.h:31
bool mySendFinalInDtor
Definition: designatorPublisherDIS.h:136
DtObjectPublisher & operator=(const DtObjectPublisher &orig)
assignment operator – not implemented
static void setDfltRelPosThreshold(double val)
Get/Set default "Relative Position" threshold.
Definition: designatorPublisherDIS.h:161
static double dfltRelPosThreshold()
Definition: designatorPublisherDIS.h:166
virtual DtDesignatorRepository * dsr()
Synonym for designatorStateRep().
Definition: designatorPublisherDIS.h:146
This class declares the DIS version of DtObjectPublisher.
virtual const DtGlobalObjectDesignator & globalId() const
Get the global object designator - same as id for DIS.
Definition: designatorPublisherDIS.h:68
static double theDfltAbsPosThreshold
Definition: designatorPublisherDIS.h:129
class DtDesignatorRepository:
Definition: designatorRepository.h:20
virtual void tick()=0
Tick (update) this object.
DtDesignatorDecoder * myDecoder
Definition: designatorPublisherDIS.h:134
virtual DtDesignatorDecoder * decoder()
Returns a pointer to the Decoder being used to decode PDUs that we send back into the asSeenByRemote ...
Definition: designatorPublisherDIS.h:55
virtual void sendFinalPduOnDestruction(bool onOff)
Set flag indicating whether to send a final PDU with the "FinalPdu" appearance bit set...
Definition: designatorPublisherDIS.h:156
virtual void setSendNeeded()
Sets myForceSendNeeded to true.
static void setDfltAccelThreshold(double val)
Get/Set default "Acceleration" threshold.
Definition: designatorPublisherDIS.h:181
Definition: designatorDecoderDIS.h:19
static DtTime theClassDfltTimeThreshold
Definition: designatorPublisherDIS.h:131
virtual const DtObjectId & localId() const
Get the designator's localId - same as id for DIS.
Definition: designatorPublisherDIS.h:65