![]() |
VR-Forces 4.8 Class Documentation
|
This class extends DtVrfAggregatePublisher to support the publishing of VR-Forces state properties as extended attributes of the aggregate. More...

Public Member Functions | |
| DtVrfExtAggregatePublisher (const DtEntityType &type, DtExerciseConn *conn, DtVrfParameterDb *paramDb, const DtGlobalObjectDesignator &glId=DtVrfObjectIdGenerator::nullId(), const DtEntityIdentifier &entId=DtEntityIdentifier::nullId(), DtRwProperties *stateProps=0, DtRwProperties *paramProps=0) | |
| Constructor. More... | |
| virtual | ~DtVrfExtAggregatePublisher () |
| Destructor. More... | |
Public Member Functions inherited from DtVrfAggregatePublisher | |
| DtVrfAggregatePublisher (const DtEntityType &type, DtExerciseConn *conn, const DtGlobalObjectDesignator &glId=DtVrfObjectIdGenerator::nullId(), const DtEntityIdentifier &entId=DtEntityIdentifier::nullId(), DtRwProperties *stateProps=0, DtRwProperties *paramProps=0) | |
| Create a new instance of the VRF aggregate publisher which will, in turn, create the VR-Link aggregate publisher, given a object id (DIS) or name (HLA). More... | |
| DtVrfAggregatePublisher (const DtEntityType &type, DtExerciseConn *conn, const DtGlobalObjectDesignator &glId=DtVrfObjectIdGenerator::nullId(), const DtEntityIdentifier &entId=DtEntityIdentifier::nullId(), const DtRwProperties &stateProps=DtRwProperties::emptyProperties(), const DtRwProperties ¶mProps=DtRwProperties::emptyProperties()) | |
| Create a new instance of the VRF aggregate publisher which will, in turn, create the VR-Link aggregate publisher, given a object id (DIS) or name (HLA). More... | |
| virtual | ~DtVrfAggregatePublisher () |
| Destructor. Also destroys publisher. More... | |
| virtual void | addEntity (const DtBaseEntityStateRepository *) |
| Convenience routines to add/remove subordinates. More... | |
| virtual void | removeEntity (const DtBaseEntityStateRepository *) |
| virtual void | addAggregate (const DtBaseEntityStateRepository *) |
| virtual void | removeAggregate (const DtBaseEntityStateRepository *) |
| virtual void | tick () |
| Class method taken from publisher class for aggregates at VR-Link level. More... | |
| virtual DtAggPublisherDecoder * | decoder () |
| Returns a pointer to the Decoder being used to decode PDUs/updates that we send back into the asSeenByRemote state rep. More... | |
| virtual DtAggPublisherEncoder * | encoder () |
| Returns a pointer to the Encoder being used to encode current state into a PDU/update. More... | |
| DtStateRepository * | sr () |
| Returns the state repository. More... | |
| const DtString & | name () const |
| Returns the name of the object. More... | |
| virtual const DtObjectId & | id () const |
| Get the aggregate's identifier. More... | |
| virtual const DtObjectId & | localId () const |
| Get the aggregate's localId - same as id for DIS. More... | |
| virtual const DtGlobalObjectDesignator & | globalId () const |
| Get the global object designator - same as id for DIS. More... | |
| virtual void | forceUpdate () |
| Force a state update to be sent during the next call to tick, even if nothing would normally cause a send. More... | |
| virtual DtAggregatePublisher * | aggregatePublisher () |
| Returns a pointer to myPublisher (the VR-Link DtAggregatePublisher) More... | |
| virtual void | setSendVrfObjectDataRecord (bool shouldSend) |
| Sets whether a separate VrfObjectData record should be sent to convey additional VRF object information. More... | |
| virtual void | setExtendedData (const DtString &key, const DtString &value) |
| virtual void | clearExtendedData () |
| virtual void | removeExtendedData (const DtString &key) |
| virtual DtString | extendedData (const DtString &key) const |
| virtual DtExtAggregateStateRepository * | aggregateProcessStateRep () |
| virtual DtExtAggregateStateRepository * | aggregateStateRep () |
| virtual DtExtAggregateStateRepository * | agsr () |
Protected Attributes | |
| DtVrfParameterDb * | myParameterDb |
Protected Attributes inherited from DtVrfAggregatePublisher | |
| DtAggregatePublisher * | myPublisher |
| makVrfVrlinkExtToolkit::DtExtendedAttributesObjectPublisher * | myExtAttrPublisher |
Private Member Functions | |
| DtVrfExtAggregatePublisher (const DtVrfExtAggregatePublisher &) | |
| Unimplemented. More... | |
| DtVrfExtAggregatePublisher & | operator= (const DtVrfExtAggregatePublisher &) |
| Unimplemented. More... | |
Additional Inherited Members | |
Public Types inherited from DtVrfAggregatePublisher | |
| typedef DtAggregateStateRepository *(* | MyStateRepCreator )() |
Static Public Member Functions inherited from DtVrfAggregatePublisher | |
| static void | setInitializer (DtExtendedAttributesInitializerPtr init) |
| Sets the extended attributes initializer used by all publishers of this type. More... | |
| static DtExtendedAttributesInitializerPtr | initializer () |
| Returns the extended attributes initializer used by all publishers of this type. More... | |
| static void | setObjectClassChooser (DtObjectClassChooserPtr chooser) |
| Sets the object class chooser used by all publishers of this type. More... | |
| static DtObjectClassChooserPtr | objectClassChooser () |
| Returns the object class chooser used by all publishers of this type. More... | |
Protected Member Functions inherited from DtVrfAggregatePublisher | |
| DtVrfAggregatePublisher () | |
| Alternate constructor that performs no initialization. More... | |
| void | initialize (const DtEntityType &type, DtExerciseConn *conn, const DtGlobalObjectDesignator &glId, const DtEntityIdentifier &entId) |
| Called by the constructor to initialize the publisher. More... | |
| virtual void | sendFinalPdu () |
| When this object is destroyed (in DIS) sends out a "final" pdu that sets the appearance to have the DtFinalPduBitVal bit set. More... | |
Static Protected Attributes inherited from DtVrfAggregatePublisher | |
| static DtObjectClassChooserPtr | theObjectClassChooser |
| static DtExtendedAttributesInitializerPtr | theInitializer |
This class extends DtVrfAggregatePublisher to support the publishing of VR-Forces state properties as extended attributes of the aggregate.
| DtVrfExtAggregatePublisher::DtVrfExtAggregatePublisher | ( | const DtEntityType & | type, |
| DtExerciseConn * | conn, | ||
| DtVrfParameterDb * | paramDb, | ||
| const DtGlobalObjectDesignator & | glId = DtVrfObjectIdGenerator::nullId(), |
||
| const DtEntityIdentifier & | entId = DtEntityIdentifier::nullId(), |
||
| DtRwProperties * | stateProps = 0, |
||
| DtRwProperties * | paramProps = 0 |
||
| ) |
Constructor.
|
virtual |
Destructor.
|
private |
Unimplemented.
|
private |
Unimplemented.
|
protected |