![]() |
MAK Data Logger API Documentation for HLA
|
An HLA Entity publisher. More...
Inheritance diagram for MAKLogger::DtLgrHlaEntityPublisher:
Collaboration diagram for MAKLogger::DtLgrHlaEntityPublisher:Public Member Functions | |
| DT_VIRTUAL_CTR_DEFAULTS (DtLgrHlaEntityPublisher,(DtLgrHlaSimulationManager &simMgr, DtLgrHlaHandle loggerObjectId, DtLgrHlaHandleloggerClassHandle, RTI::ObjectClassHandle classHandle, const char *objName, const DtDDMRegionSet *regionSetToUse, double hbtime, bool waitForRegionData, bool stat),(DtLgrHlaSimulationManager &simMgr, DtLgrHlaHandle loggerObjectId, DtLgrHlaHandleloggerClassHandle, RTI::ObjectClassHandle classHandle, const char *objName, const DtDDMRegionSet *regionSetToUse, double hbtime=0.0, bool waitForRegionData=false, bool stat=true)) virtual ~DtLgrHlaEntityPublisher() | |
| Virtual Constructor Configure base class with proper FOM class, state repositories, encoder and decoder. More... | |
| virtual void | update (const DtStateMsg &msg, const DtAbsoluteTime &updateTime, bool isTimeFromPast, bool isStateUpdate, double scaling, bool isStatic, bool sendFlag) |
| Process a state update message. More... | |
| virtual DtObjectPublisher * | objPublisher () |
| Return reference to this instance as an object publisher. More... | |
| virtual void | tick (double scale, bool isStatic) |
| Sends needed attributes. More... | |
| virtual void | sendUpdateAtScaleChangePoint (double oldScale, double newScale, bool wasStatic, bool isStatic) |
| Output time scale has changed. More... | |
| virtual void | setRegion (const DtDDMRegionSet ®ion) |
| Set the DtDDMRegionSet to play back to. More... | |
| virtual const DtDDMRegionSet & | publishingRegions () const |
| Get the publishing regions. More... | |
| virtual bool | publishingToRegion (DtDDMRegionSP region) |
| Determine if the publisher is already playing back to the region provided. More... | |
Public Member Functions inherited from MAKLogger::DtLgrPublisherInterface | |
| DtLgrPublisherInterface (DtLgrHlaSimulationManager &simMgr, DtLgrHlaHandle loggerObjectId, DtLgrHlaHandle loggerClassHandle) | |
| virtual | ~DtLgrPublisherInterface () |
| DTOR. More... | |
| virtual DtPacket * | createUpdatePacket (const DtAbsoluteTime &time) |
| Create an update packet with the given time from the publisher's encoded state data. More... | |
| virtual bool | updateRegion (const DtStateMsg &msg) |
| The given message has been decoded into the state repository of the publisher. More... | |
| virtual void | setStaticRegionFlag (bool enabled) |
| Set status of static region. More... | |
| virtual bool | staticRegionFlag () const |
| Return bool: are regions static? More... | |
| virtual void | setWaitingForRegionData (bool waitForData) |
| In some cases, regions are set based on values from attribute updates. More... | |
| virtual bool | waitingForRegionData () |
| Return bool: waiting for data required to set regions. More... | |
| virtual void | addUpdatedAttributes (const RTI::AttributeHandleValueMap &handleValues) |
| Update the list of updated attributes. More... | |
| virtual const RTI::AttributeHandleSet * | updatedAttributes () const |
| Get the list of updated attributes. More... | |
Protected Member Functions | |
| virtual void | setPauseUpdateAttributes (double &scale) |
| Set frozen and DR algorithm based on pause state Adjust scale to last scale value if paused. More... | |
| virtual DtHlaObjectWithStateRep * | pubHlaObject () |
| Get the object's hlaObject from the actual publisher class. More... | |
| virtual void | scaleArticulatedParts (double scale) |
| Scale the articulated parts. More... | |
| virtual void | generateScaledUpdate (const RTI::AttributeHandleSet &attrs, double scale, bool isStatic, DtStateMsg &msg) |
| Generate a state message using the given attributes. More... | |
| virtual void | sendRequestedAttrs (double scale, bool isStatic) |
| Sends an update containing values for all attributes requested since last call to this function. More... | |
| virtual void | sendTheseAttrs (const RTI::AttributeHandleSet &attrs, double scale, bool isStatic) |
| Send an update containing the given attributes. More... | |
| virtual void | send (DtStateMsg &msg) |
| DtLgrHlaEntityPublisher (const DtLgrHlaEntityPublisher &other) | |
| Copy CTOR – Not Implemented. More... | |
| DtLgrHlaEntityPublisher & | operator= (const DtLgrHlaEntityPublisher &other) |
| Assignment Operator – Not Implemented. More... | |
Protected Member Functions inherited from MAKLogger::DtLgrPublisherInterface | |
| virtual void | sendAttributes (const DtStateMsg &msg, double scaling, bool isStatic) |
| Send an update containing the attributes from the given message. More... | |
| virtual bool | sendAllNextTick () |
| Get whether the publisher will send all attributes next tick. More... | |
| virtual void | setSendAllNextTick (bool yesNo=true) |
| Set the publisher to send all attributes next tick. More... | |
An HLA Entity publisher.
|
protected |
Copy CTOR – Not Implemented.
| MAKLogger::DtLgrHlaEntityPublisher::DT_VIRTUAL_CTR_DEFAULTS | ( | DtLgrHlaEntityPublisher | , |
| (DtLgrHlaSimulationManager &simMgr, DtLgrHlaHandle loggerObjectId, DtLgrHlaHandleloggerClassHandle, RTI::ObjectClassHandle classHandle, const char *objName, const DtDDMRegionSet *regionSetToUse, double hbtime, bool waitForRegionData, bool stat) | , | ||
| (DtLgrHlaSimulationManager &simMgr, DtLgrHlaHandle loggerObjectId, DtLgrHlaHandleloggerClassHandle, RTI::ObjectClassHandle classHandle, const char *objName, const DtDDMRegionSet *regionSetToUse, double hbtime=0.0, bool waitForRegionData=false, bool stat=true) | |||
| ) |
Virtual Constructor Configure base class with proper FOM class, state repositories, encoder and decoder.
destructor
|
protectedvirtual |
Generate a state message using the given attributes.
TSPI data is adjusted using scaling and static modifiers if necessary.
|
virtual |
Return reference to this instance as an object publisher.
|
protected |
Assignment Operator – Not Implemented.
|
protectedvirtual |
Get the object's hlaObject from the actual publisher class.
Implements MAKLogger::DtLgrPublisherInterface.
|
virtual |
Get the publishing regions.
Implements MAKLogger::DtLgrPublisherInterface.
|
virtual |
Determine if the publisher is already playing back to the region provided.
Implements MAKLogger::DtLgrPublisherInterface.
|
protectedvirtual |
Scale the articulated parts.
|
protectedvirtual |
|
protectedvirtual |
Sends an update containing values for all attributes requested since last call to this function.
|
protectedvirtual |
Send an update containing the given attributes.
TSPI data is adjusted using scaling and static modifiers if necessary.
Implements MAKLogger::DtLgrPublisherInterface.
|
virtual |
Output time scale has changed.
Adjust TSPI data to new scale since last call to this function.
Implements MAKLogger::DtLgrPublisherInterface.
|
protectedvirtual |
Set frozen and DR algorithm based on pause state Adjust scale to last scale value if paused.
|
virtual |
Set the DtDDMRegionSet to play back to.
Implements MAKLogger::DtLgrPublisherInterface.
|
virtual |
Sends needed attributes.
Implements MAKLogger::DtLgrPublisherInterface.
|
virtual |
Process a state update message.
Implements MAKLogger::DtLgrPublisherInterface.
|
protected |
Attributes to send in update.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Attributes as seen by others (i.e., last updated values)
|
protected |