17 #include <vl/rtiCompatibility.h>
18 #include <vl/entityPublisherHLA.h>
19 #include <vl/entityStateRepository.h>
24 class DtLgrHlaEntityStateRepository;
37 DtLgrHlaHandle loggerClassHandle, RTI::ObjectClassHandle classHandle,
38 const char* objName,
const DtDDMRegionSet* regionSetToUse,
39 double hbtime,
bool waitForRegionData,
bool stat),
42 RTI::ObjectClassHandle classHandle,
43 const char* objName,
const DtDDMRegionSet* regionSetToUse,
44 double hbtime=0.0,
bool waitForRegionData=
false,
bool stat=
true))
50 virtual void update(
const DtStateMsg& msg,
const DtAbsoluteTime& updateTime,
51 bool isTimeFromPast,
bool isStateUpdate,
double scaling,
bool isStatic,
bool sendFlag);
57 virtual void tick(
double scale,
bool isStatic);
61 virtual void sendUpdateAtScaleChangePoint(
double oldScale,
double newScale,
bool wasStatic,
bool isStatic);
63 virtual void setRegion(
const DtDDMRegionSet& region);
66 virtual const DtDDMRegionSet& publishingRegions()
const;
68 virtual bool publishingToRegion( DtDDMRegionSP region );
74 virtual void setPauseUpdateAttributes(
double &scale);
77 virtual DtHlaObjectWithStateRep* pubHlaObject();
80 virtual void scaleArticulatedParts(
double scale);
84 virtual void generateScaledUpdate(
const RTI::AttributeHandleSet& attrs,
double scale,
85 bool isStatic, DtStateMsg& msg);
89 virtual void sendRequestedAttrs(
double scale,
bool isStatic);
93 virtual void sendTheseAttrs(
const RTI::AttributeHandleSet& attrs,
double scale,
bool isStatic);
95 virtual void send(DtStateMsg& msg);
bool myFrozenBeforePause
Definition: lgrHlaEntityPublisher.h:127
#define DT_VIRTUAL_CTR_DEFAULTS(CLASS_NAME, ARG_TYPES_LIST, ARG_DEFAULTS_LIST)
Declare a Virtual Constructor Create using DT_VIRTUAL_CTR_DEFAULTS(CLASS_NAME,ARG_TYPES_LIST,ARG_DEFAULTS_LIST) Where CLASS_NAME = the name of the class being declared Where ARG_TYPES_LIST = a list (ie in side parentheses) of comma seperated types Where ARG_DEFAULTS_LIST = a list (ie in side parentheses) of comma seperated types with default values specified.
Definition: virtualConstructor.h:63
#define DT_DLL_LGRSIM
Definition: lgrSim.h:21
DtDeadReckonTypes myOldDRType
Definition: lgrHlaEntityPublisher.h:133
DtU32 DtLgrHlaHandle
Logger Psuedo Handle type.
Definition: hlaTimeStampedAttr.h:22
DtTaitBryan myLastUpdateOrientation
Definition: lgrHlaEntityPublisher.h:123
DtDeadReckoner * myDeadReckoner
Definition: lgrHlaEntityPublisher.h:110
bool myDRTypeChanged
Definition: lgrHlaEntityPublisher.h:134
Contains MAKLogger::DtLgrPublisherInterface class.
An HLA Entity publisher.
Definition: lgrHlaEntityStateRepository.h:27
Contains DT_VIRTUAL_CTR DT_VIRTUAL_CTR_DEFAULTS DT_VIRTUAL_COPY_ASSIGN DT_VIRTUAL_BASE_CTR DT_PURE_VI...
DtVector32 myLastUpdateVelocity
Definition: lgrHlaEntityPublisher.h:120
double myHeartbeatInterval
Definition: lgrHlaEntityPublisher.h:117
An HLA Entity publisher.
Definition: lgrHlaEntityPublisher.h:28
The HLA simulation manager.
Definition: lgrHlaSimManager.h:84
double myLastTimeScale
Definition: lgrHlaEntityPublisher.h:115
DtVector myLastUpdateLocation
Definition: lgrHlaEntityPublisher.h:124
RTI::AttributeHandleSet * myAttrsToSend
Attributes to send in update.
Definition: lgrHlaEntityPublisher.h:106
DtVector32 myLastUpdateRotVel
Definition: lgrHlaEntityPublisher.h:122
Responsible for defining the interface that Object publishers must have.
Definition: lgrPublisherInterface.h:39
DtBaseEntityStateRepository * mySeenByAttrs
Attributes as seen by others (i.e., last updated values)
Definition: lgrHlaEntityPublisher.h:109
double myLastHeartbeatTime
Definition: lgrHlaEntityPublisher.h:118
DtLgrHlaEntityStateRepository * myLgrEsr
Definition: lgrHlaEntityPublisher.h:113
bool myPaused
Definition: lgrHlaEntityPublisher.h:130
bool myUnpausedOnThisSend
Definition: lgrHlaEntityPublisher.h:131
DtVector32 myLastUpdateAcceleration
Definition: lgrHlaEntityPublisher.h:121
Absolute Time, a particular measured instance in time, could be thought of as a set of relative times...
Definition: absoluteTime.h:82