Public Member Functions |
| | DtExtendedPropertiesEntityPublisher (const DtEntityType &type, DtExerciseConn *conn, DtVrfParameterDb *paramDb, DtRwProperties *stateProps=0, DtRwProperties *paramProps=0, const DtGlobalObjectDesignator &glId=DtGlobalObjectDesignator::nullId(), const DtEntityIdentifier &entId=DtEntityIdentifier::nullId()) |
| | Constructor.
|
| virtual | ~DtExtendedPropertiesEntityPublisher () |
| | Destructor.
|
| virtual void | tick () |
| | Ticks the entity publisher and extended attributes publisher.
|
|
virtual
DtExtendedPropertiesEntityStateRepository * | extPropEntityStateRep () |
| | Returns a pointer to the DtExtendedPropertiesEntityStateRepository through which you can set or inspect the current state including state properties.
|
virtual
DtExtendedPropertiesEntityStateRepository * | epensr () |
| | DtVrfEntityPublisher (const DtEntityType &type, DtExerciseConn *conn, const DtGlobalObjectDesignator &glId=DtGlobalObjectDesignator::nullId(), const DtEntityIdentifier &entId=DtEntityIdentifier::nullId()) |
| | Create a new instance of the VRF entity publisher which will, in turn, create the VR-Link entity publisher, given a object id (DIS) or name (HLA).
|
| virtual | ~DtVrfEntityPublisher () |
| | Also destroys publisher.
|
virtual
DtExtEntityStateRepository * | entityProcessStateRep () |
| | Returns a pointer to the DtExtEntityStateRepository - through which you can set or inspect current state information.
|
virtual
DtExtEntityStateRepository * | entityStateRep () |
virtual
DtExtEntityStateRepository * | ensr () |
| | Synonym for entityProcessStateRep().
|
| virtual DtEntPublisherDecoder * | decoder () |
| | Returns a pointer to the Decoder being used to decode PDUs that we send back into the asSeenByRemote ESR.
|
| virtual DtEntPublisherEncoder * | encoder () |
| | Returns a pointer to the Encoder being used to encode current state into an entity state PDU.
|
| virtual void | setPublishesDiGuyInfo (bool has) |
| virtual bool | publishesDiGuyInfo () |
| virtual void | setSendDiGuyPdus (bool yesNo) |
| | Tell the publisher to send DI Guy PDU's.
|
| virtual bool | sendDiGuyPdus () const |
| | Determine whether this publisher will send DI Guy PDU's.
|
| virtual void | createAndSendDiGuyPdus () |
| | Override this to have your own custom marshalling of DI-Guy PDUs.
|
| DtStateRepository * | sr () |
| | VRL support for common functions.
|
| const DtString & | name () const |
| virtual const DtObjectId & | id () const |
| | Get the entity's identifier.
|
| virtual const DtObjectId & | localId () const |
| | Get the entity's localId - same as id for DIS.
|
virtual const
DtGlobalObjectDesignator & | globalId () const |
| | Get the global object designator - same as id for DIS.
|
| virtual void | forceUpdate () |
| | Force a state update to be sent during the next call to tick, even if nothing would normally cause a send.
|
| virtual bool | sendVrfObjectData () |
| | Sends vrf object data update from the ensr() to the network.
|
| virtual DtEntityPublisher * | entityPublisher () |
| | Returns a pointer to myPublisher (the VR-Link DtEntityPublisher)
|
| virtual void | setSendVrfObjectDataRecord (bool shouldSend) |
| | Sets whether a separate VrfObjectData message should be sent to convey additional VRF object information.
|
| virtual void | processDataInteraction (DtDataInteraction *i) |
| | Used internally. Should not be directly called.
|
Additional Inherited Members |
| static void | setVrfDataTimeThreshold (DtTime time) |
| static DtTime | vrfDataTimeThreshold () |
| | DtVrfEntityPublisher () |
| | Alternate constructor that performs no initialization.
|
| void | initialize (const DtEntityType &type, DtExerciseConn *conn, const DtGlobalObjectDesignator &glId, const DtEntityIdentifier &entId) |
| | Called by the constructor to initialize the publisher.
|
| virtual bool | sendVrfDataUpdate () |
| | Sends out a vrf data update message if needed.
|
| virtual bool | needsVrfObjectDataUpdate () |
| | Return true if the vrf object data message needs to be updated from a heartbeat or if the object data has changed.
|
| virtual bool | sendMessage (const DtSimulationAddress &receiver, DtSimInterfaceContent *message) |
| | Methods for sending out the object update Fill out the addressing and bookkeeping data, create interaction, and send (Calls set content and send below) Returns true if content could be set (and message sent); otherwise, false.
|
| virtual bool | setContentForNet (DtDataInteraction *dataInter, DtSimInterfaceContent *content) const |
| | Fill out the payload data.
|
| virtual void | sendMessageInteraction (const DtSimulationAddress &receiver, DtDataInteraction &data) |
| | Send the message interaction.
|
| virtual void | processSendVrfObjectDataMessage (DtDataInteraction *interaction) |
| | Send message if interaction is requesting the entity id we are publishing.
|
| static void | dataInteractionCallback (DtDataInteraction *i, void *usr) |
| | Used internally to see if a request is made of this object to send a vrf object update.
|
This class extends DtVrfEntityPublisher to support the publishing of VR-Forces state properties as extended attributes of the entity.